/* Features: Fully Responsive Grid, Box-Sizing Fix, Smooth Button Animation */

.site-footer * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.site-footer {
    background-color: #0a0a0a;
    color: #999;
    padding: 80px 0 30px;
    border-top: 1px solid #1a1a1a;
    font-family: sans-serif;
}

.footer-container {
    display: grid;
    /* This auto-fit makes it perfectly responsive on all screens */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col h3, .footer-col h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #222;
}

.social-link:hover {
    background: #007bff;
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Links List */
.links-col ul {
    list-style: none;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.links-col ul li a:hover {
    color: #007bff;
    transform: translateX(5px);
}

/* Newsletter Form */
.newsletter-form {
    margin-bottom: 20px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background: #111;
    border: 1px solid #222;
    color: #fff;
    border-radius: 6px;
    margin-bottom: 15px;
    outline: none;
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    border-color: #007bff;
}

/* --- FIXED MODERN ANIMATED BUTTON --- */
.animated-btn-wrapper {
    position: relative;
    width: 100%;
    max-width: 150px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111; /* Fallback */
}

.animated-btn-wrapper::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(transparent, transparent, transparent, #007bff);
    animation: rotateBorder 2.5s linear infinite;
}

.btn-modern {
    position: absolute;
    inset: 2px; /* Adds 2px border inside */
    background: #0a0a0a;
    color: white;
    border: none;
    border-radius: 4px;
    z-index: 2;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.btn-modern:hover {
    background: #111;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Info Text */
.footer-contact-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info i {
    color: #007bff;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    font-size: 0.85rem;
}