/* FOOTER WIDGET CSS */
.footer {
    background-color: var(--deep-blue);
    color: white;
    padding: 100px 0 30px;
    border-top: 5px solid var(--sage-green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 70px;
}

.footer-brand h3 {
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.72);
    margin-bottom: 25px;
    font-size: 15px;
}

.social-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.social-links a,
.social-links .social-links__item {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.social-links a i,
.social-links a svg,
.social-links .social-links__item i,
.social-links .social-links__item svg {
    font-size: 15px;
    width: 15px;
    height: 15px;
    fill: #ffffff;
    color: #ffffff;
    pointer-events: none;
}

.social-links a:hover,
.social-links .social-links__item:hover {
    background: var(--sage-green);
    color: var(--deep-blue);
    transform: translateY(-3px);
}

.social-links a:hover i,
.social-links a:hover svg,
.social-links .social-links__item:hover i,
.social-links .social-links__item:hover svg {
    color: var(--deep-blue);
    fill: var(--deep-blue);
}

.footer-links h4,
.newsletter h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    color: white;
}

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

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

.footer-links ul li a {
    color: rgba(255,255,255,0.72);
    transition: 0.3s;
    font-size: 15px;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: var(--sage-green);
    padding-left: 5px;
}

.newsletter .form-group {
    display: flex;
    margin-top: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 40px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.1);
    align-items: center;
}

.newsletter input {
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: white;
    outline: none;
    width: 100%;
    flex: 1;
    min-width: 0;
}

.newsletter button {
    flex-shrink: 0;
    padding: 12px 30px;
    border: none;
    background-color: var(--sage-green);
    color: var(--deep-blue);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.newsletter button:hover {
    background-color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.72);
    font-size: 14px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 60px 0 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
        margin-bottom: 40px;
    }
    .footer-brand,
    .newsletter {
        grid-column: 1 / -1;
    }
    .footer-links h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .footer-links ul li {
        margin-bottom: 10px;
    }
    .footer-links ul li a {
        font-size: 14px;
    }
    .social-links {
        flex-wrap: wrap;
    }
    .newsletter .form-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 10px;
    }
    .newsletter button {
        width: 100%;
    }
}
