/* =========================
   CSS Variables for Footer
========================= */
:root {
    --footer-bg: #0ea5e9;
    --footer-text: #ffffff;
    --footer-text-secondary: rgba(255, 255, 255, 0.7);
    --footer-hover: #ff5a3c;
    --footer-button: #ff5a3c;
    --footer-button-hover: #e04e33;
    --footer-border: rgba(255, 255, 255, 0.2);
    --footer-radius: 20px;
}

/* =========================
   Footer Styles
========================= */
.footer {
    background-color: var(--footer-bg);
    padding: 50px 30px;
    border-radius: var(--footer-radius);
    color: var(--footer-text);
    margin: 40px 40px 40px;
}

/* Footer Top */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--footer-border);
    padding-bottom: 30px;
    margin-bottom: 30px;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: var(--footer-border);
}

/* Left & Right Sections */
.footer-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 70px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Footer Headings */
.footer-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Social Links */
.footer-social a {
    color: var(--footer-text);
    margin-right: 15px;
    font-size: 18px;
    transition: 0.3s;
}

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

/* Footer Right Text */
.footer-right p {
    font-size: 15px;
    color: var(--footer-text-secondary);
    margin-bottom: 10px;
    max-width: 88%;
    text-align: right;
}

/* Newsletter Box */
.newsletter-box {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px;
}

.newsletter-box input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: var(--footer-text);
}

.newsletter-box input::placeholder {
    color: var(--footer-text);
}

.newsletter-box button {
    background: var(--footer-button);
    border: none;
    color: var(--footer-text);
    padding: 0 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.newsletter-box button:hover {
    background: var(--footer-button-hover);
}

/* Footer Middle & Columns */
.footer-middle {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.map-box {
    width: 180px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.footer-col {
    min-width: 150px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px !important;
}

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

.footer-col ul li {
    margin-bottom: 10px !important;
}

.footer-col ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--footer-hover);
}

/* Icon Titles */
.footer-icon-title {
    margin-bottom: 10px !important;
}

.footer-icon-title a {
    color: var(--footer-text);
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 20px;
    font-size: 14px;
}

.footer-payment {
    text-align: end;
}

.footer-payment img {
    height: 20px;
    margin-left: 15px;
}

/* =========================
   Responsive Footer
========================= */

/* Tablet: ≤991px */
@media (max-width: 991px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top::before {
        display: none;
    }

    .footer-left {
        padding-right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-right {
        align-items: flex-start;
        text-align: left;
    }

    .newsletter-box {
        width: 100%;
    }

    .footer-middle {
        flex-direction: column;
        gap: 20px;
    }

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

    .footer-payment {
        text-align: center;
    }
}

/* Mobile: ≤575px */
@media (max-width: 575px) {
    .footer {
        padding: 30px 20px;
        margin: 60px 20px 20px;
    }

    .footer-heading {
        font-size: 20px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .newsletter-box input {
        font-size: 13px;
    }

    .newsletter-box button {
        padding: 0 15px;
    }

    .footer-col {
        min-width: 100%;
    }

    .footer-payment img {
        height: 18px;
        margin-left: 10px;
    }
}
