
/* Modern Footer Styles - Ensure these take precedence */
#landingFooter {
    padding: 72px 120px 26px;
    background-color: #101828 !important;
    color: white !important;
    position: relative;
    z-index: 999;
}

/* Override any old footer styles */
#landingFooter * {
    box-sizing: border-box;
}

.landing-footer-header{
    margin-bottom: 2rem;
}

#landingFooter h4{
    font-size: var(--font-size-20);
    color: white !important;
}

#landingFooter a{
    color:#D0D5DD !important;
    font-family: manrope !important;
    font-weight: 500;
    font-size: var(--font-size-14);
    line-height: 20px;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

#landingFooter a:hover{
    color: white !important;
    text-decoration: none !important;
}

#landingFooter .info p{
    margin-bottom: 0;
    color:#D0D5DD !important;
    font-family: manrope !important;
    line-height: 20px;
    font-size: var(--font-size-14);
    align-items: flex-start !important;
}

/* New Contact Section Styles */
.contact-section {
    margin-top: 10rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item a {
    display: flex;
    align-items: center;
    color: #D0D5DD !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    font-family: manrope !important;
    font-size: var(--font-size-14);
    line-height: 1.2;
}

.contact-item a:hover {
    color: white !important;
}

.contact-item img {
    margin-right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.physical-address {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.address-item {
    display: flex;
    align-items: flex-start;
}

.address-item img {
    margin-right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.address-text {
    color: #D0D5DD !important;
    font-family: manrope !important;
    font-size: var(--font-size-14);
    line-height: 1.1;
    font-weight: 500;
}

.address-text span {
    display: block;
    margin-bottom: 0;
    line-height: 0.8;
}

.address-text span:last-child {
    margin-bottom: 0;
}

#landingFooter .reach-us{
    padding: 0;
    margin-bottom: 0;
}

#landingFooter .reach-us a:not(:last-child){
    margin-bottom: 0.25rem;
}

#landingFooter .reach-us a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #D0D5DD !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

#landingFooter .reach-us a:last-child {
    margin-bottom: 0;
}

#landingFooter .reach-us a:hover {
    color: white !important;
    text-decoration: none !important;
}

#landingFooter .location p{
    margin-left: 0;
    width: auto;
    font-size: var(--font-size-14);
    font-weight: 500;
    color: #D0D5DD !important;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
}

#landingFooter .reach-us a img, #landingFooter .location p img{
    margin-right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

#landingFooter .location{
    margin-top: 0;
}

.quick-links a{
    display: block;
    margin-top: 1.5rem;
    transition: color 0.3s ease;
}

.quick-links a:hover{
    color: white !important;
}

.quick-links h6{
    color: #667085 !important;
    font-weight: 500;
    font-size: var(--font-size-14);
    margin-bottom: 1rem;
}

.contact-location{
    display: flex;
    margin-top: 2rem;
    flex-direction: column;
    gap: 1rem;
}

#landingFooter .location{
    margin-top: 0;
}

.info-text-footer{
    font-size: var(--font-size-12);
    font-family: manrope !important;
    font-weight: 400;
    line-height: 24px;
    color: #D0D5DD !important;
    margin-top: 45px;
}

.social-media-cpyright{
    margin-top: 2rem;
    position: relative;
}

.social-media-cpyright::after{
    position: absolute;
    content: "";
    top: -28px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #344054;
}

.social-media {
    text-align: end;
}

.social-media a{
    margin-left: 1rem;
    transition: opacity 0.3s ease;
}

.social-media a:hover{
    opacity: 0.8;
}

.copy-right-text{
    font-size: var(--font-size-12);
    font-weight: 500;
    color: #98A2B3 !important;
    margin-bottom: 0;
    font-family: manrope !important;
}

.footer-app{
    margin: 2rem 0rem 0rem;
    text-align: end;
}

.footer-app a{
    transition: opacity 0.3s ease;
}

.footer-app a:hover{
    opacity: 0.8;
}

/* Ensure modern footer is always visible and styled correctly */
#landingFooter {
    display: block !important;
    visibility: visible !important;
}

/* Override any conflicting styles from old footer */
#footer {
    display: none !important;
}

@media (min-width:768px)and(max-width:1200px) {
    #landingFooter {
        padding: 72px 32px 26px;
    }

    .contact-location {
        flex-direction: column;
        gap: 0.75rem;
    }

    #landingFooter .location p{
        margin-left: 0;
        margin-top: 0;
        width: auto;
    }
}

@media (max-width:768px) {
    #landingFooter {
        padding: 72px 20px 85px;
    }
    
    /* Mobile Contact Section Styles */
    .contact-section {
        margin-top: 2rem;
    }
    
    .contact-details {
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-item a {
        font-size: var(--font-size-13);
    }
    
    .physical-address {
        margin-top: 0;
        margin-bottom: 2rem;
    }
    
    .address-text {
        line-height: 0.3;
        font-size: var(--font-size-13);
    }
    
    .address-text span {
        line-height: 1.2;
        margin-bottom: 1px;
    }
    
    .contact-location {
        display: flex;
        margin-top: 12px;
        flex-direction: column;
        margin-bottom: 72px;
        gap: 0.75rem;
    }
    #landingFooter .location p {
        margin-left: 0;
        width: auto;
        font-size: var(--font-size-14);
        font-weight: 500;
    }
    #landingFooter .reach-us a {
        margin-bottom: 8px;
    }
    #landingFooter .reach-us a:not(:last-child) {
        margin-bottom: 8px;
    }

    .quick-links:not(:last-child){
        margin-bottom: 72px;
    }
    .social-media-cpyright::after {
        top: -31px;
    }
    .copy-right-text {
        margin-bottom: 31px;
    }
    .social-media a {
        margin-right: 12px;
    }
    .social-media {
        text-align: start;
    }
    .social-media a {
        margin-left: 0;
    }
    .footer-app{
        margin: 2rem 0rem 0rem;
        text-align: start;
    }
}

@media(min-width: 768px) {
    .location {
        position: relative;
        bottom: auto;
        left: auto;
    }
}