/* Footer Styles */
.site-footer {
    background-color: #1a1f2e;
    color: #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Footer Wave Divider */
.footer-wave-divider {
    position: relative;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.footer-wave-divider .shape-fill {
    fill: #ffffff;
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Main Section */
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

/* Footer Columns */
.footer-col {
    padding: 0 15px;
}

/* Footer About Section */
.footer-about .footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    max-width: 180px;
    height: auto;
    transition: opacity 0.3s ease;
}

.footer-about .footer-logo img:hover {
    opacity: 0.9;
}

.footer-about-text {
    color: #b3b9c9;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 15px;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Footer Titles */
.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #3b82f6;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: #b3b9c9;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 15px;
    font-size: 15px;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #3b82f6;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-menu a:hover::before {
    opacity: 1;
    left: -5px;
}

/* Footer Contact Info */
.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #b3b9c9;
    line-height: 1.6;
    font-size: 15px;
}

.footer-contact .contact-item i {
    color: #3b82f6;
    margin-right: 15px;
    margin-top: 3px;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.footer-contact .contact-item a {
    color: #b3b9c9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
    color: #fff;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post {
    display: block;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.recent-post:last-child {
    border-bottom: none;
}

.recent-post:hover {
    transform: translateX(5px);
}

.recent-post .post-title {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 5px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post:hover .post-title {
    color: #3b82f6;
}

.recent-post .post-date {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 13px;
    margin-top: 5px;
}

.recent-post .post-date i {
    margin-right: 5px;
    font-size: 12px;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #131722;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.footer-nav .footer-bottom-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.footer-nav .footer-bottom-menu a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav .footer-bottom-menu a:hover {
    color: #3b82f6;
}

.footer-credits {
    color: #6b7280;
    font-size: 14px;
}

.footer-credits i {
    color: #ef4444;
    margin: 0 3px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.back-to-top i {
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-nav .footer-bottom-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}
