*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    font-family: 'Lato', sans-serif;
    font-size:15px;
    font-weight:300;
}

.wrapper {
  display: flex;
  flex-direction: column;
   /* Full viewport height */
}




.top-section {
    background: #007bff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px; /* Adds a small space between dropdown and text */
    overflow: visible;
    position: relative;
}
        .dropdown {
    position: relative;
    display: inline-block;
    height: 100%;
    /* Remove width: 100% here */
}

.dropdown button {
    color: white;
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
    text-align: left;

    white-space: nowrap;  /* Prevent text wrap */
    width: auto;          /* Let width adjust to content */
    min-width: 200px;     /* Optional: set a minimum width */
    max-width: 100%;      /* Prevent overflow on very small screens */
    overflow: hidden;
    text-overflow: ellipsis; /* If still too long, show ... */
}

/* Optional: Adjust font size on small screens */
@media (max-width: 480px) {
    .dropdown button {
        font-size: 20px; /* Smaller font for mobile */
        padding: 8px 15px;
        min-width: 150px;
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 100%;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #007bff;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.right-text {
    color: white;
    font-size: 30px;
    font-weight: 700;
    margin-left: 15%;
}


/* Navbar start */ 
.header-2{
    background:var(--blue);
    width:50%;
}
 
.header-2 .navbar{
    text-align: center;
}

.header-2 .navbar a{
    color:#fff;
    display: inline-block;
       
   font-size: 28px; 
}

.header-2 .navbar a:hover{
    background:var(--dark-color);
}

.header-2.active{
    position:fixed;
    top:0; left:0; right:0;
    z-index: 1000;

}




/* Navbar End */

/* Quote Start */
         .SideBar_quote1 {
            margin: 6.2px;
            padding: 6.2px;
            margin-right: 0;
            margin-left: 0;
            font-family: 'Oswald', sans-serif;
            background-color: #e6f2ff;
        }   
        
       #quote-author {
            padding-left: 50px;
            margin-top: 20px;
        }
            
          #quote-author1{
            padding-left:50px;
        }
        
/* Quote End */


        
/* Words Start */
        .BLword {
            background-color: #f9f9f9;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
            margin-bottom: 5px;
            padding-left:0;
            width: auto;
        }
        
        .BLword2 {
            margin-left:50px;
            margin-bottom:0px;
        }
        
        .BLword ul {
            list-style-type: none;
            margin: 0;
            padding-left: 5px;
        }        
        
        
/* Words End */
        
 /* Model View of Photo Albums Start*/
 /* The Modal (background) */
        .modal {
          display: none; /* Hidden by default */
          position: fixed; /* Stay in place */
          z-index: 1; /* Sit on top */
          padding-top: 20px; /* Location of the box */
          left: 0; 
          height: 100%; /* Full height */
          overflow: auto; /* Enable scroll if needed */
          background-color: rgb(0,0,0); /* Fallback color */
          background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
        }
        
        /* Modal Content (image) */
        .modal-content {
          margin: auto;
          display: block;
          width: auto; 
          height:auto;
          vertical-align:middle;
          max-width: auto; 
          transform: scale(1.25, 1.25);
          top: 60px;
        }
        
        .modal-content {
            position: relative;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-direction: column;
            flex-direction: column;
            max-width: 50%; /* Adjust modal width to fit 90% of the viewport width */
            max-height: 95vh; /* Adjust modal height to fit 90% of the viewport height */
            pointer-events: auto;
            background-clip: padding-box;
            border-radius: .3rem;
            outline: 0;
            background-color: transparent;
            margin: auto;
            justify-content: center;
            align-items: center;
        }
        
        img {
            width: auto;
            max-width: 80%; /* Image takes up all the modal width */
            height: auto;
            max-height: 95vh; /* Image takes up to 90% of the viewport height */
        }
        
        .modal-dialog {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: calc(100vh - 1rem); /* Ensures the modal is vertically centered */
        }


        @media (max-width: 768px) {
            .modal-content {
                max-width: 80%; /* On smaller screens, make the modal take full width */
                max-height: 100vh;
            }
            
            img {
                max-width: 80%;
                max-height: 100vh;
            }
        }
        
        @media (min-width: 401px) and (max-width: 767px) {
            .your-class-name {
                flex: 0 0 22%; /* Adjust the value as needed */
                max-width: 50%; /* Adjust the value as needed */
            }
        }




        
        
        /* Caption of Modal Image */
        #caption {
          margin: 2px auto;
          display: block;
          width: 100%;
          max-width: 700px;
          text-align: center;
          color: #ccc;
          padding: 10px 0;
          height: 150px;
        }
        
        /* Add Animation */
        .modal-content, #caption {  
          animation-name: zoom;
          animation-duration: 0.6s;
        }
        
        @keyframes zoom {
          from {transform: scale(0.1)} 
          to {transform: scale(1)}
        }
       
        @media only screen and (max-width: 700px){
          .modal-content {
            width: 80%;
          }
        }
        /* Caption of Modal Image */
        #caption {
          margin: 2px auto;
          display: block;
          width: 80%;
          max-width: 700px;
          text-align: center;
          color: #ccc;
          padding: 10px 0;
          height: 150px;
        }
       
        /* The Close Button */
        .close {
          position: absolute;
          top: 33px;
          right: 35px;
          color: red;
         /* font-size: 40px;*/
          font-weight: bold;
          transition: 0.3s;
        }
        
        .close:hover,
        .close:focus {
          color: #bbb;
          text-decoration: none;
          cursor: pointer;
        }
        
        /* 100% Image Width on Smaller Screens */
        @media only screen and (max-width: 700px){
          .modal-content {
            width: 80%;
          }
        }

        #PhotoAlbumImgs
        {
            margin-bottom:10px;
        }
        #PhotoAlbumImgs img
        {
            margin:2px 5px;
            transition: border 0.3s ease;
            border-radius:10px 0px 10px 0px;
            margin-left: 5%;
            
            /* margin-left: 75px;  border: 1px solid #ddd;*/
        }
        #PhotoAlbumImgs img:hover
        {
            cursor:pointer;
            /*border:1px solid #ddd;*/
        }
        #PhotoAlbumImgs td {
        text-align: center; /* Horizontal centering */
        vertical-align: middle; /* Vertical centering */
        height: 100px; /* Optional: Adjust cell height as needed */
      }
      
      .PhotoAlbumBlurImgs
      {
          filter: blur(3px);
      }  
      
      @media (max-width: 600px) {
                        img {
                            margin-left: 5%;
                        }
/* Model View of Photo Albums End*/
        
/*  New Style of Video Album */

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-album h1 {
    text-align: center;
    margin-bottom: 20px;
}

.year-selector {
    text-align: center;
    margin-bottom: 20px;
}

.year-selector select {
    padding: 5px;
   /* font-size: 16px;*/
}

.video-gallery {
    display: grid;
    gap: 20px;
}

.video-item {
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.video-item video {
    width: 100%;
    border-radius: 5px;
    max-height: 250px;
}

.video-item p {
    margin-top: 10px;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
    }
    
    .video-gallery {
        grid-template-columns: 1fr;
    }
}
/*  New Style of Video Album End */        
         
        
/* media queries  */

@media (max-width:991px){

    html{
       /* font-size: 55%;*/
    }

    .header .header-1{
        padding:2rem;
    }

    section{
        padding:3rem 2rem;
    }

}

@media (max-width:768px){

    html{
        scroll-padding-top: 0;
    }

    body{
        padding-bottom: 3rem;
    }

    .header .header-2{
        
    }

    .bottom-navbar{
        display: block;
    }

    #search-btn{
        display: inline-block;
    }

    .header .header-1{
        box-shadow: var(--box-shadow);
        position: relative;
    }

    .header .header-1 .search-form{
        position:absolute;
        top:-115%; right:2rem;
        width: 90%;
        box-shadow: var(--box-shadow);
    }

    .header .header-1 .search-form.active{
        top:115%;
    }

    .home .row .content{
        text-align: center;
    }

    .home .row .content h3{
      /*  font-size: 3.5rem; */
    }

    .newsletter{
        background-position: right;
    }

    .newsletter form{
        margin-left:0;
        max-width: 100%;
    }

}

@media (max-width:450px){

    html{
       /* font-size: 70%;*/
    }

}


/* Base Styles */
.container.info {
    padding: 20px;
}

.display-4 {
  /*  font-size: 2.5rem;*/
}




/* Responsive Styles */
@media (max-width: 768px) {
    .display-4 {
        font-size: 1.75rem;
    }
    
    #ImagesDirListHeader {
        text-align: right;
    }

    .text-center .d-inline-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-content {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .display-4 {
       /*font-size: 1.5rem;*/
    }
    
    .text-center .d-inline-flex {
        space: 5px;
    }

    .container.info {
        padding-top: 50px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .display-4 {
        /*font-size: 2rem;*/
    }
}



/* Responsive Image on HOME Page =========================== */
.image-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.image-section img {
    max-width: 20%;
    height: auto;
    margin: 10px;
    flex: 1 1 200px; /* Minimum width of 200px for each image */
}

/* Media Queries for specific screen sizes */
@media (max-width: 425px) {
    .image-section img {
        flex: 1 1 0%; /* Full width images on small screens  */
        max-width: 17%;
        height: auto;
        margin: 10px;
    }
    .col-6 {
        flex: 0 0 50%;
        max-width: 22%;
    }
    .header-2 .navbar a {  
    font-size: 1rem;
}
} 


@media (min-width: 425px) {
    .col-6 {
        flex: 0 0 50%;
        max-width: 22%;
    }
}


@media (max-width: 525px) {
.image-section img {
    flex: 1 1 0%;
    max-width: 17%;
    height: auto;
    margin: 5px;
}    
    
    .header-2 .navbar a {  
    font-size: 1.3rem;
}

@media (min-width: 365px    ) {
    .image-section img {
        flex: 1 1 0%; /* Full width images on small screens  */
        max-width: 16%;
        height: auto;
        margin: 10px; 
    }
    .header-2 .navbar a {  
        font-size: 9px;
        padding: 0px;
    }

}

@media (max-width: 320px    ) {
    .image-section img {
        flex: 1 1 0%; /* Full width images on small screens  */
        max-width: 7%;
        height: auto;
        margin: 10px; 
    }
    .header-2 .navbar a {  
    font-size: 7px; 
    }
    .modal {
    width: 80%;

}

    #PhotoAlbumImgs img {
    margin: 2px 5px; 
    margin-left: 3%; 
}
}

@media (min-width: 321px) and (max-width: 364px) {
    /* Target font size for the desired screen width */
    .header-2 .navbar a {
        font-size: 1.3rem;  /* Adjust the font size as needed */
        padding: 0.2rem;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    /* Target font size for the desired screen width */
    .header-2 .navbar a {
        font-size: 20px;
    }
}


@media (max-width: 509px) {
    .image-section img {
      flex: 1 1 0%;  
    }
}
@media (max-width: 585px) {
.image-section img {
    flex: 1 1 0%;
    max-width: 12%;
    height: auto;
    margin: 10px;
}
}
@media (max-width: 600px) {
    .image-section img {
        flex: 1 1 -1%; /* Full width images on small screens  */
    }
}
@media (max-width: 320px) {
                #PhotoAlbumImgs img {
                margin-left: 2%; 
                }
                .navbar{
                padding: 0px; 
                }
}

@media (min-width: 601px) and (max-width: 1200px) {
    .image-section img {
        flex: 1 1 20%; /* Two images per row on medium screens */ 
    }
}

@media (min-width: 280px    ) {
    .image-section img {
        flex: 1 1 0%; /* Full width images on small screens  */
        max-width: 7%;
        height: auto;
        margin: 10px; 
    }

@media (min-width: 1201px) {
    .image-section img {
        flex: 1 1 23%; /* Four images per row on large screens 
    }
}



