/* ==========================================================================
   GNV GLOBAL FOOTER - ULTIMATE PRO LEVEL
   ========================================================================== */

.gnv-footer {
    width: 100vw;
    background-color: #080b12; /* Deep premium dark */
    padding: 100px 0 0 0;
    font-family: var(--font-body);
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

/* Subtle background top-edge glow effect */
.gnv-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 20%;
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gnv-green), transparent);
    opacity: 0.6;
}

.gnv-footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 80px;
}

/* Col 1: Brand */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    max-width: 160px;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    /* Put the logo on a subtle white pill for visibility */
    background-color: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-3px);
}

.footer-brand-divider {
    display: none; /* Hide old divider line */
}

.footer-brand-text {
    font-size: 1.05rem;
    color: #a0aec0;
    line-height: 1.6;
    font-weight: 400;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Col 2 & 3: Links */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 30px;
    margin-top: 0;
    letter-spacing: 0.5px;
}

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

.footer-menu li {
    margin-bottom: 16px;
}

.footer-menu a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 400;
    display: inline-block;
    position: relative;
}

.footer-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0%; height: 2px;
    background-color: var(--gnv-green);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-menu a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

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

/* Col 4: Social */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255,255,255,0.03);
    color: #ffffff;
    border-radius: 50%; /* Perfect circles */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.08);
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }

.social-icon:hover {
    background-color: var(--gnv-green);
    border-color: var(--gnv-green);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(140, 179, 63, 0.3); /* brand green shadow */
}

/* Col 5: Newsletter */
.footer-col-newsletter p {
    font-size: 0.95rem;
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 25px;
    margin-top: 0;
}

.newsletter-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.newsletter-input {
    width: 100%;
    padding: 16px 65px 16px 20px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    background-color: rgba(0,0,0,0.4) !important;
    font-size: 0.95rem !important;
    color: #ffffff !important;
    outline: none;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}
.newsletter-input::placeholder { color: #718096; }
.newsletter-input:focus { 
    border-color: var(--gnv-green); 
    background-color: rgba(255,255,255,0.03);
    box-shadow: 0 0 0 4px rgba(140, 179, 63, 0.1);
}

.newsletter-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    background-color: var(--gnv-green) !important;
    border: none !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.newsletter-submit svg {
    margin: 0 !important;
    display: block !important;
}
.newsletter-submit:hover { 
    background-color: #7a9d35; 
    transform: translateY(-50%) scale(1.08);
}

/* Bottom Bar */
.footer-bottom {
    background-color: #040608;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.03);
}
.footer-bottom p {
    color: #718096;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .gnv-footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 50px 30px;
    }
    .footer-col-brand { grid-column: span 3; }
    .footer-col-newsletter { grid-column: span 3; max-width: 500px; }
}

@media (max-width: 768px) {
    .gnv-footer { padding-top: 70px; }
    .gnv-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
    .footer-col-brand { grid-column: span 2; }
    .footer-col-newsletter { grid-column: span 2; max-width: 100%; }
}

@media (max-width: 480px) {
    .gnv-footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-col-brand, 
    .footer-col-links, 
    .footer-col-social, 
    .footer-col-newsletter { 
        grid-column: span 1; 
    }
}
