/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.footer-top {
    padding: 50px 0 30px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

#left-most {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

#logo-desc {
    margin: 15px 0;
    line-height: 1.5;
    font-size: 15px;
}

#logo-div {
    margin-bottom: 15px;
}

#footer-img {
    min-height: 100px;
    max-height: 110px;
    width: auto;
}

#social-link {
    display: flex;
    margin-top: 15px;
}

.social-links {
    display: flex;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--text-white);
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter {
    position: relative;
    margin-top: 20px;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: none;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-family: var(--font-secondary);
}

.footer-newsletter button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Media queries for better responsiveness */
@media (max-width: 992px) {
    .footer-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 20px;
    }
    
    .footer-row {
        grid-template-columns: 1fr 1fr;
    }
    
    #left-most {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
    
    #logo-div {
        text-align: center;
    }
    
    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    #social-link {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-row {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        text-align: center;
        margin-bottom: 30px;
    }
    
    #footer-img {
        min-height: 100px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}