*{
    padding: 0;
    margin: 0;
}

/* fonts */

.m-heading{
    font-family: "Inter",sans-serif;
}
.m-desc{
    font-family: "poppins", sans-serif;
}
.header .h-profile .p-name{
    font-family: "Lato", sans-serif;
}
.header .h-profile .p-desc, .card-wrapper .card .content {
    font-family: "Ubuntu", sans-serif;
}

/* font end */

/* title img */
.rect {
    position: relative;
    /* height: 00%; */
    text-align: left;
    
}

.rect img {
    width: 100%;
    max-height: 300px;
    /* min-height: 200px; */
}

.rect .less-than-symbol {
    display: inline-block;
    vertical-align: middle; /* Align the symbol with the text */
    margin: 0 5px; /* Adjust spacing between Home and Blogs */
    width: 16px; /* Adjust the width to make it smaller */
    height: auto; /* Maintain aspect ratio */
}

.rect h2 {
    position: absolute; 
    top: 60%;
    /* left: 100px; */
    transform: translateY(-50%);
    margin: 0;
    font-size: 2rem;
    color: white;
    font-family: "Ubuntu", sans-serif;
}

.rect p {
    /* margin-left: 100px; Align with h2 */
    font-size: 1rem;
    margin-top: 10px; /* Space between h2 and p */
    color: white;
    font-family: "Ubuntu", sans-serif;
    position: absolute; /* Keep p absolutely positioned */
    top: 65%; /* Position below h2 (adjust +30px for desired spacing) */
}

.rect p span {
    color: white; /* Teal color for the span */
}

@media (max-width: 768px) {
    
    
    .rect h2 {
        padding-top: 10px;
        top: 60%;
        font-size: 1.5rem;
    }

    .rect p {
        top: calc(50% + 30px);
        font-size: 0.9rem;
    }
}


@media (max-width: 480px) {
    

    .rect h2 {
        padding-top: 10px;
        top: 70%;
        font-size: 1.2rem; /* Smaller font for mobile devices */
    }

    .rect p {
        top: calc(50% + 30px);
        font-size: 0.8rem; /* Smaller text for mobile */
    }
}



/* title img end*/



.m-desc{
    max-width: 802px;
    font-weight: 600;
    color: #575757;
}

.header .h-profile .p-name{
    font-size: 18px;
    font-weight: bold;
}

.header .h-profile .p-desc{
    font-size: 18px;
    /* font-weight: bold; */
    color: #A2A2A2;
}

.card .content p{
    font-size: 14px;
    color: #12141D;
    font-weight: 400;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    white-space: pre-wrap;
}


.card {
    margin-top: 20px;
    
}


.card-wrapper .blue{
    background-color: #F5F8F8; /* Light pink background */
    border: 3px solid #D5DDDD;
    border-radius: 20px;
}
.card-wrapper .org{
    background-color: #FFF7F4; /* Light pink background */
    border: 3px solid #D5DDDD;
    border-radius: 20px;
}
.card-wrapper .gre{
    background-color: #F3FFFF; /* Light pink background */
    border: 3px solid #D5DDDD;
    border-radius: 20px;
}

@media (max-width: 992px){
    .card-wrapper .card .header .h-profile {
        /* background-color: black ; */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}