/* Base Footer Styling */
.footer {
    background-color: #111;
    color: #eee;
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #00bcd4;
}

.footer h2,
.footer h3 {
    margin-bottom: 10px;
    color: #fff;
}

.footer p,
.footer li {
    font-size: 14px;
    line-height: 1.6;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Brand Section */
.footer-brand span {
    color: red;
    font-weight: bold;
}

/* Links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

/* Social Icons */
.footer-social a {
    font-size: 20px;
    margin-right: 10px;
    color: #ccc;
}

.footer-social a:hover {
    color: #00bcd4;
}

/* Subscribe Section */
.footer-subscribe input[type="email"] {
    padding: 10px;
    width: 100%;
    max-width: 250px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
}

.footer-subscribe button {
    padding: 10px 15px;
    background-color: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.footer-subscribe button:hover {
    background-color: #0097a7;
}

/* Bottom Line */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    border-top: 1px solid #333;
    padding-top: 15px;
    color: #aaa;
}
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #4f46e5;
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
}
/* Dark mode support (optional if using body.dark class) */
body.dark .footer {
    background-color: #1c1c1c;
    color: #eee;
}

body.dark .footer a:hover {
    color: #66eaff;
}
