/* community services starts here  */
.cs-hero {
    position: relative;
}
.desk-cs-herobanner {
    display: block;
  }
  .mobile-cs-herobanner {
    display: none;
  }
.cs-hero h1 {
    position: absolute;
    left: 50%;
    width: 60%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: clamp(1.6rem, 2.2vw, 2.6rem);
    font-weight: 500;
    line-height: 1.5;
}

.cs-content-main {
    margin: 4rem 0;
    padding: 2rem 0;
}
.cs-content-container {
    width: 80%;
    margin-inline: auto;
}
.s-container {
    max-width: var(--maxw, 1260px);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 52px);
}
.s-flex {
    display: flex;
    align-items: stretch;
}
.cs-contentbox {
    border: 1px solid #DCC0C0;
    padding: 2rem;
    position: relative;
    margin-bottom: 4rem;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.cs-contentbox:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.cs-contentbox:after {
    content: "";
    left: 0;
    top: 0;
    background-color: #F9EDE5;
    position: absolute;
    width: 100%;
    height: 130px;
    z-index: -1;
}
.cs-contentbox-left {
    width: 40%;
    display: flex;
    overflow: hidden;
    border-radius: var(--r);
}
.cs-contentbox-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.cs-contentbox:hover .cs-contentbox-left img {
    transform: scale(1.03);
}
.cs-contentbox-right {
    padding: 2.5rem;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cs-contentbox-right h2 {
    font-size: clamp(1.1rem, 1.4vw, 1.6rem);
    line-height: 1.5;
    font-weight: 500;
    -webkit-text-stroke: 0.3px black;
}
.cs-contentbox-right h4 {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 500;
    padding-left: 1.5rem;
    border-left: 4px solid var(--orange-color);
}
.cs-contentbox-content {
    padding-top: 15%;
}
.cs-contentbox-content p {
    font-size: clamp(1.04rem, 1.1vw, 1.2rem);
    padding-top: clamp(1.2rem, 1.5vw, 1.8rem);
    line-height: 1.6;
}
.cs-reverse-box {
    flex-direction: row-reverse;
}
.cta-section {
    padding: clamp(56px, 7vw, 90px) 0;
}

@media(max-width: 1024px) {
    .cs-contentbox {
        flex-direction: column;
    }
    .cs-contentbox-left,
    .cs-contentbox-right {
        width: 100%;
    }
    .cs-contentbox-left {
        min-height: 250px;
    }
    .cs-contentbox-right {
        padding: 2rem;
    }
    .cs-contentbox-content {
        padding-top: 8%;
    }
    .cs-reverse-box {
        flex-direction: column;
    }
}

@media(max-width: 640px) {
    .cs-content-main {
        margin: 2rem 0;
        padding: 1rem 0;
    }
    .cs-content-container {
        width: 95%;
    }
    .cs-contentbox {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    .cs-contentbox-left {
        min-height: 200px;
    }
    .cs-contentbox-right h2 {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }
    .cs-contentbox-right h4 {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }
    .cs-contentbox-content p {
        font-size: clamp(0.95rem, 3vw, 1.04rem);
    }
}

/* community services ends here  */