/*=========================
    FOOTER
==========================*/

.footer {
    background: var(--hover-color);
    color: var(--white);
    padding: 60px 8% 25px;
    overflow: hidden;
    max-width: 100%;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 45px;
}

.footer-col h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--gold-color);
}

/* Logo */

.footer-logo img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #d7e7df;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Social */

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: .35s;
}

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

/* Links */

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #d7e7df;
    text-decoration: none;
    transition: .3s;
}

.footer-col ul li a:hover {
    color: var(--gold-color);
    padding-left: 8px;
}

/* Contact */

.contact-list li {
    color: #d7e7df;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.7;
}

.contact-list i {
    color: var(--gold-color);
    margin-top: 5px;
}

/* Right Box */

.footer-box {
    background: rgba(255, 255, 255, .06);
    padding: 30px;
    border-radius: 18px;
}

.footer-box p {
    color: #d7e7df;
    margin-bottom: 25px;
}

.footer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: .3s;
}

.whatsapp-btn {
    background: var(--white);
    color: var(--text-color);
}

.whatsapp-btn:hover {
    background: #25D366;
    color: var(--white);
}

.quote-btn {
    background: var(--gold-color);
    color: var(--white);
}

.quote-btn:hover {
    background: #bf982f;
}

/* Bottom */

.footer-bottom {
    max-width: 1400px;
    margin: 30px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #d7e7df;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: #d7e7df;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--gold-color);
}

/* Responsive */

@media(max-width:1200px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:768px) {

    .footer {
        padding: 30px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

}

/* Floating Contact Buttons */

.floating-contact {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 9999;
    opacity: 0;
    animation:
        contactSlide 0.8s ease-out forwards,
        floatIcon 3.5s ease-in-out 0.8s infinite;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.float-btn i {
    transition: transform 0.3s ease;
}

/* Individual Button Colors & Glows */

.float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.float-btn.email {
    background: linear-gradient(135deg, #EA4335, #C5221F);
    box-shadow: 0 10px 25px rgba(234, 67, 53, 0.35);
}

.float-btn.phone {
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    box-shadow: 0 10px 25px rgba(13, 107, 83, 0.35);
}

/* Hover Effects */

.float-btn:hover {
    transform: scale(1.15);
}

.float-btn.whatsapp:hover {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.float-btn.email:hover {
    box-shadow: 0 15px 35px rgba(234, 67, 53, 0.5);
}

.float-btn.phone:hover {
    box-shadow: 0 15px 35px rgba(13, 107, 83, 0.5);
}

.float-btn:hover i {
    transform: scale(1.1) rotate(8deg);
}

/* Entrance & Floating Animations */

@keyframes contactSlide {
    0% {
        opacity: 0;
        transform: translate(120px, -50%);
    }

    60% {
        opacity: 1;
        transform: translate(-10px, -50%);
    }

    100% {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 12px));
    }
}

/* Responsive adjustment for small screens */
@media (max-width: 576px) {
    .floating-contact {
        right: 15px;
        gap: 14px;
    }

    .float-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}