@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz@6..12&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.main-heading {
    margin-top: 100px;
    text-align: center;
    font-size: 3vw;
    padding: 25px;
    /* padding: 50px 55px; */
    font-family: "Merriweather", serif;
    font-weight: 500;
    font-style: normal;
}

.main-image {
    width: 100%;
    text-align: center;
}

.main-image img {
    border-radius: 50%;
    height: 550px;
}

.image-articles {
    width: 80%;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: -120px;
    display: flex;
    justify-content: space-evenly;
}

.image-article {
    width: 320px;
    margin: 10px;
    min-width: 300px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    padding: 10px 20px;
    font-family: "Nunito Sans", sans-serif;
    background-color: rgba(255, 255, 255, 0.551);
    box-shadow: 0px 0px 15px .5px #888888;
    transition: all 0.3s;
}

.image-article:hover {
    transform: translateY(-10px);
}

.image-article .article-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    margin-right: 10px;
    width: 50px;
    background-color: black;
    border-radius: 50%;
}

.image-article .article-icon i {
    font-size: 26px;
    color: white;
}

.article-content {
    width: 80%;
}

.article-content h3 {
    margin-bottom: 8px;
}

.article-content p {
    font-size: 14px;
}

.about-sos {
    border-top: 5px solid black;
    border-bottom: 5px solid black;
    width: 80%;
    margin: 50px auto;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-size: 20px;
    font-family: 'Roboto';
}

.about-sos p:nth-child(1) {
    font-weight: bold;
    margin-right: 50px;
}

.about-sos p:nth-child(2) {
    width: 600px;
    /* text-align: left; */
    font-size: 18px;
}

.project-heading{
    text-align: center;
    font-family: 'Poppins';
}

.image-gallery-container {
    width: 70%;
    margin: 0px auto;
    overflow: hidden;
    /* To keep the shadow uniform around images */
}


/* Carousel Item Style */
.item img {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px .5px #888888;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Smooth transition for the hover effect */
}

/* Hover Effect */
.item img:hover {
    transform: scale(1.05);
}

@media (max-width: 1250px) {
    .main-image img {
        height: 500px;
    }
}

@media (max-width: 1150px) {
    .main-heading {
        font-size: 3.5vw;
    }

    .main-image img {
        height: 450px;
    }

    .about-sos p:nth-child(1) {
        font-size: 18px;
    }

    .about-sos p:nth-child(2) {
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .main-heading {
        font-size: 24px;
    }

    .main-image img {
        height: 350px;
    }

    .about-sos p:nth-child(1) {
        font-size: 16px;
    }

    .about-sos p:nth-child(2) {
        font-size: 14px;
        margin-left: 5px;
    }
}

@media (max-width: 850px) {
    .article-content h3 {
        font-size: 16px;
    }

    .image-article {
        min-width: 250px;
    }

    .article-content p {
        font-size: 12px;
    }

    .image-articles {
        margin-top: -70px;
    }

    .image-article .article-icon {
        height: 35px;
        width: 35px;
    }

    .image-article .article-icon i {
        font-size: 18px;
    }

    .about-sos p:nth-child(1) {
        font-size: 16px;
    }

    .about-sos p:nth-child(2) {
        font-size: 14px;
    }
}

@media (max-width: 750px) {
    .about-sos p:nth-child(1) {
        font-size: 14px;
    }

    .about-sos p:nth-child(2) {
        font-size: 12px;
    }
}


.middle-section {
    padding: 20px;
    font-family: 'Roboto';
}

.primary-details {
    /* flex: 1 1 100%; */
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
}

.card122 {
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card122:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card122>h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.card122>p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-family: 'Nunito Sans';
    margin-bottom: 15px;
}

.card122>ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #555;
    font-family: 'Nunito Sans';
}

.card122>b{
    font-family: 'Nunito Sans';
}

.card122>ul li {
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .middle-section {
        flex-direction: column;
        gap: 1rem;
    }

    .card122 {
        max-width: 100%;
    }

    .card122>h3 {
        font-size: 14px;
    }

    .card122>p, .card122>ul li, .card122>b {
        font-size: 12px;
    }
}
