.bottom-line:after,
.bottom-line:before {
    content: "";
    position: absolute;
    top: 0;
    width: 100vw
}

.office-location,
.partners-title {
    text-align: center
}

.footer-global * {
    font-family: "Open Sans", sans-serif !important
}

.footer-global .container {
    /* max-width: 1240px */
}

.footer-global {
    background-color: #1a1a1a;
    padding: 60px 20px 0;
    overflow: hidden
}

/* New Footer Styles */
.footer-top-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo img {
    width: 150px;
    height: auto;
    max-width: 100%;
}

.footer-tagline {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-contact-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item.social-connect {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.contact-details p {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
}

.social-connect h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #35A87F;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
}

.compliance-title {
    margin-top: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #b0b0b0;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.footer-links a:hover {
    color: #ffffff;
}

.compliance-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.compliance-logos img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: #f1f1f1f1;
    padding: 5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.compliance-logos img:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-top-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-links-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-global {
        padding: 40px 15px 15px;
    }
    
    .footer-top-section {
        gap: 40px;
    }
    
    .footer-links-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .compliance-logos {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
}

@media (max-width: 480px) {
    .footer-global {
        padding: 30px 10px 10px;
    }
    
    .footer-brand-section {
        gap: 20px;
    }
    
    .footer-column-title {
        font-size: 16px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
}

/* Footer Bottom Copyright */
.footer-bottom-copyright {
    margin-top: 50px;
    /* padding-top: 30px; */
    border-top: 1px solid #333;
    text-align: center;
}

.copyright-text {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
    padding: 20px 0;
}

/* Old footer styles - commented out for new design
.bottom-line,
.bottom-line:after,
.bottom-line:before {
    background-color: #323232;
    height: 1px
}

.office-location-wrap {
    display: flex;
    gap: 35px;
    justify-content: space-between;
    padding-bottom: 50px;
    flex-direction: column
}
*/

/* Old footer styles - commented out for new design */
/*
.location-img {
    margin-bottom: 10px
}

.office-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
    line-height: 150%;
    font-weight: 400
}

.office-address,
.office-contact,
.phone-no {
    color: #8f8f8f;
    font-size: 16px;
    line-height: 150%
}

.office-address {
    margin-bottom: 16px
}

.phone-no:hover,
.social-list li a:hover,
.terms-policy a:hover {
    color: #fff;
    text-decoration: underline
}

.partners-section {
    padding-bottom: 30px
}

.partners-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.partners-block img {
    width: 90%
}

.bottom-line {
    display: none;
    width: 100%;
    position: relative
}

.bottom-line:before {
    left: 100%
}

.bottom-line:after {
    right: 100%
}

.partners-global {
    padding-bottom: 50px;
    border-top: 1px solid #323232;
    padding-top: 50px
}

.partners-title {
    color: #fff;
    font-size: 15px;
    line-height: 150%;
    margin-bottom: 30px;
    font-weight: 400
}

.footer-bottom {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: space-between
}

.copyright {
    color: #fff;
    font-size: 20px;
    line-height: 150%;
    margin-bottom: 10px
}

.all-right {
    color: #8f8f8f;
    font-size: 18px;
    margin: 10px 0
}

.terms-policy {
    display: flex;
    gap: 16px
}

.social-list li a,
.terms-policy a {
    color: #c9c9c9;
    font-size: 14px
}

.social-list {
    display: flex;
    gap: 17px
}

.white-spx {
    display: none
}
*/

@media only screen and (min-width:576px) {
    .partners-block img {
        width: 80%
    }

    .copyright-detail,
    .partners-global {
        text-align: center
    }

    .social-list,
    .terms-policy {
        justify-content: center
    }
}

@media only screen and (min-width:768px) {
    .office-location-wrap {
        flex-direction: row;
        flex-wrap: wrap
    }

    .office-location {
        width: 44%
    }

    .location-img {
        min-height: 113px;
        display: flex;
        justify-content: center;
        align-items: flex-end
    }
}

@media only screen and (min-width:992px) {
    .footer-global {
        padding: 50px 0
    }

    .office-location-wrap {
        flex-wrap: inherit;
        gap: 45px;
        padding-bottom: 80px
    }

    .office-location {
        width: 24%
    }

    .partners-section {
        padding-bottom: 55px
    }

    .footer-bottom,
    .partners-block {
        flex-direction: row;
        gap: 30px
    }

    .partners-global {
        width: 49%;
        border: none;
        padding: 0 0 50px
    }

    .partners-block img {
        width: auto
    }

    .recognized-column {
        border-left: 1px solid #323232;
        padding-left: 40px
    }

    .partners-title {
        font-size: 16px
    }

    .copyright-detail,
    .partners-global,
    .partners-title {
        text-align: left
    }

    .social-list,
    .terms-policy {
        justify-content: initial
    }

    .bottom-line {
        display: block
    }

    .white-spx {
        display: flex;
        justify-content: flex-end;
        padding-top: 36px
    }

    .all-right {
        margin: 18px 0
    }

    .copyright br {
        display: none
    }
}

@media only screen and (min-width:1280px) {
    .location-img {
        justify-content: flex-start
    }

    .office-location {
        text-align: left
    }

    .office-address {
        font-size: 15px
    }

    .recognized-column {
        padding-left: 70px
    }
}

@media only screen and (min-width:1366px) {
    .footer-global .container {
        padding: 0 15px
    }

    .footer-global {
        padding: 60px 0 0px
    }

    .location-img {
        margin-bottom: 4px
    }

    .office-title {
        font-size: 24px;
        letter-spacing: -.2px;
        margin-bottom: 23px
    }

    .office-address {
        font-size: 16px;
        margin-bottom: 14px;
        min-height: 72px
    }

    .office-location {
        width: 21.7%
    }

    .office-location:nth-child(2) {
        padding-left: 19px
    }

    .office-location:last-child {
        padding-left: 16px
    }

    .office-location-wrap,
    .partners-global {
        padding-bottom: 72px
    }

    .partners-title {
        margin-bottom: 27px
    }

    .partners-column {
        width: 48%
    }

    .recognized-column {
        width: 50%;
        padding-left: 89px
    }

    .partners-section {
        padding-bottom: 36px
    }

    .copyright {
        letter-spacing: -.3px
    }

    .all-right {
        margin: 24px 0 16px
    }

    .terms-policy {
        gap: 27px
    }

    .terms-policy a {
        letter-spacing: .1px
    }

    .social-list {
        gap: 25px
    }

    .social-list li a {
        font-size: 16px
    }

    .social-block {
        padding-top: 9px
    }

    .white-spx {
        padding-top: 59px
    }
}

@media only screen and (min-width:1536px) {
    .office-address {
        min-height: auto
    }
}