body,
html {
    padding: 0;
    margin: 0;
}

ul {
    padding-left: 0;
}

h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2rem;
}

h1 span {
    color: #8A70AA;
}

h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 40px;
}

h2 span {
    color: #8A70AA;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
}

h4 {
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    font-weight: 300;
}

h4 span {
    color: #8A70AA;
}

p {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
}

.top-bar {
    background-color: #8A70AA;
    padding: 10px 0 5px;
    color: #fff;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar a:hover {
    color: #000;
}

.top-bar i {
    color: #fff;
    margin-right: 15px;
}

.top-bar li {
    padding-right: 20px;
}

.top-bar .social-icons li {
    padding-right: 5px;
}

.top-bar .social-icons i:hover {
    color: #000;
}

.top-bar .colored-svg {
    width: 16px;
    height: 16px;
    margin-right: 15px;
}

.top-bar .social-icons .colored-svg:hover {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: url(desaturate.svg#greyscale);
    filter: gray;
    -webkit-filter: grayscale(1);
}

.header {
    position: relative;
    z-index: 20;
}

.header img {
    width: 175px;
    height: auto;
}

.nav-link {
    font-size: 16px;
    text-transform: uppercase;
    padding: 0 15px !important;
    color: #fff;
    font-weight: 600;
}

.nav-link:hover {
    color: #8A70AA;
}

.dropdown-menu {
    z-index: 100;
    position: relative;
}

.main-image {
    background-image: url("/images/residential-care-home.webp");
    background-size: cover;
    background-position: center center;
    padding: 250px 0 80px;
    color: #fff;
    position: relative;
    margin-top: -210px;
}

.main-image::after {
    content: "";
    position: absolute;
    background-color: #000000ab;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-image-content {
    position: relative;
    z-index: 10;
}

.main-image p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.main-image button {
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 50px;
    color: #fff;
    padding: 10px 30px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    margin-right: 20px;
}

.main-image .btn-secondary {
    background-color: #8A70AA;
    border: 2px solid #8A70AA;
    border-radius: 50px;
    color: #fff;
    padding: 10px 30px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    margin-right: 20px;
}

.main-image .btn-secondary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #8A70AA;
}

.main-image button:hover {
    background-color: #fff;
    color: #8A70AA;
    border-color: #fff;
}

.text-container {
    font-family: "Poppins", sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
    padding: 20px 0;
    z-index: 20;
}

.main-content ul {
    list-style-type: none;
    padding-left: 0;
}

.main-content button {
    background-color: #8A70AA;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    border: 2px solid #8A70AA;
    padding: 15px 30px;
    border-radius: 50px;
}

.main-content button:hover {
    background-color: transparent;
    color: #8A70AA;
}

.main-content a {
    color: #8A70AA;
}

.main-content img {
    margin: auto;
}

.features {
    position: relative;
}

.features li::before {
    content: "";
    background-image: url("/icons/angles-right-solid.svg");
    color: #8A70AA;
    font-family: "FontAwesome";
    padding-right: 30px;
    line-height: 36px;
    filter: invert(49%) sepia(16%) saturate(1028%) hue-rotate(225deg) brightness(94%) contrast(83%);
    background-repeat: no-repeat;
}

.services-section {
    background-color: #000;
}

.services-section h2 {
    color: #fff;
}

.services-section p {
    color: #fff;
}

.services-section i {
    font-size: 32px;
    color: #fff;
}

.services-section h3 {
    color: #8A70AA;
}

.services-section .col {
    transition-duration: 0.6s;
}

.services-section .col:hover {
    background-color: #8A70AA;
    transition-duration: 0.6s;
}

.services-section .col:hover h3 {
    color: #fff;
    transition-duration: 0.6s;
}

.services-section .colored-svg {
    width: 32px;
    height: 32px;
}

.counters {
    background-color: #000;
}

.counters i {
    color: #fff;
    font-size: 35px;
}

.counters p {
    font-size: 18px;
    color: #fff;
}

.counter {
    font-family: "Poppins", sans-serif;
    font-size: 50px;
    color: #8A70AA;
    font-weight: 700;
    line-height: 50px;
    margin: 20px 0;
}

.colored-svg {
    fill: #fff;
    width: 35px;
    height: 35px;
    filter: brightness(0);
    filter: invert(1);
}

.testimonial-box {
    background-color: #fff;
    padding: 30px 30px 70px;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5);
    margin: 5px;
    transition: all 0.5s ease;
    border-radius: 0 0 300px 300px;
}

.testimonial-box .colored-svg {
    filter: invert(49%) sepia(16%) saturate(1028%) hue-rotate(225deg) brightness(94%) contrast(83%);
    width: 50px;
    height: 50px;
}

.testimonial-box h2 {
    color: #8A70AA;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
}

.testimonial-box p {
    color: #000;
}

.avatar {
    border-radius: 100%;
    width: 70px;
    height: 70px;
    margin: 20px 0;
}

.contacts img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: -10px;
}

.contacts h6 {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    color: #8A70AA;
    font-weight: 700;
}

.contacts p {
    font-size: 18px;
}

.contacts a {
    text-decoration: none;
    color: #000;
}

.contacts a:hover {
    color: #8A70AA;
}

input {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
}

input[type="submit"] {
    background-color: #8A70AA;
    color: #fff;
    border: 1px solid #8A70AA;
}

input[type="submit"]:hover {
    background-color: transparent;
    color: #8A70AA;
    border: 1px solid #8A70AA;
}

textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    height: 100px;
}

.footer {
    background-color: #000;
    color: #fff;
}

.footer h2 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 30px;
}

.footer p {
    color: #fff;
}

.footer-icon {
    background-color: transparent;
    border: 1px solid #8A70AA;
    padding: 5px 15px;
    border-radius: 100%;
}

.footer-icon:hover {
    background-color: #8A70AA;
}

.footer .colored-svg {
    width: 14px;
    height: 14px;
}

.footer ul {
    list-style-type: none;
    padding-left: 0;
}

.footer li {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 36px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: #8A70AA;
}

.bottom-bar {
    background-color: #8A70AA;
    color: #fff;
    margin: 0;
    padding-bottom: 5px;
}

.bottom-bar a {
    text-decoration: underline;
    color: #fff;
}

.bottom-bar a:hover {
    color: #000;
}

#scrollTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #8A70AA;
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: #555;
}


@media (max-width: 768px) {


    h1 {
        font-size: 24px;
        margin-top: 25px;
    }

    h2 {
        font-size: 24px;
    }

    h4 {
        font-size: 24px;
    }

    h6 {
        font-size: 22px;
    }

    .top-bar {
        display: none;
    }

    .header img {
        margin: auto;
        text-align: center;
        width: 50%;
    }

    .navbar {
        --bs-navbar-color: #fff;
        margin: auto;
    }

    .navbar-toggler {
        text-align: end;
        float: right;
        color: #fff;
        border-color: #000;
    }

    .nav-link {
        color: #000;
        line-height: 2.4em;
    }

    .main-image {
        background-position: right center;
        padding-top: 50px;
        padding-bottom: 50px;
        margin-top: 0;
    }

    .features li {
        line-height: 16px;
    }

    .testimonial-box {
        margin-bottom: 25px;
    }

    .contacts h6 {
        font-size: 22px;
    }

    .footer h2 {
        margin-top: 15px;
    }

    .bottom-bar p {
        font-size: 14px;
    }






}