.footer {
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: #fff;
    padding: 80px 0 0;
    position: relative;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer .row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer .logo {
    height: 45px;
    margin-bottom: 25px;
}

.footer h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background: #3498db;
}

.footer p {
    color: #ecf0f1;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-nav {
    padding: 0;
    margin: 0;
}

.footer-nav li {
    list-style: none;
    margin-bottom: 15px;
}

.footer-nav li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav li a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline from social icons */
}

.social-icons a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.get-intouch form {
    display: flex;
    margin-bottom: 30px;
}

.get-intouch input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px 0 0 4px;
    color: #fff;
    font-size: 14px;
}

.get-intouch button {
    padding: 12px 25px;
    background: #3498db;
    border: none;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.get-intouch button:hover {
    background: #2980b9;
}

.payment-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: flex-end;
}

.payment-methods img {
    width: 50px; /* Set fixed width */
    height: 30px; /* Set fixed height */
    object-fit: contain; /* Maintain aspect ratio without distortion */
    /*filter: brightness(0) invert(1); */
    opacity: 0.9;
    transition: all 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    margin-top: 60px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px; /* Add padding to keep content away from edges */
}

.footer-bottom .copyright {
    flex: 0 0 auto; /* Prevent copyright from growing */
}

.footer-bottom .links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto; /* Push to right */
}

.footer-bottom p,
.footer-bottom .links a {
    color: #ecf0f1;
    margin: 0;
    font-size: 14px;
}

.footer-bottom .links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .links a:hover {
    color: #3498db;
}

/* Mobile First Media Queries - Apply to both mobile and tablet */
@media (max-width: 1080px) {
    .footer {
        padding: 50px 0 0;
    }

    .footer .container {
        padding: 0 20px;
    }

    .footer .row {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer .logo {
        height: 40px;
        margin-bottom: 20px;
    }

    .footer h4 {
        font-size: 1.1rem;
        margin-bottom: 22px;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-nav li {
        margin-bottom: 12px;
    }

    .footer-nav li a {
        font-size: 0.95rem;
    }

    .social-icons {
        justify-content: center;
    }

    .get-intouch form {
        max-width: 300px;
        margin: 0 auto 30px;
    }

    .payment-methods {
        justify-content: center;
        gap: 12px;
    }

    .payment-methods img {
        width: 45px;
        height: 28px;
    }

    .footer-bottom {
        margin-top: 40px;
        padding: 20px 0;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }

    .footer-bottom .links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-left: 0;
    }

    .footer-bottom p,
    .footer-bottom .links a {
        font-size: 0.9rem;
    }
}

/* Desktop Layout */
@media (min-width: 1081px) {
    .footer .row {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}