/* Row containers */
.expanded-header-container, .why-us-section {
    display: flex;
    flex-direction: row;
    align-items: center;
}
/* Column containers */
.seo-image-two, .expanded-header-content, .why-grid-wrapper, .why-icon-wrapper, .why-content-box, .category-icon-wrapper {
    display: flex;
    flex-direction: column;
}
/* Centered column containers */
.why-grid-wrapper, .why-icon-wrapper, .why-content-box, .category-icon-wrapper {
    justify-content: center;
    align-items: center;
}
/* Wrapped row container */
.category-grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
/* 50% flex children */
.seo-image-two, .expanded-header-content {
    flex: 0 0 50%;
    width: 100%;
}
/*Banner*/
.expanded-header-wrapper {
    width: 100%;
    background-color: #ECF4F6;
}
.expanded-header-container {
    max-width: 1580px;
    margin: 0 auto;
    justify-content: center;
    gap: 1rem;
}
.seo-image-two img {
    width: 100%;
    height: auto;
    display: block;
}
.expanded-header-content {
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
}
.expanded-header-content h1 {
    font-weight: 700;
}
.home-title, .home-subtitle, .service-title, .badge, .badge span {
    color: #000;
    text-align: center;
}
.home-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 1rem;
}
.home-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0;
}
.seo-landing-index h2, .section-title {
    font-size: 28px;
    text-align: center;
    font-weight: 600;
    padding: 2rem 0;
}
.service-category, .why-grid-wrapper, .featured-grid-box {
    padding: 3rem 1rem;
}
/*Gallery Section*/
.category-grid-wrapper {
    max-width: 1580px;
    margin: 0 auto;
}
.category-icon-wrapper {
    justify-content: flex-start;
    width: 195px;
    height: 200px;
}
.service-icon-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0 !important;
}
.service-icon {
    height: 125px;
    width: auto;
    padding-bottom: 1rem;
}
.why-grid-wrapper {
    background-color: #EEF4F8;
    gap: 1rem;
}
.why-us-section {
    justify-content: flex-start;
}
.why-icon {
    width: 50%;
    height: 245px;
    z-index: 1;
}
.why-content-box {
    background-color: #FFFFFF;
    padding: 2rem 2rem 1rem;
    margin: -2rem 1rem 0;
    border-radius: 10px;
}
.why-content-box h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
}
.why-content-box p {
    text-align: center;
    font-size: 12px;
    font-weight: 400;
}
.seo-landing-index #Footer-section {
    margin-top: 0 !important;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .expanded-header-content .home-title {
        font-size: 28px;
    }
    .expanded-header-content .home-subtitle {
        font-size: 18px;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 991px) {
    .why-us-section {
        max-width: 540px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
}

@media screen and (max-width: 767px) {
    .home-title {
        width: 100%;
        padding: 0 1rem;
    }
    .expanded-header-container {
        width: 100%;
        margin: 0;
        flex-direction: column;
        gap: 0;
    }
    .seo-image-two, .expanded-header-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .seo-image-two::after {
        content: "";
        display: block;
        width: 100%;
        flex: 0 0 auto;
        height: 4rem;
        margin-top: -4rem;
        background: linear-gradient(0deg,rgba(236, 244, 246, 1) 0%, rgba(236, 244, 246, 0.8) 80%, rgba(236, 244, 246, 0) 100%);
        pointer-events: none;
    }
    .expanded-header-content {
        margin-top: -3rem;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 1rem;
    }
    .expanded-header-content .home-title {
        font-size: 22px;
    }
    .expanded-header-content .home-subtitle {
        display: block;
        font-size: 12px;
        padding: 0 1rem;
    }
    .seo-landing-index h2, .section-title {
        font-size: 24px;
    }
    .seo-landing-index .why-grid-wrapper .section-title {
        padding-bottom: 0;
    }
    .category-grid-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    a.category-icon-wrapper {
        width: 195px;
    }
    .why-grid-wrapper {
        gap: 0;
    }
    .why-content-box {
        margin-top: -3rem;
    }
}

@media screen and (max-width: 480px) {
    .seo-landing-index h2, .section-title {
        font-size: 22px;
    }
    .why-content-box {
        margin-top: -4rem;
    }
}
