/* =============================================
   CUSTOM FOOTER CSS - NO BOOTSTRAP CONFLICTS
   ============================================= */

/* Footer Container */
.footer-area {
    background-color: #a92629;
    padding: 0;
}

.footer-area.chocolate-bg {
    background-color: #a92629;
}

/* Footer Logo Section */
.footer-5-logo {
    padding: 65px 0 68px 0;
}

.footer-5-logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-5-white-logo {
    flex: 0 0 auto;
}

.footer-5-white-logo img {
    max-width: 100%;
    width: 180px;
    height: auto;
    display: block;
}

.footer-5-support {
    flex: 0 0 auto;
    text-align: right;
}

.footer-5-support span {
    font-size: 24px;
    line-height: 1.5;
    color: var(--tp-common-white);
    font-family: var(--tp-ff-heading);

}

.footer-5-support span a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-5-support span a:hover {
    color: #ffd700;
}

.footer-5-container {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-5-border {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 85px;
}

/* 4-Column Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 0px;
}

.footer-widget {
    margin-bottom: 55px;
    animation: fadeInUp 1s ease-out;
}

.footer-widget:nth-child(1) {
    animation-delay: 0.2s;
}

.footer-widget:nth-child(2) {
    animation-delay: 0.4s;
}

.footer-widget:nth-child(3) {
    animation-delay: 0.6s;
}

.footer-widget:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Title */
.footer-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 24px;
    display: inline-block;
}

.footer-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-title a:hover {
    color: #ffd700;
}

.footer-title i {
    font-size: 16px;
}

/* Footer Sub-Title */
.footer-sub-title {
    color: var(--tp-common-white);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 14px;
    display: inline-block;
}

.footer-sub-title a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-sub-title a:hover {
    color: #ffffff;
}

.footer-sub-title i {
    font-size: 14px;
}

/* Footer Link List */
.footer-link {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-link li a {
    font-size: 18px;
    line-height: 1;
    color: var(--tp-text-body);
    display: inline-block;
    position: relative;
}

.footer-link li a::before {
    position: absolute;
    content: "";
    width: 0;
    height: 1px;
    background: #ffffff;
    left: auto;
    right: 0;
    bottom: -1px;
    opacity: 0;
    transition: all 0.3s linear;
}

.footer-link li a:hover {
    color: rgba(255, 255, 255, 1);
}

.footer-link li a:hover::before {
    opacity: 1;
    width: 100%;
    left: 0;
    right: auto;
    transition: all 0.2s linear;
}

/* Footer Info */
.footer-info {
    margin-bottom: 15px;
}

.footer-info p {
    font-size: 18px;
    line-height: 1.5;
}

.footer-info p strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-info p br {
    display: block;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-links a {
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d14548;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff;
    color: #d14548;
    transform: translateY(-3px);
}

/* Google Review Link */
.google-review-link {
    display: flex !important;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    text-decoration: none;
}

.google-review-link img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.google-review-link:hover img {
    transform: scale(1.05);
}

/* Quick Links Section */
.footer-quick-links-wrapper {
    grid-column: 1 / -1;
    text-align: center;
}

.footer-5-quick-links {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    position: relative;
}

.footer-5-quick-links::before {
    position: absolute;
    content: "";
    background-color: rgba(255, 255, 255, 0.1);
    width: 44%;
    height: 1px;
    left: 0;
    top: 48%;
}

.footer-5-quick-links::after {
    position: absolute;
    content: "";
    background-color: rgba(255, 255, 255, 0.1);
    width: 44%;
    height: 1px;
    right: 0;
    top: 48%;
}

.footer-5-navigation {
    margin: 0 auto 14px;
    list-style-type: none;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.footer-5-navigation li {
    padding: 0 12px;
}

.footer-5-navigation li a {
    line-height: 1;
    color: rgba(255, 255, 255, 0.75);
    display: inline-block;
    position: relative;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-5-navigation li a:hover {
    color: rgba(255, 255, 255, 1);
}

.footer-5-navigation li a::before {
    position: absolute;
    content: "";
    width: 0;
    height: 1px;
    background: #ffffff;
    left: auto;
    right: 0;
    bottom: -1px;
    opacity: 0;
    transition: all 0.3s linear;
}

.footer-5-navigation li a:hover::before {
    opacity: 1;
    width: 100%;
    left: 0;
    right: auto;
    transition: all 0.2s linear;
}

/* Footer Bottom Section */
.footer-bottom-5 {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-5-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-copyright {
    text-align: center;
    margin: 0 0 0px 0;
}

.footer-copyright span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-credits {
    font-size: 10px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.25);
    display: block;
    padding: 0 0 22px;
    text-align: center;
}

.footer-credits i {
    margin: 0 4px;
}

.footer-credits a {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: underline 1px dotted rgba(255, 255, 255, 0.25);
    transition: color 200ms ease-in-out;
}

.footer-credits a:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   TABLET RESPONSIVE (768px - 991px)
   ========================================== */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-5-logo-row {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .footer-5-white-logo {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-5-support {
        width: 100%;
        text-align: center;
    }

    .footer-5-support span {
        font-size: 18px;
    }

    .footer-5-border {
        padding: 60px 0;
    }
}

/* ==========================================
   MOBILE RESPONSIVE (max 767px)
   ========================================== */
@media (max-width: 767px) {
    .footer-area {
        padding: 0;
    }

    .footer-5-logo {
        padding: 40px 0 30px 0;
    }

    .footer-5-logo-row {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .footer-5-white-logo {
        width: 100%;
        text-align: center;
    }

    .footer-5-white-logo img {
        width: 140px;
    }

    .footer-5-support {
        width: 100%;
        text-align: center;
    }

    .footer-5-support span {
        font-size: 16px;
    }

    .footer-5-container {
        padding: 0 15px;
    }

    .footer-top-5 {
        padding: 40px 0;
    }

    .footer-5-border {
        padding: 40px 0;
        border-top: none;
        border-bottom: none;
    }

    /* Single Column Grid */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-widget {
        margin-bottom: 30px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-link li a {
        font-size: 13px;
    }

    .footer-info p {
        font-size: 13px;
        line-height: 1.6;
    }

    .social-links {
        justify-content: center;
    }

    .google-review-link {
        margin-top: 15px;
    }

    .footer-quick-links-wrapper {
        margin-top: 20px;
        padding-top: 20px;
    }

    .footer-5-quick-links {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .footer-5-quick-links::before,
    .footer-5-quick-links::after {
        display: none;
    }

    .footer-5-navigation {
        flex-direction: column;
        gap: 5px;
    }

    .footer-5-navigation li {
        padding: 0;
    }

    .footer-5-navigation li a {
        font-size: 14px;
    }

    .footer-bottom-5 {
        padding: 20px 0;
    }

    .footer-bottom-5-container {
        padding: 0 15px;
    }

    .footer-copyright span,
    .footer-credits {
        font-size: 12px;
    }
}
