/* Footer */

.footer {
    padding: 0px 48px;
}

/* footer section1  */

.footer-section1 {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.footer-column {
    flex: 1 0 0;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column h3 i {
    display: none;
    transition: transform 0.3s ease;
}

.footer-column:last-child i {
    display: inline-block;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    overflow: hidden;
}

.footer-column li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-column a {
    text-decoration: none;
    color: #505050;
}

.footer-column a:hover {
    color: #000;
}
.footer-column:last-child {
    color: #444444;
    text-align: right;
}

.footer-column .bx-globe {
    margin-right: 5px;
}

/* footer section 2 */

.footer-section2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    margin: 75px 0px 60px 0px;
}

.footer-section2 span {
    margin-right: 40px;
    font-size: 16px;
}

.footer-section2 a {
    text-decoration: none;
    color: #505050;
    font-size: 16px;
    position: relative;
}

.footer-section2 .bxs-chevron-down {
    font-size: 18px;
    color: #505050;
}

.footer-section2 a:hover {
    color: #000;
}


/* Guides dropdown */

.guides-dropdown {
    position: relative;
    display: inline-block;
}

.guides-content {
    display: none;
    position: absolute;
    bottom: 100%;
    left: -70%;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgb(201, 201, 201);
    border-radius: 12px;
    padding: 8px 8px;
    z-index: 1;
}

.guides-dropdown:hover .guides-content {
    display: block;
}

.guides-content a {
    display: block;
    padding: 6px 16px;
    color: #505050;
    text-decoration: none;
    font-size: 15px;
}

.guides-content a:hover {
    background-color: #d8d8d8;
    color: #000;
    border-radius: 4px;
}

.guides-dropdown:hover .bxs-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Media Query for screens <= 960px */
@media screen and (max-width: 960px) {
    .footer {
        padding: 0px 24px;
    }

    .footer-section1 {
        flex-direction: column;
        gap: 15px;
    }

    .footer-column {
        border-bottom: 1px solid #d8d8d8;
    }

    .footer-column h3:not(:last-child) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-column h3 i {
        display: block;
    }

    .footer-column ul {
        display: block;
        max-height: 0;
        opacity: 0;
    }

    .footer-column.active ul {
        max-height: 1000px;
        opacity: 1;
    }

    .footer-column li {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .footer-column:last-child {
        text-align: left;
    }

    /* footer section 2 */
    .footer-section2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin: 40px 0px 100px 0px;
    }

    .footer-section2 span {
        margin-right: 0;
        width: 100%;
        font-size: 16px;
    }

    .guides-content {
        left: 0;
        width: 200px;
    }

    .footer-section2 a {
        font-size: 15px;
    }
}