#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #02264b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .splash-logo {
    width: 250px;
    height: auto;
    animation: fadeInOut 5s ease-in-out forwards;
  }
  
  @keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    max-width: 100vw;
}


.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 {
    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 img {
width: 150px;
margin: auto;
margin-bottom: 10px;
opacity: 50;

}
.content h1 {
    font-size: 100%;
    font-weight: bold;
}

.content p {
    font-size: 90%;
    color: #f5ed7d;
    text-align: justify;
}


.purpose-section {
    background-color: #02264b;
    color: #ffffff;
    text-align: center;
    padding: 5%;
}

.purpose-section .content {
    max-width: 800px;
    margin: 0 auto;
}

.purpose-section h2 {
    font-size: clamp(2rem, 2vw, 2.5rem);
    line-height: normal;
    margin-bottom: 15px;
    margin-top: 50px;
}

.purpose-section p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: start;
    
}

.purpose-section .btn {
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    margin: 5px; /* Optional: space between buttons */
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.purpose-section .btn.past-questions-btn {
    background-color: #ffffff;
    color: #02264b;
    margin-bottom: 15px;
}

.purpose-section .btn.past-questions-btn:hover {
    background-color: #f5ed7b;
    color: #02264b;
}
.purpose-section .btn.update-btn {
    border: 1px solid #ffffff;
    color: #ffffff;
    margin-bottom: 50px;
}

.purpose-section .btn.update-btn:hover {
    background-color: #0077d4;
    border: none;
    color: #ffffff;
}
.about-section {
    background-color: #0b4177;
    text-align: center;
    padding: 1%;
   
}

.about-section .content {
    max-width: 800px;
    margin: auto;
}

.about-section h2 {
    color: #f5ed7b;
    font-size: clamp(2.5rem, 2vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 15px;
    margin-top: 50px;
}

.about-section p {
    color: #ffffff;
    font-size: clamp(2rem, 2.5vw, 2.2rem);
    margin-bottom: 10px;
    text-align: start;
   
   
}
.read-more-link {
    color: #86baf1;
    text-decoration: none;
    font-weight: bold;
  }
  
  .read-more-link:hover {
    text-decoration: underline;
    color: #f2f8ff;
  }

.no-underline {
    background-color: #0077d4;
    color: #fff;
    width: 80%;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.about-section .no-underline:hover {
    background-color: #003580;
    color: #fff;
}


.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;
    }
}


    
   .banner-section {
    height: 20vh;
    }
   .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%;
    }

    form input,
    form textarea {
        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;
        }
        .banner-section {
            height: 60vh;
            }
        .hero-section {
            height: 90vh;
        }
    }



/* Dim background */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.685);
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 999;
}

/* Popup Box */
#updatePopup {
  position: fixed;
  align-items: center;
  align-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px 25px;
  border-radius: 25px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  text-align: center;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1000;
  width: 80%;
  max-width: 400px;
}

/* Popup Text */
#updatePopup h2 {
  font-size: 200%;
  margin-bottom: 10px;
  line-height: 38px;
}



/* Popup Button */
#updatePopup button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

#updatePopup button:hover {
  background: #0056b3;
}

