:root {
  --background-color: #ffffff;
  --font-color: #0e0d0d;
  --hover-color: #ff5c05;
  --navborder-color: #ea0303;
  --seconadry-color: #3ec8ff;
  --font2-color: #006ac0;
  --font3-color: #002d5b;
}


.footer {
    background: rgb(236, 236, 236) !important;
    color: white !important;
    padding: 50px 20px;
    font-size: 16px;
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

/* .footer-left {
    flex: 1;
    max-width: 300px;
    text-align: left;
}

.footer-left h2 {
    font-size: 20px;
    color: var(--font2-color);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: bold;
}

.footer-logo {
    width: 180px;
} */
.footer-left h2 {
    font-size: 20px;
    color: var(--font2-color);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: bold;
}

.footer-left {
    flex: 1 1 15% !important;
    margin-bottom: 20px;
}

.footer-logo {
    height: auto;
    width: 50%;
    display: inline-block;
}

.footer-left p {
    font-size: 16px;
    color: var(--font-color);
    margin-top: 10px;
    font-weight: 600;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a img {
    width: 20px;
    height: auto;
    transition: transform 0.5s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}

/* Footer Center & Right (Company & Services) */
.footer-center,
.footer-right,
.footer-help,
.footer-payment {
    flex: 1;
    text-align: left;
    min-width: 150px !important;
}

.footer-center h2,
.footer-right h2,
.footer-help h2,
.footer-payment h2 {
    font-size: 18px;
    color: #002d5b;
    /* border-bottom: 2px solid var(--font2-color); */
    display: inline-block;
    padding-bottom: 5px;
    font-weight: bold;
}

.footer-center ul,
.footer-right ul,
.footer-help ul {
    list-style: none;
    padding: 0;
}

.footer-center ul li,
.footer-right ul li,
.footer-help ul li {
    margin: 5px 0;
}

.footer-center ul li a,
.footer-right ul li a,
.footer-help ul li a {
    color: #002d5b;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-center ul li a:hover,
.footer-right ul li a:hover,
.footer-help ul li a:hover {
    color: var(--font2-color);
}

.payment-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 10px;
    justify-items: center;
}

.payment-logos img {
    width: auto;
    height: 45px;
    object-fit: contain;
    padding: 8px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.payment-logos img:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .payment-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .payment-logos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1113px) and (min-width: 769px) {
    .payment-logos {
        display: flex !important;
        margin-top: 5px !important;
        gap: 10px !important;
    }
}

/* Footer Bottom */
.footer-bottom {
    color: var(--font2-color);
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #333;
    padding-top: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-container {
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: center;
    }

    .footer-left {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .footer-center,
    .footer-right,
    .footer-help {
        flex: 1 1 20% !important;
        max-width: 20% !important;
        min-width: 0 !important;
    }

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

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-left,
    .footer-center,
    .footer-right,
    .footer-help,
    .footer-payment {
        width: 100%;
    }

    .footer-logo {
        margin: 10px auto;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-center ul,
    .footer-right ul,
    .footer-help ul {
        padding: 0;
        text-align: center;
    }

    .footer-center,
    .footer-right,
    .footer-help {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: 200px !important;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 10px;
    }

    .footer-left h2,
    .footer-center h2,
    .footer-right h2,
    .footer-help h2 {
        font-size: 16px;
    }

    .footer-center ul li a,
    .footer-right ul li a,
    .footer-help ul li a {
        font-size: 14px;
    }

    .footer-logo {
        width: 100px;
    }

    .social-icons img {
        width: 28px;
    }

    .payment-logos img {
        width: 40px;
    }
}

@media (max-width: 768px) {

    .footer-center ul,
    .footer-right ul,
    .footer-help ul {
        display: none;
        /* Hide lists initially */
    }

    .footer-center h2,
    .footer-right h2,
    .footer-help h2 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        font-weight: bold;
        color: #002d5b;
        /* Adjust color */
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
    }

    .toggle-icon {
        font-size: 18px;
        font-weight: bold;
        transition: transform 0.3s ease;
        display: inline-block;
    }
}

/* Hide the "+" symbol on larger screens */
@media (min-width: 769px) {
    .toggle-icon {
        display: none;
    }

    .footer-center ul,
    .footer-right ul,
    .footer-help ul {
        display: block;
    }
}

/* logo */
@media (max-width: 768px) {
    .footer-left {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }

    .footer-left h2 {
        font-size: 18px;
    }

    .footer-logo {
        width: 140px;
    }
}

/* for tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        padding: 20px;
    }

    .footer-sections {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }

    .footer-center,
    .footer-right,
    .footer-help {
        flex: 1 1 calc(33.33% - 20px);
        max-width: 33.33%;
        text-align: left;
    }

    .footer-payment {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    .payment-logos {
        display: flex;
        gap: 10px;
        margin-top: 5px;
    }

    .payment-logos img {
        width: 50px;
        transition: transform 0.3s ease;
    }

    .payment-logos img:hover {
        transform: scale(1.1);
    }
}

@media (max-width: 1204px) and (min-width: 1025px) {
    .footer-payment {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    .payment-logos {
        display: flex;
        gap: 10px;
        margin-top: 5px;
    }

    .payment-logos img {
        width: 50px;
        transition: transform 0.3s ease;
    }

    .payment-logos img:hover {
        transform: scale(1.1);
    }
}

/* phone */
@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .footer-sections {
        width: 100%;
    }

    .footer-center,
    .footer-right,
    .footer-help {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }

    .footer-center h2,
    .footer-right h2,
    .footer-help h2 {
        font-size: 16px;
        font-weight: bold;
        color: #002d5b;
        padding: 8px 0;
        border-bottom: 1px solid #ccc;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5px;
    }

    .footer-center ul,
    .footer-right ul,
    .footer-help ul {
        display: none;
        list-style: none;
        padding-left: 0;
        margin-top: 5px;
    }

    .footer-center.active ul,
    .footer-right.active ul,
    .footer-help.active ul {
        display: block;
    }

    .footer-payment {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    .payment-logos {
        display: flex;
        gap: 10px;
    }

    .payment-logos img {
        width: 50px;
        transition: transform 0.3s ease;
    }

    .payment-logos img:hover {
        transform: scale(1.1);
    }
}

@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

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