*{
    margin:0px;
}
#header-text{
    background: rgb(236,236,236);
    background: radial-gradient(circle, rgba(255,219,172,1) 41%, rgba(0,249,255,1) 100%);
    /*font-size:52px;*/
    font-weight:bold;
    font-family: Arial;
    text-align: center;
    padding:20px;
    border:none;
    /*animation*/
    font-size: 1em; /* Start with a small font size */
    opacity: 0; /* Start with text hidden */
    animation: growText 2s forwards; /* Animate text */
    margin-bottom: -18px;
    
}

/* Keyframes for Header animation*/
@keyframes growText {
    0% {
        font-size: 0; /* Start with text size 0 */
        opacity: 0; /* Start fully transparent */
    }
    100% {
        font-size: 52px; /* Final text size */
        opacity: 1; /* Fully visible */
    }
}

.video-container {
    display: flex;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.video-wrapper {
    flex: 1;
    position: relative;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

                                                /*display box on top of video background*/
.centered {
    position: absolute;
    top: 25%;
    left: 15%;
    width: 70%;
    height:32%;
    background-color: rgba(255, 252, 153, 0.711);
    border-radius: 25px;
    padding: 20px;
    font-size: 20px;
    text-align: justify;
    animation: slideIn 3s forwards 1s;
    opacity: 0;
    overflow: auto;
    /* Ensure text fits within the container */
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes slideIn {
    from {
        left: -100%;
        opacity: 0;
    }
    to {
        left: 15%;
        opacity: 1;
    }
}

                                                      /*our Story*/
#story {
    background-color: beige;
    padding: 25px;
    text-align: center;
}

#story-video{
    width:70%;
    height:25%;
    border-radius: 400px;
}

/* Header styles */
.header {
    font-size: 52px;
}

.subheader {
    font-size: 28px;
}

/* Content block styles */
.content-block {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.text-content, .image-content {
    width: 48%;
}

.mission-header {
    font-size: 52px;
    margin-left: -10px;
}

.mission-text, .additional-text {
    font-size: 22px;
    text-align: justify;
    margin: 20px auto;
    max-width: 80%;
}

#helping {
    border-radius: 25px;
    width: 100%;
    height: auto;
}

/* Slide in animation */
.hidden {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}
                                                                  /*Story end*/

                                                          /*our intiative start*/
.image-row {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.image-item {
    text-align: center;
    border:3px solid rgb(240, 111, 111);
    padding: 8px;
}

.image-description {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
                                                        /*our intiative END*/

                                         /*Automatic slide show - connect with us*/
.connect-section {
    background-color: rgb(185, 185, 185);;
    text-align: center;
    padding: 20px;
}

.section-heading {
    font-size: 52px;
    margin: 0;
}

.slideshow-container {
    position: relative;
    margin: 0 auto;
    max-width: 700px;
}

.slide-img {
    width: 100%;
    height: auto;
    border-radius: 30px;
}

.text {
    color: white;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

.fade {
    animation: fade 2.5s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/*footer start*/
.container3 {
    background-color: beige;
    padding: 10px;
    text-align: center;
}

.header3 {
    font-size: 42px;
    margin: 10px 0;
}

.contact-info3 {
    display: flex;
    justify-content: center; /* Aligns items horizontally */
    gap: 600px; /* Space between the email and location */
    line-height: 1.5;
}

.contact-info3 p {
    margin: 0; /* Remove default margins */
    font-size:22px;
}

/* footer end*/
                                                    
                                       /* On smaller screens, decrease text size */
@media screen and (max-width: 321px){
    .centered {
        margin-top: 40%;
        left: 1%;
        width: 80%;
        font-size: 12px;
        padding: 10px;
        overflow: auto;
        /* Ensure text fits within the container */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    @keyframes slideIn {
        from {
            left: -100%;
            opacity: 0;
        }
        to {
            left: 1%;
            opacity: 1;
        }
        }

    #story-video{
        width:98%;
        height:35%;
    }    

    .header {
        font-size: 36px;
    }

    .subheader {
        font-size: 20px;
    }

    .mission-header {
        font-size: 36px;
        margin-left: 0;
    }

    .mission-text, .additional-text {
        font-size: 18px;
        margin: 10px auto;
        max-width: 90%;
    }

    .content-block {
        flex-direction: column;
        align-items: center;
    }

    .text-content, .image-content {
        width: 90%;
        margin-bottom: 20px;
    }

    img {
        width: 90%;
        height: auto;
    }

    h1 {
        font-size: 28px; /* Smaller heading for small screens */
    }

    p {
        font-size: 16px; /* Smaller paragraph text */
    }

    .image-row {
        flex-direction: column; /* Stack images vertically on small screens */
    }
    
    .image-item{
        margin-bottom:8px;
    }

    .image-item img {
        width: 100%; /* Make images responsive */
        height: auto; /* Maintain aspect ratio */
    }

    .image-description {
        font-size: 14px; /* Even smaller font size for descriptions */
    }
    /*footer*/
    .contact-info3 {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items horizontally */
        gap:40px;
        
    }
    
}
                                                        /*media screen 375px*/
@media screen and (max-width: 376px) {
    .centered {
        margin-top: 50%;
        left: 3%;
        width: 80%;
        font-size: 14px;
        padding: 15px;
        overflow: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    @keyframes slideIn {
        from {
            left: -100%;
            opacity: 0;
        }
        to {
            left: 5%;
            opacity: 1;
        }
    }

    #story-video {
        width: 90%;
        height: auto; /* Adjust height automatically */
    }

    .header {
        font-size: 36px; /* Adjust header size */
    }

    .subheader {
        font-size: 24px;
    }

    .mission-header {
        font-size: 36px;
        margin-left: 0;
    }

    .mission-text, .additional-text {
        font-size: 18px;
        margin: 15px auto;
        max-width: 85%;
    }

    .content-block {
        display: flex; /* Ensure flexbox is applied */
        flex-direction: column;
        align-items: center;
    }

    .text-content, .image-content {
        width: 85%;
        margin-bottom: 15px;
    }

    img {
        width: 100%;
        height: auto;
    }

    h1 {
        font-size: 32px; /* Smaller heading for small screens */
    }

    p {
        font-size: 16px; /* Smaller paragraph text */
    }

    .image-row {
        flex-direction: column; /* Stack images vertically on small screens */
    }

    .image-item{
        margin-bottom:8px;
    }

    .image-item img {
        width: 100%; /* Make images responsive */
        height: auto; /* Maintain aspect ratio */
    }

    .image-description {
        font-size: 14px; /* Slightly smaller font size for descriptions */
    }

    .slide-img {
        border-radius: 15px;
    }

    .dot {
        height: 10px;
        width: 10px;
    }

    /*footer*/
    .contact-info3 {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items horizontally */
        gap:40px;
        
    }
    
}                                                    
                                        /* screen size 425px;*/                                              
@media screen and (max-width: 426px) {
    .centered {
        margin-top: 50%;
        left: 5%;
        width: 90%;
        font-size: 15px; /* Slightly larger font for 425px screens */
        padding: 15px;
        overflow: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    @keyframes slideIn {
        from {
            left: -100%;
            opacity: 0;
        }
        to {
            left: 2%;
            opacity: 1;
        }
    }

    #story-video {
        width: 90%;
        height: auto; /* Adjust height automatically */
    }

    .header {
        font-size: 44px; /* Adjust header size */
    }

    .subheader {
        font-size: 28px; /* Slightly larger subheader */
    }

    .mission-header {
        font-size: 44px; /* Adjust mission header size */
        margin-left: 0;
    }

    .mission-text, .additional-text {
        font-size: 24px; /* Slightly larger text */
        margin: 10px auto;
        max-width: 90%;
    }

    .content-block {
        display: flex; /* Ensure flexbox is applied */
        flex-direction: column;
        align-items: center;
    }

    .text-content, .image-content {
        width: 90%;
        margin-bottom: 15px;
    }

    img {
        width: 100%;
        height: auto;
    }

    h1 {
        font-size: 38px; /* Slightly larger heading for this screen size */
    }

    p {
        font-size: 20px; /* Slightly larger paragraph text */
    }

    .image-row {
        flex-direction: column; /* Stack images vertically on small screens */
    }

    .image-item{
        margin-bottom:8px;
    }

    .image-item img {
        width: 100%; /* Make images responsive */
        height: auto; /* Maintain aspect ratio */
    }

    .image-description {
        font-size: 18px; /* Adjusted font size for descriptions */
    }

    .slide-img {
        border-radius: 15px;
    }

    .dot {
        height: 12px; /* Slightly larger dot */
        width: 12px;
    }

    /*footer*/
    .contact-info3 {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items horizontally */
        gap:40px;
        
    }
    
}

                              /* screen 768px*/
@media screen and (max-width: 768px) {
    .centered {
        maargin-top: 35%; /* Adjusted position for larger screens */
        left: 10%;
        width: 80%;
        font-size: 16px; /* Slightly larger font for tablet screens */
        padding: 20px;
        overflow: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    @keyframes slideIn {
        from {
            left: -100%;
            opacity: 0;
        }
        to {
            left: 10%; /* Adjusted animation for larger screens */
            opacity: 1;
        }
    }

    #story-video {
        width: 80%;
        height: auto; /* Adjust height automatically */
    }

    .header {
        font-size: 48px; /* Adjust header size for tablets */
    }

    .subheader {
        font-size: 30px; /* Slightly larger subheader */
    }

    .mission-header {
        font-size: 48px; /* Adjust mission header size */
        margin-left: 0;
    }

    .mission-text, .additional-text {
        font-size: 24px; /* Slightly larger text */
        margin: 20px auto;
        max-width: 75%;
    }

    .content-block {
        display: flex; /* Ensure flexbox is applied */
        flex-direction: column;
        align-items: center;
    }

    .text-content, .image-content {
        width: 75%;
        margin-bottom: 20px; /* Slightly more spacing */
    }

    img {
        width: 100%;
        height: auto;
    }

    h1 {
        font-size: 42px; /* Slightly larger heading for this screen size */
    }

    p {
        font-size: 22px; /* Slightly larger paragraph text */
    }

    .image-row {
        flex-direction: column; /* Stack images vertically on small screens */
    }

    .image-item{
        margin-bottom:8px;
    }
    
    .image-item img {
        width: 100%; /* Make images responsive */
        height: auto; /* Maintain aspect ratio */
    }

    .image-description {
        font-size: 20px; /* Adjusted font size for descriptions */
    }

    .slide-img {
        border-radius: 15px;
    }

    .dot {
        height: 14px; /* Slightly larger dot */
        width: 14px;
    }

    /*footer*/
    .contact-info3 {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items horizontally */
        gap:40px;
        
    }
    
}
