/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-1{
    grid-area: footer-1;
}
.footer-2{
    grid-area: footer-2;
}
.footer-3{
    grid-area: footer-3;
}

.footer-content {
    display: grid;
    grid-template-areas: "footer-1 footer-2 footer-3";
    gap: 2rem;
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-areas: "footer-1 footer-2" " footer-3 footer-3";
        margin-bottom: 0 !important;
    }
    .footer-section h3{
        font-size: 1rem;
        color: var(--warning);
    }
    .footer-section a{
        font-size: .75rem;
        margin-bottom: 0rem !important;
    }
}

.footer-section h3 {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-section p a {
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    opacity: 0.9;
    color: var(--warning);
    cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-section i {
    color: var(--warning);
    margin-right: 0.5rem;
}

.footer-section i:hover {
    color: var(--accent-color);
    cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.footer-section p i,
.footer-section p a {
    display: inline-flex;
    white-space: nowrap;
}

.footer-section p {
    color: var(--white);
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.8rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

.footer-section a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--warning);
    transition: width 0.3s;
}

.footer-section a:hover::after {
    width: 20%;
    cursor: url(https://ani.cursors-4u.net/others/oth-9/oth837.cur), pointer;
}

/* Responsive styles */
@media (max-width: 768px) {

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .social-links {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-links a {
        margin-bottom: 1rem;
        margin-right: 0;
        align-items: center;
    }

    .footer-bottom p{
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .social-links a {
        font-size: 1.2rem;
    }
}