* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global styles */
.aboutUs {
    font-family: "Nunito", serif !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Responsive columns */
    gap: 20px;
    padding: 20px;
}

.mainweb1 {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
}

.main-image {
    border-radius: 30px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    filter: brightness(30%);
    overflow: hidden;
}

.headline {
    background: #ffffff;
    position: absolute;
    top: 15vh;
    padding: 30px;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    color: black;
    text-align: center;
    z-index: 9;
    width: 80%;
    max-width: 100%;
    overflow: hidden;
}

.headline p {
    background: #000;
    border-radius: 20px;
    padding: 10px;
    color: white;
    word-wrap: break-word;
}

.headline img {
    width: 150px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.headline h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.headline h2 {
    font-size: 1.2rem;
}

.headline1 h2 {
    text-align: center;
    margin: 10px;
}

.headcontent {
    font-size: 1.2rem;
    margin: 10px;
}

.headline1 {
    padding: 20px;
    color: rgb(2, 2, 2);
    text-align: center;
    margin: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.headline1 span {
    color: blue;
}

.headline1 p {
    font-size: larger;
}

/* read more functionality */
.full-text {
    display: block;
    /* Show full text by default on large screens */
}

.read-more {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}

.clamped-text {
    display: none;
}

.read-more {
    display: none;
}

/* For small screens, apply line clamp and hide the full text */
@media (max-width: 768px) {
    .clamped-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        /* Number of lines to show */
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.5em;
        max-height: 4.5em;
    }

    .full-text {
        display: none;
        /* Hide the full text by default on small screens */
    }

    .read-more {
        display: inline-block;
    }
}

/* For very small screens, show the "Read More" link */
@media (max-width: 480px) {
    .read-more {
        display: inline-block;
    }
    .aboutUs{
        padding: 0px;
    }
}

/* ==============our team============== */
.team {
    width: 100%;
    /* height: 80vh; */
    text-align: center;
    padding: 50px 20px;
    background: rgb(163, 163, 252);
}

.team h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow:rgba(0, 0, 0, 0.2)
}

.team-member {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    height: 50vh;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 10px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.member-detail{
    display: none;
}
@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        width: 80%;
        margin: 15px 0;
    }
    .member-detail{
        display: block;
    }
    .team-member-hover{
        display: none;
    }
}

