.footer-distributed {
    display: flex;
    background: #F5F5F5;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: 400 14px 'Nunito Sans', sans-serif;
    padding: 40px 24px;
}

.footer-distributed .footer-left {
    width: 35%;
    display: flex;
    flex-direction: column;
    vertical-align: top;
}

.footer-distributed .footer-center,
.footer-distributed .footer-right {
    display: inline-block;
    vertical-align: top;
}

/* Footer left */

.footer-left {
    display: flex;
    flex-direction: column;
}

#app-logo {
    width: 160px;
}

.footer-left .quick-links span {
    display: block;
    font-weight: normal;
    font-size: 15px;
    line-height: 1.8;
    cursor: pointer;
    width: fit-content;
}

.footer-left .quick-links span a {
    text-decoration: none;
    color: #000000;
}

.footer-left .footer-quick-links {
    display: block;
    color: #2E7D32;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.footer-center .address {
    display: block;
    color: #2E7D32;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px
}

/*
.footer-distributed .footer-left {
    width: 40%;
}
*/

/* The company logo */

.footer-distributed h3 {
    color: #000000;
    font: normal 36px 'Open Sans', cursive;
    margin: 0;
}

.footer-distributed h3 span {
    color: lightseagreen;
}

/* Footer links */

.footer-distributed .footer-links {
    color: #000000;
    margin: 20px 0 12px;
    padding: 0;
}

.footer-distributed .footer-links a {
    display: inline-block;
    line-height: 1.8;
    font-weight: 400;
    text-decoration: none;
    color: inherit;
}

.footer-distributed .footer-company-name {
    color: #222;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
    width: 40%;
}

.footer-distributed .footer-center i {
    background-color: #33383b;
    color: #ffffff;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
    font-size: 17px;
    line-height: 38px;
}

.footer-distributed .footer-center p {
    display: inline-block;
    color: #000000;
    font-weight: 400;
    vertical-align: middle;
    margin: 0;
}

.footer-distributed .footer-center p span {
    display: block;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.7;
}

.footer-distributed .footer-center p a {
    color: #42a5f5;
    text-decoration: none;;
}

.footer-distributed .footer-links a:before {
    content: "|";
    font-weight: 300;
    font-size: 20px;
    left: 0;
    color: #000000;
    display: inline-block;
    padding-right: 5px;
}

.footer-distributed .footer-links .link-1:before {
    content: none;
}

/* Footer Right */

.footer-distributed .footer-right {
    width: 20%;
}

.footer-distributed .footer-company-about {
    line-height: 1.7;
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    margin: 0 0 20px;
}

.footer-distributed .footer-company-about span {
    display: block;
    color: #2E7D32;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.footer-right [alt="follow-us"] {
    width: 34px !important;
    margin: 8px 8px 8px 0 !important;
}

.footer-distributed .footer-icons {
    margin-top: 25px;
}

.footer-distributed .footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #33383b;
    border-radius: 2px;

    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;

    margin-right: 3px;
    margin-bottom: 5px;
}

.download-apps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

#download-image {
    max-width: 150px;
}

#ios-download-image {
    max-width: 130px;
    padding: 0;
}

@media screen and (max-width: 650px) {
    .footer-distributed .footer-company-about span, .footer-quick-links p, .address div {
        font-size: 14px;
        margin-top: 24px;
    }

    .download-apps {
        display: flex;
        margin: 12px 0 24px 0;
    }

    #ios-download-image {
        width: 130px;
        padding: 0;
    }

    #app-logo {
        width: 150px;
    }

    .google-play-badge-mobile {
        display: block;
    }

    #download-image {
        width: 150px;
    }

    #download {
        margin-right: 27.5%;
        margin-left: 27.5%;
    }

    #mobile-screen {
        width: 100%;
    }

    #mobile-image {
        width: 60%;
        height: auto;
        margin: 15% 20% 0 20%;
    }

    #home-second-section {
        width: 100%;
        height: auto;
        padding-bottom: 5%;
    }

    #second-section-title-bar {
        width: 100%;
        display: flex;
        height: auto;
        padding: 0;
        justify-content: center;
    }

    #second-section-title-text {
        display: inline-block;
        padding: 10px;
        align-content: center;

    }

    #page-title {
        font-size: 32px;
        color: #424242;
    }

    #sample-survey-underline {
        width: 25px;
        height: 2px;
        background-color: #424242;
        /*        margin: 6px 55px 6px 55px;*/
        transition: 0.4s;
    }

    .form-cards-layer {
        width: 90%;
        margin: 5% 5% 5% 5%;
        display: block;
    }

    #form-cards-container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .home-features-section {
        display: block;
        height: auto;
    }

    #home-third-left-container {
        width: 100%;
        height: auto;
    }

    #home-third-right-container {
        width: 100%;
        height: auto;
    }

    #home-fourth-left-container {
        width: 100%;
        height: auto;
    }

    #home-fourth-right-container {
        width: 100%;
        height: auto;

    }

    #mobile-screenshot-1 {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #mobile-screenshot-2 {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 10px;
    }

    .features-container {
        width: 90%;
        margin-top: 50px;
    }

    .feature-title-bar {
        display: block;
        padding-bottom: 25px;
        padding-top: 25px;
    }

    .feature-title-bar h3 {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .features-underline {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 48% 0 48%;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon img {
        width: 25px;
        height: auto;
        margin: 12.5px 12.5px 12.5px 12.5px;
    }

    .feature-text-container {
        margin-left: 20px;
    }

    .feature-container {
        margin-top: 20px;
    }

    #full-card {
        width: 100%;
    }

    #country-list {
        width: 100%;
    }

    #country-list p {
        width: 70px;
        font-size: 20px;
    }

    #statistics div {
        margin: 2% 6% 2% 6%;
    }

    h3 {
        padding-top: 20px;
    }

    .content-about-us {
        height: auto;
    }

    .content-about-us p {
        width: 90%;
        margin: 3% 5% 0 5%;
        padding-bottom: 5%;
        height: auto;
        font-size: 16px;
        line-height: 30px;
    }

    .profile-container {
        width: 100%;
        flex-flow: column;
        justify-content: center;
    }

    .footer-distributed {
        display: block;
    }

    .footer-left .quick-links span {
        width: auto;
    }
}

/* If you don't want the footer to be responsive, remove these media queries */

@media (max-width: 880px) {
    .footer-distributed {
        font: bold 14px sans-serif;
    }

    .footer-distributed .footer-left,
    .footer-distributed .footer-left .quick-links,
    .footer-distributed .footer-center,
    .footer-distributed .footer-right {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .footer-distributed .footer-center i {
        margin-left: 0;
    }
}

@media screen and (max-width: 1150px) {
    .top-navigator-bar {
        flex-wrap: wrap;
    }

    .navigators {
        justify-content: flex-start;
        margin-left: 5%;
    }

    #home-first-section {
        background-size: auto 100%;
    }
}

/* ===== Compact mobile footer redesign (article page) ===== */
@media screen and (max-width: 767px) {
    .footer-distributed {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px 24px;
        gap: 16px;
    }
    .footer-distributed .footer-left,
    .footer-distributed .footer-center,
    .footer-distributed .footer-right {
        width: 100%;
        margin: 0;
        display: block;
    }
    .footer-left { align-items: center; }
    #app-logo { width: 140px; margin: 0 auto; }
    .download-apps {
        justify-content: center;
        margin: 4px 0 0;
        gap: 10px;
    }

    /* Quick links as one inline row */
    .footer-left .quick-links { margin-top: 4px; }
    .footer-left .footer-quick-links { margin-bottom: 8px; }
    .footer-left .quick-links span {
        display: inline;
        font-size: 14px;
        line-height: 1.6;
        width: auto;
    }
    .footer-left .quick-links span + span::before {
        content: "·";
        margin: 0 8px;
        color: #b0b4ba;
    }

    /* Hide verbose corporate blocks on mobile */
    .footer-distributed .footer-center { display: none; }
    p.footer-company-about { display: none; }

    /* Follow us, centered */
    .footer-right div.footer-company-about { margin: 0; }
    .footer-right div.footer-company-about span { margin-bottom: 10px; }
    .footer-right div.footer-company-about > div { justify-content: center; }

    /* Slim copyright line */
    .footer-distributed::after {
        content: "© SurveyHeart LLP · Hyderabad, India";
        display: block;
        width: 100%;
        font-size: 12px;
        color: #9ca3af;
        margin-top: 4px;
    }
}
