.header-section {
    opacity: 0; 
    transform: translateY(20px); 
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.animated-heading {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}


.animated-heading.show {
    opacity: 1;
    transform: translateY(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}


body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.navbar {
  background-color: #02264b;
  border-bottom: 5px solid #fff;
  color: #fff;
  color: white;
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-logo {
  height: 40px; /* Adjust based on your logo size */
  margin-right: 30px;
  max-height: max-content;
 
}

.menu-desktop {
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu-desktop a {
  text-decoration: none;
  color: rgb(255, 255, 255);
}

.menu-desktop .divider {
  color: rgba(255, 255, 255, 0.308);
}

.auth-buttons {
  display: flex;
  gap: 15px;

}

.login-btn, .signup-btn {
 text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;


}

.login-btn {
  background: none;
  border: none;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 10px; /* adds space between text & underline */
  font-size: 16px;
  cursor: pointer;

}

.login-btn:hover {
  font-weight: bold;
  color: #0181fa;
}
.signup-btn {
  background-color: #ffffff00;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.signup-btn:hover {
  font-weight: bold;
  color: #ffffff;
  background-color: #0181fa;
  border: 1px solid #0181fa;
}



.menu-toggle {
  display: none;
  cursor: pointer;
}

.kebab {
  font-size: 30px;
  padding-right: 5px;
  padding-left: 15px;
  max-height: max-content;
}


.menu-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: black;
  flex-direction: column;
  padding: 20px;
}

.menu-mobile a {
  text-decoration: none;
  color: white;
  padding: 10px 0;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
  padding: 10px 10px;

}
  .menu-desktop {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .auth-buttons {
    gap: 5px;
    max-height: max-content;
  }
  .login-btn, .signup-btn {
    padding: 6px 10px;
    font-size: 14px;
  }
  .menu-mobile {
    display: none;
  }
  .navbar-logo {
    margin-right: 10px;
    height: 30px;
  }
  .menu-toggle.active + .menu-mobile {
    display: flex;
  }
}











.container {
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    max-width: 1200px; 
    margin: auto; 
}
* {
    box-sizing: border-box;
}
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}
.flex-container {
    display: flex;
    flex-wrap: wrap; 
}

.header-section {
    background: url('../img/img05.jpg') no-repeat center center/cover;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.header-section::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.726); 
}
.header-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 100%;
    max-width: 500px; 
}


.updates {
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
    position: relative;
    overflow: hidden;
}

.update h2 {
    font-size: 1em;
    color: rgb(39, 38, 38);
    margin-bottom: 5px;
}

.update-slider {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
}


.update-list {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.update-item {
    min-width: 100%;
    padding: 50px;
    text-align: left;
    font-size: small;
    background: #f3f4f6;
    border-radius: 0px;
}


.update-item button {
    background-color: #0077d4; 
    color: white;
    border: none; 
    padding: 10px 20px;
    margin-top: 10px; 
    font-size: 16px; 
    font-weight: bold; 
    border-radius: 10px; 
    cursor: pointer; 
    transition: background 0.3s ease, transform 0.2s ease;
}

.update-item button:hover {
    background-color: #0056b3; 
    transform: scale(1.05); 
}


.update-item {
    margin-bottom: 20px; 
}


.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: rgb(4, 4, 7);
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10; 
}


.prev {
    left: 10px; 
    margin-left: 10px;
}

.next {
    right: 10px; 
    margin-right: 10px;
}


@media (max-width: 768px) {
    .prev {
        left: 5px;
    }

    .next {
        right: 5px;
    }
}






.button-container button {
    background-color: #004aad;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
    min-width: 120px;
}

.feedback {
    padding: 40px 10%;
    background-color: #323333;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.feedback h6 {
    font-size: 2em;
    color: white;
    margin-bottom: 5px;
}

.feedback p {
    font-size:large;
    color: #c8c8ca;
}
.feedback a {
    color: #f7dc48;
    text-decoration: none; 
    margin-top: auto;
}


.feedback a:hover {
    color: rgb(248, 238, 181);
}

.donation-section {
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 500px;
}

.donation-section h3 {
    color: #02264b;
    font-size: 20px;
    margin-bottom: 10px;
}

.donation-section p {
    font-size: small;
    color: #3b4253;
}

.donate-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #02264b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 10px;
}

.donate-btn:hover {
    background: #0b325a;
    color: #ffffff;
}
.footer {
    margin-top: 50px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.993);
    color: #ffffff;
    font-size: small;
    text-align: center;
    width: 100%;
}
a {
    color: rgb(128, 126, 126); 
    text-decoration: none; 
    margin-top: auto;
}


a:hover {
    color: rgb(68, 67, 67);
}
footer p {
    margin: 0;
}

#viewMemoButton button {
    padding: 10px 20px;
    margin: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
  }

  #pdfModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
  }
  .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 6px solid #f3f3f3;
  border-top: 6px solid #333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  z-index: 1000;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

  .modal-content {
    background-color: #fff;
    padding: 5px;
    width: 100%;
    height: 100%;
    max-width:100%;
    max-height: 100%;
    overflow: hidden;
    border-radius: 0;
    text-align: center;
  }
  
  #pdf-scroll-wrapper {
    overflow-y: auto;
    max-height: 100%; /* Adjust as needed */
    padding: 5px; /* To prevent scrollbars overlapping */
  }
  
  #pdf-container {
    display: block;
    margin: 0;
  }
  
  #pdf-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    margin: 0 auto 20px;
    border-radius: 4px;
  }
  
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    
  }

  .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    width: 100%;
    margin-left: 20px auto;

  }
  
  .download-btn:hover {
    background-color: #0056b3;
    color: #ffffff;
  }
  

  
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .filters {
        flex-direction: column;
    }
}


.container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 15px;
}

/* Flex and Grid Utility */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.grid-container {
    display: grid;
    gap: 20px;
}

/* Image & Video Responsiveness */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: bold;
}

.content p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #f5ed7d;
}

   .hero-section {
        height: 50vh;
    }

    .content p {
        font-size: 3.5vw;
    }

    .updates h2, .feedback h2 {
        font-size: 2em;
    }
    .update-slider {
        overflow-x: scroll;
    }

    .update-list {
        flex-wrap: nowrap;
    }

    .update-item {
        flex: 0 0 100%;
    }

    .button-container button {
        width: 100%;
    }

  
    @media (min-width: 1024px) {
        .content h1 {
            font-size: 2rem;
        }
    
        .content p {
            font-size: 1rem;
        }
    
        .container {
            max-width: 1200px;
            margin: auto;
        }
    
        .updates h2, .feedback h2 {
            font-size: 2rem;
        }
    
        .update-item {
            flex: 0 0 300px;
        }
    
        .hero-section {
            height: 90vh;
        }
    }

    
    .more-text {
  display: none;
}
.readmore-btn {
  background: none;
  border: none;
  color: #007BFF;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
}
.readmore-btn:hover {
  text-decoration: underline;
}

