/* Footer */
.main-footer {
    background: var(--bg-dark);
    color: var(--light-text);
    padding: 60px 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-col.contact-info-col p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-col.contact-info-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-col.contact-info-col a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom:last-child{
    padding: 40px 0 20px;
}

.footer-bottom p{
    margin: 0;
}

.dev-link{
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.dev-link:hover{
    color:rgb(80, 97, 227);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .quick-links-grid,
    .achievements-grid,
    .footer-grid {
        grid-template-columns: 1fr; /* Stack columns */
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
        max-width: 300px;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .newsletter-form .btn-subscribe {
        width: 100%;
        max-width: 300px;
        border-radius: 5px;
    }
}