/* =====================================================================
   CD&C  |  "Our Services" Section  (Pentu tabs block)
   Everything scoped to #cd-pentu-services so it cannot affect
   the rest of the Renovast theme.
   Load AFTER css/style.css and coloring.css
   ===================================================================== */

#cd-pentu-services {
    --cd-green: #8b8f6b;
    --cd-green-dark: #747857;
    --cd-green-light: #f3f3ed;
    --cd-dark: #211c18;
    --cd-body: #555555;
}

/* ---------- Section shell ---------- */
#cd-pentu-services .services-area-two {
    padding: 120px 0;
    background-color: #f8f8f5;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 0;
}

#cd-pentu-services .container {
    max-width: 1690px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* ---------- Section heading ---------- */
#cd-pentu-services .mb-50 { margin-bottom: 50px; }

#cd-pentu-services .top-title {
    display: inline-block;
    background-color: #eceade;
    color: var(--cd-green);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 26px;
    border-radius: 100px;
    margin-bottom: 20px;
}

#cd-pentu-services .main-title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--cd-dark);
    margin-bottom: 0;
}

#cd-pentu-services .mw-550 { max-width: 550px; }
#cd-pentu-services .mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Left tab list ---------- */
#cd-pentu-services .services-tabs { gap: 0; }

#cd-pentu-services .services-tabs .nav-link {
    background-color: #fff;
    padding: 25px 30px;
    border: 0;
    border-radius: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: all ease .4s;
}

#cd-pentu-services .services-tabs .nav-link:last-child { margin-bottom: 0; }

#cd-pentu-services .services-tabs .nav-link .gap-25 { gap: 25px; }

#cd-pentu-services .services-tabs .nav-link .icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cd-green);
    border-radius: 100px;
    flex-shrink: 0;
}

#cd-pentu-services .services-tabs .nav-link .icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

#cd-pentu-services .services-tabs .nav-link h3 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--cd-dark);
    margin-bottom: 0;
    transition: all ease .4s;
}

#cd-pentu-services .services-tabs .nav-link:hover {
    background-color: var(--cd-green-light);
}

#cd-pentu-services .services-tabs .nav-link.active {
    background-color: var(--cd-green);
}

#cd-pentu-services .services-tabs .nav-link.active h3 {
    color: #fff;
}

#cd-pentu-services .services-tabs .nav-link.active .icon {
    background-color: rgba(255, 255, 255, .18);
}

/* ---------- Right content card ---------- */
#cd-pentu-services .services-single-item-two {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
}

#cd-pentu-services .services-img-two,
#cd-pentu-services .services-img-two .img {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

#cd-pentu-services .services-img-two img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 520px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

#cd-pentu-services .services-content { padding-left: 0; }

@media (min-width: 1400px) {
    #cd-pentu-services .services-content.ms-xxl-5 { margin-left: 3rem; }
}

#cd-pentu-services .services-content h3 {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--cd-dark);
    margin-bottom: 20px;
}

#cd-pentu-services .services-content p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--cd-body);
    margin-bottom: 25px;
}

#cd-pentu-services .services-content ul {
    margin: 0 0 35px;
    padding: 0;
    list-style: none;
}

#cd-pentu-services .services-content ul li {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#cd-pentu-services .services-content ul li:last-child { margin-bottom: 0; }

#cd-pentu-services .services-content ul li i {
    font-size: 20px;
    line-height: 1;
    color: var(--cd-green);
}

#cd-pentu-services .services-content ul li .text-secondary,
#cd-pentu-services .services-content ul li span {
    color: var(--cd-green) !important;
}

/* ---------- Browse More button ---------- */
#cd-pentu-services .default-btn {
    display: inline-block;
    background-color: var(--cd-green);
    border: 1px solid var(--cd-green);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: all ease .4s;
}

#cd-pentu-services .default-btn > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

#cd-pentu-services .default-btn img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

#cd-pentu-services .default-btn:hover {
    background-color: var(--cd-green-dark);
    border-color: var(--cd-green-dark);
    color: #fff;
}

/* ---------- Tab fade ---------- */
#cd-pentu-services .tab-content > .tab-pane { display: none; }
#cd-pentu-services .tab-content > .active { display: block; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* 1400px - 1599px */
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
    #cd-pentu-services .main-title { font-size: 42px; }
}

/* 1200px - 1399px */
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    #cd-pentu-services .services-area-two { padding: 100px 0; }
    #cd-pentu-services .main-title { font-size: 38px; }
    #cd-pentu-services .services-single-item-two { padding: 25px; }
    #cd-pentu-services .services-img-two img { min-height: 360px; }
}

/* 992px - 1199px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #cd-pentu-services .services-area-two { padding: 90px 0; }
    #cd-pentu-services .main-title { font-size: 34px; }
    #cd-pentu-services .services-single-item-two { padding: 25px; }
    #cd-pentu-services .services-tabs .nav-link { padding: 20px 25px; }
    #cd-pentu-services .services-tabs .nav-link h3 { font-size: 20px; }
    #cd-pentu-services .services-content h3 { font-size: 26px; }
    #cd-pentu-services .services-img-two img { min-height: 320px; }
}

/* 768px - 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    #cd-pentu-services .services-area-two { padding: 80px 0; }
    #cd-pentu-services .mb-50 { margin-bottom: 35px; }
    #cd-pentu-services .main-title { font-size: 32px; }
    #cd-pentu-services .services-single-item-two { padding: 25px; }
    #cd-pentu-services .services-tabs .nav-link { padding: 20px; margin-bottom: 15px; }
    #cd-pentu-services .services-tabs .nav-link h3 { font-size: 20px; }
    #cd-pentu-services .services-content h3 { font-size: 24px; }
    #cd-pentu-services .services-img-two img { min-height: 300px; max-height: 380px; }
}

/* max 767px */
@media only screen and (max-width: 767px) {
    #cd-pentu-services .services-area-two { padding: 60px 0; }
    #cd-pentu-services .mb-50 { margin-bottom: 30px; }
    #cd-pentu-services .top-title { font-size: 13px; padding: 8px 20px; margin-bottom: 15px; }
    #cd-pentu-services .main-title { font-size: 26px; }
    #cd-pentu-services .services-tabs .nav-link { padding: 18px; margin-bottom: 12px; }
    #cd-pentu-services .services-tabs .nav-link .gap-25 { gap: 15px; }
    #cd-pentu-services .services-tabs .nav-link .icon { width: 44px; height: 44px; }
    #cd-pentu-services .services-tabs .nav-link .icon img { width: 22px; height: 22px; }
    #cd-pentu-services .services-tabs .nav-link h3 { font-size: 18px; }
    #cd-pentu-services .services-single-item-two { padding: 20px; }
    #cd-pentu-services .services-img-two img { min-height: 240px; max-height: 300px; }
    #cd-pentu-services .services-content h3 { font-size: 22px; margin-bottom: 15px; }
    #cd-pentu-services .services-content p { font-size: 15px; margin-bottom: 20px; }
    #cd-pentu-services .services-content ul { margin-bottom: 25px; }
    #cd-pentu-services .services-content ul li { font-size: 15px; margin-bottom: 12px; }
    #cd-pentu-services .default-btn { padding: 14px 26px; font-size: 15px; }
}
/* Gap above the Browse More button */
#cd-pentu-services .services-content .default-btn {
    margin-top: 35px;
}

@media only screen and (max-width: 767px) {
    #cd-pentu-services .services-content .default-btn {
        margin-top: 25px;
    }
}