footer {
    background-color: #191a1c;
    color: #a1a8b3;
    padding: 50px 20px 30px;
    font-size: 14px;
    line-height: 1.6;
    user-select: none;
}

footer a {
    color: #a1a8b3;
    text-decoration: none;
    transition: color 0.25s ease;
    font-weight: 500;
}

footer a:hover {
    color: #e0b74b;
    text-decoration: underline;
}

/* Logo */
.footer-logo {
    font-weight: 700;
    font-size: 20px;
    color: #4e8cff;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    margin-right: 8px;
    filter: drop-shadow(0 0 2px #4e8cff);
}

/* Heading */
footer h5 {
    font-weight: 600;
    color: #e0b74b;
    letter-spacing: 0.15em;
    font-size: 14px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Paragraphs */
footer p {
    font-size: 14px;
    color: #a1a8b3;
    margin-bottom: 1.3rem;
}

/* Contact Info with icons */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 0.8rem;
    color: #a1a8b3;
}

.contact-info p i {
    color: #e0b74b;
    min-width: 20px;
    font-size: 16px;
}

/* Social Icons */
.footer-social-icons {
    display: flex;
    gap: 14px;
    margin-top: 1rem;
}

.footer-social-icons a {
    background-color: #1f2739;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #a1a8b3;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 4px rgba(224, 183, 75, 0.15);
}

.footer-social-icons a:hover {
    background-color: #e0b74b;
    color: #191a1c;
    box-shadow: 0 4px 10px rgba(224, 183, 75, 0.6);
}

/* Newsletter Form */
.newsletter p {
    color: #a1a8b3;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    max-width: 320px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.15);
    background-color: #1f2739;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 10px 14px;
    font-size: 14px;
    border: none;
    background: transparent;
    color: #dcdcdc;
    outline: none;
    font-weight: 500;
}

.newsletter-form input::placeholder {
    color: #717c94;
    font-weight: 400;
}

.newsletter-form button {
    background-color: #e0b74b;
    border: none;
    padding: 0 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button i {
    color: #191a1c;
    font-size: 18px;
}

.newsletter-form button:hover {
    background-color: #c49c34;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #2c2f3a;
    padding-top: 20px;
    margin-top: 40px;
    color: #777f99;
    font-size: 13px;
    text-align: center;
    user-select: none;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    margin: 0 10px;
    font-weight: 500;
    color: #777f99;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e0b74b;
    text-decoration: underline;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #e0b74b;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: #191a1c;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(224, 183, 75, 0.5);
    user-select: none;
}

.scroll-top:hover {
    background-color: #c49c34;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    footer {
        padding: 40px 20px 25px;
        font-size: 13px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .contact-info p {
        justify-content: center;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .newsletter p {
        text-align: center;
    }
}

@media (max-width: 576px) {
    footer {
        font-size: 12px;
        padding: 30px 15px 20px;
    }

    .footer-logo {
        font-size: 18px;
        justify-content: center;
    }

    .footer-social-icons a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .scroll-top {
        width: 38px;
        height: 38px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}