/* General styles */
body {
    font-family: Arial, sans-serif;
    height: 100%;
    background-color: rgb(253, 246, 241);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.navbar {
    background-color: #ff8133;
    padding: 1rem;
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    max-height: 4rem;
}
.logo {
    color: white;
    font-size: .9rem;
    font-weight: bold;
    text-decoration: none;
}
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-evenly;
}
.nav-links li {
    margin: 1rem;
    font-size: large;
    position: relative;
    justify-content: space-around;
}
.nav-links a {
    display:inline-flex;
    position: relative;
    color: white;
    text-decoration: none;
    text-align: justify;
    bottom: 0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    padding-top: 6%;
    padding-bottom: 6%;
    padding: .4rem;
    border-radius: 25px;
}
.nav-links a:hover {
    background-color: #16b6b3c1;
    border-radius: 50px;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    height: 3px;
    width: 25px;
    background-color: white;
    margin-bottom: 4px;
    border-radius: 5px;
}
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #3498db;
        padding: 1rem;
        z-index: 100;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 0.5rem 0;
    }
    .hamburger {
        display: flex;
        z-index: 100;
    }
}
.logo {
    padding: 2rem;
    margin: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: xx-large;
}
#logo1 {
    max-width: 4rem;
    max-height: 4rem;
}





/* Dropdown styles */
.acts {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #017f5fe8;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    text-align: justify;
    padding: 2%;
    margin: 0;
    min-width: 200px;
}

.acts li {
    margin: 0.5rem 0;
}

.acts a {
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.nav-links li {
    position: relative;
}

/* Desktop styles */
@media (min-width: 1024px) {
    .actsbtn:hover + .acts,
    .acts:hover {
        display: block;
    }
    
    .acts li:hover > a {
        background-color: #16b6b3c1;
    }
}

/* Mobile styles */
@media (max-width: 1023px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ff8133;
        padding: 1rem;
        z-index: 100;
    }

    .acts {
        position: static;
        width: 100%;
        background-color: #ff9b59;
        box-shadow: none;
        padding: 0;
    }

    .acts.show {
        display: block;
    }

    .acts li {
        margin: 0;
    }

    .acts a {
        padding: 10px 20px;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .actsbtn {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .actsbtn::after {
        content: '▼';
        font-size: 0.8em;
        margin-left: 8px;
    }
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff8133;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
    opacity: 0;
}

.back-to-top.visible {
    display: flex;
    opacity: 1;
}

.back-to-top:hover {
    background-color: #e67422;
    transform: translateY(-2px);
}

/* Optional: Hide on mobile devices */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 10px;
        right: 10px;
    }
}
/*carousel function*/
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}
.slide.active .slidecontent {
    opacity: 1;
    transform: translateY(0);
}

.slidecontent {
    text-align: center;
    color: white;
    padding: 5px;
    max-width: 80%;
    font-size: xx-large;
    transform: translateY(-300px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    
}
.homeslides {
    background-color: #de5500a7;
    border-radius: 10px;
   
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px;} 


.title123{
    text-align: center;
    transform: scale(1.5); 
    transition: transform 0.5s ease-out;
    animation: title1 4s infinite;
}
.title123{
    transform: scale(1);
}
@keyframes title1 {
    0%{
        transform: scale(1);
        color: #ff8133;
    }
    50%{
        transform: scale(1.05);
        color: #aad60a;
    }
    100%{
        transform: scale(1);
        color: #ff8133;
    }
}

                    /* Individual slide backgrounds */
                    #slide1 { background-color: white;
                        height: 100%;
                        width: 100%;
                        text-align: justify;
                        justify-content: center;
                        align-items: center;
                        display: flex;
                        flex-direction: row;
                        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                        padding: 20px;
                    
                        font-size: x-large;
                    }
                    #srividyaimg{
                        height: 80dvh;                    
                        width: 60vb;
                        margin: 4%;
                    }


                    #text-section {
                        width: 60vb;
                        height: 80dvh;
                        margin: 4%;
                       
                    }
                    
                    
                    
                    .title {
                        font-size: 1.8em;
                        color: #e59d0e;
                        font-family: 'Arial', sans-serif;
                        margin-bottom: 20px;
                    }
                    
                    .description {
                        box-sizing: border-box;
                        font-size: large;
                        padding: 4%;
                        color: #333;
                        line-height: 1.6;
                        font-family: 'Arial', sans-serif;
                        margin-bottom: 15px;
                    }
                    
                    .highlight {
                        color: #d83535;
                        font-weight: bold;
                    }
                    @media (max-width: 1024px) {
                        #slide1 {
                            flex-direction: column;
                            padding: 0;
                            margin: 0;
                            width: 50dvb;
                            height: 1500px;
                            font-size: large;
                            height: fit-content;
                        }
                        
                    
                        #srividyaimg {
                            width: 350px;
                            height: 400px;
                        
                            margin: 6%;
                        }
                    
                        #text-section {
                            width: 350px;
                            height: 400px;
                            margin: 6%;
                            margin-top: 1%;
                        }
                        
                    
                        .title123 {
                            font-size: 24px;
                            margin: 15px 0;
                        }
                    
                        .description {
                            font-size: medium;
                            margin-bottom: 12px;
                        }
                    

                        .carousel {
                            width: 100%;
                            height: auto;
                            min-height: 100vh;
                        }
                    
                        
                        .nav-button {
                            padding: 10px;
                            font-size: 20px;
                        }
                    }
                    
                    
                    @media screen and (max-width: 480px) {
                        #slide1 {
                            padding: 10px;
                            font-size: medium;
                            height: fit-content;
                        }
                    
                        .title123 {
                            font-size: 20px;
                        }
                    
                        .description {
                            font-size: 14px;
                        }
                    
                        #srividyaimg {
                            max-height: 350px;
                        }
                    }
                    
                    /* Helper class for highlighted text */
                    .highlight {
                        font-weight: bold;
                        color: #333;
                    }                     
                    .styled-button {
                        padding: 17px 40px;
                        border-radius: 50px;
                        text-decoration: none;
                        cursor: pointer;
                        border: 0;
                        background-color: white;
                        box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
                        letter-spacing: 1.5px;
                        text-transform: uppercase;
                        font-size: 15px;
                        transition: all 0.5s ease;
                      }
                      
                      .styled-button:hover {
                        letter-spacing: 3px;
                        background-color: hsl(261, 56%, 62%);
                        color: hsl(0, 0%, 100%);
                        box-shadow: rgb(93 24 220) 0px 7px 29px 0px;
                      }
                      
                      .styled-button:active {
                        letter-spacing: 3px;
                        background-color: hsl(261deg 80% 48%);
                        color: hsl(0, 0%, 100%);
                        box-shadow: rgb(93 24 220) 0px 0px 0px 0px;
                        transform: translateY(10px);
                        transition: 100ms;
                      }
                               
        .slideh2{
            background-color: #1a1e006f;

        }
       
        
        .slideTextSpan{
            max-width: 45%;
        }
        .nav-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            padding: 10px 15px;
            border: none;
            cursor: pointer;
            font-size: 18px;
        }
        .prev {
            left: 10px;
        }
        .next {
            right: 10px;
        }
        .simg{
            height: 50rem;
            width: 30rem;
        }
        /*carousel for responsiveness*/
        @media (max-width: 768px) {
            .carousel {
                height: 70vh; 
            }
            .slide {
                font-size: 20px; 
                flex-direction: column;
            }
            .homeslides {
                padding: 3%;
            }
            .homeslides-imagecontainer img {
                max-height: 50%;
                height: 35%; 
                width: auto;
            }
        }
        
        @media (max-width: 480px) {
          
        }
        


/*carousel for cards*/
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-100%);
            }
        }


/*back to top */
    #backToTop {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #3949ab;
        color: white;
        padding: 10px 15px;
        border-radius: 5px;
        text-align: center;
        cursor: pointer;
        display: none; /* Initially hidden */
        font-family: Arial, sans-serif;
        font-size: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 9999;
    }

#backToTop:hover {
    background-color: #303f9f;
    transform: translateY(-5px); /* Slight lift effect on hover */
}

#backToTop.visible {
    display: block;
    opacity: 1;
}


#h1-s2{
    display:inline-block;
    width: fit-content;
    font-size: xx-large;
    background-color: #68cadbc7;
    position: relative;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 2%;
    border-radius: 50px;
    animation: sani1 1.4s infinite;
}


/* Seva cards with animations */
.cards {
    position: relative;
    min-height: 300px;
    width: 100%;
    overflow: hidden;
    background-color: #ffe7e7;
    padding: 40px 0;
    text-align: center;
    justify-content: center;
    align-items: center;

}

.card-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;
    align-items: flex-start; 
    gap: 20px;
    width: auto;
}
.sectionsmain{
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1.5s ease, transform 1.5s ease;
}
.sectionsmain.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.5s ease, transform 1.5s ease;
}
.card {
    flex: 1 1 auto(45%); 
    max-width: auto;
    height: fit-content;
    background-color: #ffffff;
    border-radius: 10%;
    border: 8px solid #ff8133;
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 18px;
    color: #000000;
    padding: 2rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card img{
    width: 100%;
    height: auto;
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .card-container {
        justify-content: space-around; 
    }

    .card {
        width: 40%; 
        
    }
}

@media (min-width: 1441px) {
    .card-container {
        justify-content: center; 
    }

    .card {
        width: 40%;
}
}
/* On smaller screens, make cards take full width */
@media (max-width: 1024px) {
    .card {
        flex: 1 1 70%; 
        max-width: fit-content;
        height: auto;
        padding: 2px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .card-img{
        flex: 1 1 80%;
        max-width: 80%;
        height: auto;
        padding: 1%;
    }
    #grpphoto15{
        height: auto;
        width: 70%;
    }
    
}

.txt{
    background-color: white;
    border-radius: 20%;
    border-width: 5px;
}



.ac{
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center; 
    text-decoration: none; 
    display: flex;
    border-radius: 10%;
}


/* Footer styles */
.footer {
    background-color: #1a237e;
    color: white;
    padding: 2rem 0;
    width: 100%;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.footer-section {
    margin-bottom: 1rem;
}
.footer-section h3 {
    margin-bottom: 0.5rem;
}
.footer-section ul {
    list-style-type: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section a {
    color: #bbdefb;
    text-decoration: none;
}
.footer-section a:hover {
    text-decoration: underline;
}
.social-icons a {
    margin-right: 1rem;
    font-size: 1.5rem;
}
.legal {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #3949ab;
}


        .ytvid{
           justify-content: center;
           align-items: center;
           margin-top: 4%;
        }
        .vid{
            padding: 5px;
            height: 25rem;
            width: 40%;
        }
        @media (max-width: 1024px) {
            .vid{
                padding: 5px;
                height: 25dvh;
                width: 80%;
            }
        }

        #s1img{
            max-width: 100vb;
            max-height: 100vh;
        }





                                    #meeting15sep{
                                        display: flex;
                                        flex-direction: column;
                                        align-items: center;
                                        justify-content: center;
                                        text-align: center;
                                        padding-top: 4rem;
                                        padding-bottom: 4rem;
                                        background-color: #ffe9d7e8;
                                        
                                    }


                                    #grpphoto15{
                                        height: auto;
                                        width: 80%;
                                    }

                                    .a15sepmeeting{
                                        padding: 25px;
                                        padding-left: 2%;
                                        padding-right: 2%;
                                        font-size: x-large;
                                    }

                                    #h315th{
                                        background-color: #1ecf27ad;
                                        padding: 20px;
                                        display: inline-block;
                                        justify-content: space-around;
                                        text-align: justify;
                                    }
                                    #apdf11{
                                        background-color: #17bebb;
                                        color: black;
                                        font-weight: bold;
                                        padding: .65%;
                                        margin: 2%;
                                        font-size: medium;
                                    }
                                    #meeting15p{
                                        text-align: justify;
                                        padding: 4%;
                                    }


#upcoming{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 4rem;
    background-color: #45a04986;
}

.uimgs, .imgs, .up2{
    height: auto;
    width: 40%;
    border-color: #000000;
    border-width: .2rem;
    border-style: solid;
}



@media (max-width: 1024px) {
    #upcoming{
        width: 50dvb; 
        margin:0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    .uimgs, .imgs, .up2{
        height: auto;
        width: 42dvb;
        margin: 0;
        
        padding: 0;
    }
    #upcomingdiv{
        margin: 0%;
        padding: 0;
    }
}


#h3upcoming{
    background-color: rgba(236, 0, 0, 0.795);
    padding: .5rem;
    font-size: xx-large;
    color: white;
    font-weight: bolder;
    animation: ani1 4s infinite;
}

@keyframes ani1 {
    0%{
        background-color: rgb(8, 176, 228)red;
        transform: scale(0.9);
    }
    50%{
        background-color: red;
        transform: scale(1.2);
    }
    100%{
        background-color: rgb(8, 176, 228);
        transform: scale(0.9);
    }
}


#SBMY{
    margin-top: 2%;

}

.SBMY-imgs{
    height: auto;
    width: 35%;
    padding: 1%;
}


#calendar{
    height: auto;
    width: 120dvb;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .calender{
        width:50dvh;
    }
}






#calendar {
    margin: 0;
    padding: 0;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .calendar-container {
        margin: 0;
        padding: 0;
    }
}

/* Container styles */
.yt_video_gallery_wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background-color: #fff;
}
.yt_new{
    display: flex;
}
.yt_video_grid_container {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
}

/* Video container styles */
.yt_video_item_wrapper {
    width: 100%;
}

.yt_video_thumbnail_container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f1f1f1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.yt_video_thumbnail_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play button styles */
.yt_play_button_overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.2s ease;
}

.yt_video_thumbnail_container:hover .yt_play_button_overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background-color: rgba(0, 0, 0, 0.9);
}

.yt_play_button_overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 18px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Duration badge */
.yt_video_duration_badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Video info styles */
.yt_video_info_container {
    padding: 12px 0;
    width: 100%;
}

.yt_video_title {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin: 0 0 4px 0;
    color: #0f0f0f;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt_channel_name {
    font-size: 12px;
    color: #606060;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yt_video_metadata {
    font-size: 12px;
    color: #606060;
    display: flex;
    align-items: center;
    gap: 4px;
}

.yt_metadata_separator {
    font-size: 10px;
    line-height: 1;
}

/* Hover states */
.yt_video_item_wrapper:hover .yt_video_title {
    color: #065fd4;
}

/* Mobile styles */
@media (max-width: 768px) {
    .yt_video_grid_container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .yt_video_title {
        font-size: 16px;
        line-height: 22px;
    }
    
    .yt_channel_name,
    .yt_video_metadata {
        font-size: 14px;
    }
}

/* Video player styles */
.yt_embedded_video_player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}