/**
 * Footer Styles - 1:1 Design Match
 *
 * @package Ivanchovandpartners
 */

/* =============================================
   Site Footer
   ============================================= */
.site-footer {
    background-color: #f8fafc;
    background-size: cover;
    background-position: center;
    color: #0f172a;
}

.site-footer .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

/* =============================================
   Footer Main
   ============================================= */
.footer-main {
    padding: 60px 128px 40px;
}

@media (max-width: 1199px) {
    .footer-main {
        padding: 60px 64px 40px;
    }
}

@media (max-width: 991px) {
    .footer-main {
        padding: 60px 32px 40px;
    }
}

@media (max-width: 767px) {
    .footer-main {
        padding: 40px 16px 30px;
    }

    .footer-cta-tagline,
    .footer-cta-headline {
        font-size: 28px;
    }

    .footer-col-title {
        font-size: 20px;
    }

    .footer-link,
    .footer-contact-item,
    .footer-contact-label,
    .footer-cta-text,
    .footer-cta-btn {
        font-size: 16px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
    gap: 40px;
}

/* Footer Column */
.footer-col {
    min-width: 0;
}

.footer-col-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
}

/* =============================================
   Footer CTA Column (Work With Us)
   ============================================= */
.footer-cta {
    padding-right: 20px;
}

.footer-cta-tagline {
    display: block;
    font-size: 36px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0;
}

.footer-cta-headline {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.footer-cta-text {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: #2563eb;
    border: 1.5px solid #2563eb;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition-base);
}

.footer-cta-btn:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.footer-cta-btn .icon {
    width: 14px;
    height: 14px;
}

/* =============================================
   Footer Links
   ============================================= */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: #475569;
    font-size: 16px;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-link:hover {
    color: #2563eb;
    padding-left: 4px;
}

/* =============================================
   Footer Contact
   ============================================= */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #0f172a;
    font-size: 16px;
}

.footer-contact-item .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #2563eb;
    margin-top: 3px;
}

.footer-contact-item a {
    color: #0f172a;
    transition: color var(--transition-fast);
}

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

.footer-contact-item span {
    display: block;
}

.footer-contact-label {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 3px;
}

/* Footer Location */
.footer-location {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
}

.footer-location .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #2563eb;
    margin-top: 3px;
}

.footer-location-text {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
}

/* =============================================
   Footer Bottom / Copyright
   ============================================= */
.footer-bottom {
    padding: 25px 128px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 1199px) {
    .footer-bottom {
        padding: 25px 64px;
    }
}

@media (max-width: 991px) {
    .footer-bottom {
        padding: 25px 32px;
    }
}

@media (max-width: 767px) {
    .footer-bottom {
        padding: 20px 16px;
    }
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: #475569;
    font-size: 16px;
}

.footer-credits {
    color: #475569;
    font-size: 16px;
}

.footer-credits a {
    color: #0f172a;
    transition: color var(--transition-fast);
}

.footer-credits a:hover {
    color: #2563eb;
}

/* Footer Bottom Links */
.footer-bottom-nav {
    margin-left: auto;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links li a {
    color: #475569;
    font-size: 16px;
    transition: color var(--transition-fast);
}

.footer-bottom-links li a:hover {
    color: #2563eb;
}

/* =============================================
   Scroll to Top Button
   ============================================= */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    cursor: pointer;
}

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

.scroll-to-top:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
}

.scroll-to-top .icon {
    width: 20px;
    height: 20px;
}
