/* 
* Footer Styles
*/

.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: relative;
}

/* Footer Top */
.footer-top {
    padding: 8rem 0 5rem;
}

.footer-content {
    gap: 4rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 5rem;
    width: auto;
}

.footer-description {
    font-size: 1.5rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.footer-social-link {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Footer Links */
.footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 0.3rem;
    background-color: var(--secondary-color);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-link {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1.5rem;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.6rem;
    height: 0.6rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--secondary-color);
}

.footer-link:hover::before {
    background-color: var(--secondary-color);
}

/* Footer Contact */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    font-size: 1.5rem;
    opacity: 0.8;
}

.footer-contact-item i {
    margin-right: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

/* Newsletter */
.newsletter-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 1.2rem 5rem 1.2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-light);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 5rem;
    background-color: var(--primary-color);
    border-radius: 0 0.5rem 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* Footer Bottom */
.footer-bottom {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    font-size: 1.5rem;
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-link {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-bottom-link:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* Media Queries */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-info {
        grid-column: span 3;
    }
}

/* Contact Info Styles */
.footer-contact-info {
    margin-top: 2.5rem;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-contact-info p i {
    color: var(--secondary-color);
    width: 2rem;
    text-align: center;
}

.footer-contact-info p:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-links-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-links-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 5rem 0 3rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 2rem;
        right: 2rem;
        width: 4.5rem;
        height: 4.5rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}
