/* =========================================================
   SOBHA REALTY FOOTER
========================================================= */

.site-footer {
    width: 100%;
    background: #f8f8fc;
    color: #101a3a;
    overflow: hidden;
}


/* =========================================================
   TRUSTED LOGOS
========================================================= */

.footer-trusted {
    width: 100%;
    background: #ffffff;
    padding-top: 2px;
    overflow: hidden;
}

.trusted-title {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 28px;
}


/* =========================================================
   LOGO VIEWPORT
========================================================= */

.trusted-logos {
    width: 100%;
    overflow: hidden;
    position: relative;
}


/* =========================================================
   LOGO TRACK
========================================================= */

.trusted-logos-track {
    display: flex;
    align-items: center;

    width: max-content;

    gap: 100px;

    padding: 0 50px 10px;

    animation: trustedLogoScroll 25s linear infinite;

    will-change: transform;
}


/* =========================================================
   INDIVIDUAL LOGO
========================================================= */

.trusted-logo {
    flex: 0 0 auto;

    width: 150px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}


/* =========================================================
   ACTUAL LOGO IMAGE
========================================================= */

.trusted-logo img {
    display: block;

    width: auto;
    height: 85px;

    max-width: 160px;

    object-fit: contain;

    user-select: none;
    pointer-events: none;
}


/* =========================================================
   LOGO ANIMATION
========================================================= */

@keyframes trustedLogoScroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* =========================================================
   PAUSE ON HOVER
========================================================= */

.trusted-logos:hover .trusted-logos-track {
    animation-play-state: paused;
}


/* =========================================================
   MOBILE TRUSTED LOGOS
========================================================= */

@media (max-width: 600px) {

    .footer-trusted {
        padding-top: 22px;
        padding-bottom: 10px;
        overflow: hidden;
    }

    .trusted-title {
        font-size: 13px;
        font-weight: 600;

        margin: 0 0 15px;

        padding: 0 15px;
    }

    .trusted-logos {
        width: 100%;
        overflow: hidden;
    }

    .trusted-logos-track {
        display: flex;
        align-items: center;

        width: max-content;

        gap: 35px;

        padding: 0 20px 12px;

        animation:
            trustedLogoScroll 18s linear infinite;
    }

    .trusted-logo {
        width: 105px;
        min-width: 105px;

        height: 65px;

        flex-shrink: 0;
    }

    .trusted-logo img {
        width: auto;

        height: 65px;

        max-width: 120px;

        object-fit: contain;
    }

}


/* =========================================================
   EXTRA SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .trusted-logos-track {
        gap: 25px;
    }

    .trusted-logo {
        width: 95px;
        min-width: 95px;

        height: 60px;
    }

    .trusted-logo img {
        height: 58px;
        max-width: 105px;
    }

}

/* =========================================================
   LOGO ANIMATION
========================================================= */

@keyframes trustedLogoScroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* Pause on hover */

.trusted-logos:hover .trusted-logos-track {
    animation-play-state: paused;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
    position: relative;

    min-height: 390px;

    background:
        linear-gradient(
            rgba(248, 248, 252, 0.94),
            rgba(248, 248, 252, 0.94)
        );

    overflow: hidden;
}


/* Decorative background buildings */

.footer-main::before {
    content: "";

    position: absolute;

    left: 35px;
    bottom: -80px;

    width: 300px;
    height: 450px;

    opacity: 0.04;

    background:
        linear-gradient(
            90deg,
            #6d7484 2px,
            transparent 2px
        );

    background-size: 70px 70px;

    pointer-events: none;
}

.footer-main::after {
    content: "";

    position: absolute;

    right: 20px;
    bottom: -50px;

    width: 300px;
    height: 300px;

    opacity: 0.035;

    background:
        linear-gradient(
            135deg,
            #6d7484 25%,
            transparent 25%
        );

    pointer-events: none;
}


/* =========================================================
   FOOTER CONTAINER
========================================================= */

.footer-container {
    width: min(1200px, 90%);

    margin: auto;

    min-height: 390px;

    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1fr
        0.8fr;

    gap: 70px;

    align-items: center;

    position: relative;

    z-index: 2;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    max-width: 350px;
}


/* FOOTER LOGO */

.footer-logo {
    width: 100px;
    height: 100px;

    border-radius: 24px;

    background: #050505;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 35px;

    position: relative;
}

.footer-logo span {
    position: absolute;

    left: 15px;
    top: 35px;

    font-family: Georgia, serif;

    color: #c79b42;

    font-size: 20px;
}

.footer-logo strong {
    color: #c79b42;

    font-family: Georgia, serif;

    font-size: 58px;

    font-weight: 400;

    margin-left: 20px;
}


/* DESCRIPTION */

.footer-brand p {
    color: #747985;

    font-size: 16px;

    line-height: 1.7;

    margin: 0;

    max-width: 350px;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.footer-socials {
    display: flex;

    gap: 35px;

    margin-top: 30px;
}

.footer-socials a {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #a8abb3;

    text-decoration: none;

    font-size: 18px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-socials a:hover {
    color: #111a38;

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    align-self: center;
}

.footer-column h3 {
    color: #101a3a;

    font-size: 16px;

    font-weight: 700;

    margin: 0 0 22px;
}

.footer-column a {
    display: block;

    color: #777b86;

    text-decoration: none;

    font-size: 16px;

    line-height: 1.5;

    margin-bottom: 14px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-column a:hover {
    color: #101a3a;

    transform: translateX(4px);
}


/* SECOND HEADING */

.footer-column .footer-subtitle {
    margin-top: 38px;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-bottom {
    width: 100%;

    min-height: 100px;

    background: #000000;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: #858585;

    font-size: 16px;
}

 /* =========================================================
    IMPROVED MOBILE FOOTER
 ========================================================= */

 @media (max-width: 600px) {

     /* =========================================
        FOOTER BASE
     ========================================= */

     .site-footer {
         width: 100%;
         overflow: hidden;
     }


     /* =========================================
        TRUSTED LOGOS
     ========================================= */

     .footer-trusted {
         padding-top: 22px;
         padding-bottom: 10px;
         overflow: hidden;
     }

     .trusted-title {
         font-size: 13px;
         font-weight: 600;
         margin: 0 0 15px;
         padding: 0 15px;
     }

     .trusted-logos {
         width: 100%;
         overflow: hidden;
     }

     .trusted-logos-track {
         display: flex;
         align-items: center;

         gap: 35px;

         width: max-content;

         padding: 0 20px 12px;

         animation:
             trustedLogoScroll 18s linear infinite;
     }

     .trusted-logo {
         min-width: 105px;
         width: 105px;
         height: 65px;

         transform: scale(0.82);

         flex-shrink: 0;
     }

     .trusted-logo strong {
         font-size: 16px;
         line-height: 17px;
     }

     .trusted-logo small {
         font-size: 6px;
         letter-spacing: 1px;
     }

     .brick-symbol {
         font-size: 32px;
         line-height: 22px;
     }

     .homebuild-icon {
         width: 30px;
         height: 30px;
         border-width: 2px;
         font-size: 11px;
     }

     .home-build-logo {
         gap: 6px;
     }

     .home-build-logo > div:last-child strong {
         font-size: 12px;
         line-height: 12px;
     }

     .virtups-mark {
         font-size: 26px;
         line-height: 22px;
     }

     .virtups strong {
         font-size: 14px;
     }

     .architecture-mark,
     .construction-mark {
         font-size: 32px;
         line-height: 27px;
     }

     .architecture strong,
     .construction strong {
         font-size: 10px;
     }

     .home-garden-mark {
         font-size: 31px;
         line-height: 25px;
     }

     .home-garden strong {
         font-size: 11px;
     }


     /* =========================================
        MAIN FOOTER
     ========================================= */

     .footer-main {
         min-height: auto;

         padding: 0;

         overflow: hidden;
     }


     /* Remove large decorative buildings on phone */

     .footer-main::before {
         left: -100px;
         bottom: -100px;

         width: 220px;
         height: 300px;

         opacity: 0.025;
     }

     .footer-main::after {
         right: -100px;
         bottom: -80px;

         width: 220px;
         height: 220px;

         opacity: 0.025;
     }


     /* =========================================
        FOOTER CONTAINER
     ========================================= */

     .footer-container {
         width: 100%;

         display: flex;
         flex-direction: column;

         align-items: center;

         gap: 0;

         padding: 55px 25px 45px;

         box-sizing: border-box;

         min-height: auto;
     }


     /* =========================================
        BRAND
     ========================================= */

     .footer-brand {
         width: 100%;
         max-width: 360px;

         text-align: center;

         display: flex;
         flex-direction: column;
         align-items: center;

         margin-bottom: 45px;
     }


     /* FOOTER LOGO */

     .footer-logo {
         width: 78px;
         height: 78px;

         border-radius: 20px;

         margin-bottom: 25px;
     }

     .footer-logo span {
         left: 12px;
         top: 28px;

         font-size: 16px;
     }

     .footer-logo strong {
         font-size: 44px;
         margin-left: 16px;
     }


     /* DESCRIPTION */

     .footer-brand p {
         max-width: 330px;

         margin: 0 auto;

         color: #747985;

         font-size: 14px;

         line-height: 1.7;

         text-align: center;
     }


     /* =========================================
        SOCIAL ICONS
     ========================================= */

     .footer-socials {
         justify-content: center;

         gap: 28px;

         margin-top: 25px;
     }

     .footer-socials a {
         width: 30px;
         height: 30px;

         font-size: 17px;
     }


     /* =========================================
        FOOTER COLUMNS
     ========================================= */

     .footer-column {
         width: 100%;
         max-width: 360px;

         text-align: center;

         padding: 25px 0;

         border-top: 1px solid rgba(16, 26, 58, 0.08);
     }


     .footer-column h3 {
         font-size: 14px;

         margin: 0 0 16px;

         letter-spacing: 0.5px;
     }


     .footer-column a {
         font-size: 14px;

         line-height: 1.5;

         margin-bottom: 12px;

         color: #777b86;
     }


     .footer-column a:hover {
         transform: none;
     }


     /* SECOND HEADINGS */

     .footer-column .footer-subtitle {
         margin-top: 30px;
         margin-bottom: 16px;
     }


     /* =========================================
        COPYRIGHT
     ========================================= */

     .footer-bottom {
         min-height: 75px;

         padding: 0 20px;

         box-sizing: border-box;
     }

     .footer-bottom p {
         font-size: 12px;

         line-height: 1.5;

         text-align: center;
     }

 }


 /* =========================================================
    EXTRA SMALL PHONES
 ========================================================= */

 @media (max-width: 380px) {

     .footer-container {
         padding-left: 18px;
         padding-right: 18px;
     }

     .footer-brand p {
         font-size: 13px;
     }

     .footer-column a {
         font-size: 13px;
     }

     .trusted-logos-track {
         gap: 25px;
     }

     .trusted-logo {
         min-width: 95px;
         width: 95px;
     }

 }