:root {
    --primary: #ffffff;
}
.card-section-div {
    background: #f6f6f6;
    padding: 100px;
}
.card-main-div {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-around;
    row-gap: 40px;
}

.card-img-div {
    padding: 12px;
    width: 29%;
    background: #fff;
    box-shadow: 0 0 5px #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-img-div img {
    object-fit: cover;
    width: 230px;
    height: 230px;
}
.card-min-heading {
    position: relative;
}

.card-min-heading::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Moves the underline 10px below the text */
    left: 40%;
    width: 20%;
    height: 2px; /* Adjust the thickness of the underline */
    background-color: black; /* Change the color to your preference */
    text-align: center;
}

.card-heading {
    color: rgb(0, 0, 0);
    font-size: 60px;
    font-weight: 600;
}
.card-para {
    font-size: 15px;
}
.three-card-section-div {
    background: #f6f6f6;
    padding: 50px;
}
.card-main-div {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-around;
    row-gap: 40px;
}
.three-card-img-div-1 {
    position: relative; /* Required for pseudo-elements */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(../img/threeCard/pppllww.jpg);
    width: 30%;
    height: 350px;
    box-shadow: 0 0 5px #ddd;
    background-repeat: no-repeat;
    background-size: cover;
}
.three-card-img-div-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.650);
    z-index: 1;
}

.three-card-img-div-1 * {
    position: relative;
    z-index: 2;
}
.three-card-img-div-2 {
    position: relative; /* Required for pseudo-elements */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(../img/threeCard/blackbb.jpg);
    width: 30%;
    height: 350px;
    box-shadow: 0 0 5px #ddd;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.three-card-img-div-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.650);
    z-index: 1;
}

.three-card-img-div-2 * {
    position: relative;
    z-index: 2;
}

.three-card-img-div-3 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(../img/threeCard/door.jpg);
    width: 30%;
    height: 350px;
    box-shadow: 0 0 5px #ddd;
    background-repeat: no-repeat;
    background-size: cover;
}


.three-card-img-div-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.650);
    z-index: 1;
}

.three-card-img-div-3 * {
    position: relative;
    z-index: 2;
}
.read-more-btn {
    padding: 5px 10px;
    background: #ffffff;
    color: black;
    border-radius: 8px;
    font-size: 13px;
    &:hover {
       font-weight: 500;
       text-decoration: underline;
    };
}
.cr-about p {
    color: rgb(0, 0, 0);
}

.cr-about-img{
    object-fit: cover;
    border-radius:10px;
    margin-bottom: 10px;
    height: 300px;
}

.cr-about-content-he {
    text-align: center;
    margin-top: 10px !important;
}
.cr-about-content-he h2, .cr-about-content-he h6 {
    text-align: center;
}
.team-section {
    background-color: var(--primary); /* Matches the brown background */
    padding: 60px 0;
    text-align: center;
    color: rgb(0, 0, 0);
}

.team-section h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.team-section h6 {
    font-size: 16px;
    margin-bottom: 40px;
}

.team-member {
    margin-bottom: 40px;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #5C3B2E;
}

.team-member h4 {
    margin-bottom: 5px;
    font-size: 20px;
}

.team-member p {
    font-size: 16px;
}
@media only screen and (max-width: 991px) {
    .card-section-div {
        padding: 5px;
    }
    .card-main-div {
        row-gap: 30px;
    }
    .card-img-div {
        padding: 0px;
        width: 100%;
        background: #fff;
        box-shadow: 0 0 5px #ddd;
    }
    .card-img-div img {
        object-fit: cover;
        width: 150px;
        height: 150px;
    }
    .card-min-heading {
        font-size: 10px;
    }
    .card-heading {
        font-size: 40px;
    }
    .card-para {
        font-size: 10px;
    }
    .three-card-section-div {
        background: #f6f6f6;
        padding: 20px;
    }
    .three-card-img-div-1 {
        width: 100%;
        height: 300px;
    }
    .three-card-img-div-2 {
        width: 100%;
        height: 300px;
    }
    .three-card-img-div-3 {
        width: 100%;
        height: 300px;
    }
}
