*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
  border: none;
}
.bin .image{
  display: none;
}
html,
body,
main {
  width: 100% !important;
  height: auto; /* Set to auto for responsiveness */
  background-color: #e7f4ff;
  overflow-x: hidden;
}
main section.container div.ceo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
  text-align: center;
}

main section.container div.ceo h3 {
  font-size: 40px;
  font-weight: bolder;
}
div.ceo p{
  font-size: 24px;
}
div.ceo div.links {
  width: 100%;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
div.ceo div.links .btn {
  width: 30%;
  border: 2px solid #23298a;
}
div.ceo div.links .btn:hover {
  background-color: #23298a;
  color: white;
}
div.links #btn-join {
  background-color: #23298a;
  color: white;
  margin-left: 10px;
}
div.links #btn-join:hover {
  border: 2px solid #23298a;
  background: none !important;
  color: #23298a;
}
section.mission {
  width: 100%;
  padding: 70px;
  background: url("../images/bnuel-initiative/88c267e4f0ec8b6db3af70d0146ab601.jpg")
    no-repeat;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative; /* Add relative positioning */
  overflow: hidden; /* Prevent overflow of the pseudo-element */
}

section.mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #23298a; /* Overlay color */
  opacity: 0.9; /* Adjust opacity for transparency */
  /* z-index: 1; Layer it below content */
}

section.mission * {
  position: relative; /* Ensure content appears above overlay */
  z-index: 2;
}
section.mission p {
  font-size: 18px;
}
@media (max-width: 1000px) {
  div.ceo div.links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  div.ceo div.links .btn {
    width: 100%;
    margin: 4px 0 !important;
  }
  section.mission {
    padding: 70px 20px;
  }
}

section.values {
  width: 100%;
  padding: 15px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
section.values div.list li {
  font-size: 17px;
}
.core-objective-section {
  text-align: center;
  padding: 50px 20px;
}
.core-objective-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: bold;
}
.card {
  border: none;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  max-height: 200px;
  object-fit: cover;
}
.card-title {
  font-weight: bold;
  margin-top: 15px;
}
.card-text {
  font-size: 1rem;
  color: #555;
  padding: 0 15px 15px;
}

.contain-obj {
  background: url("../images/bnuel-initiative/88c267e4f0ec8b6db3af70d0146ab601.jpg")
    no-repeat center center;
  background-size: cover;
  padding: 40px 0;
  color: white;
  position: relative;
}

.contain-obj::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 58, 147, 0.918); /* Semi-transparent overlay */
  z-index: 1;
}

.contain-obj > * {
  z-index: 2;
}

.container {
  text-align: center;
}

header h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.content {
  /* display: flex; */
  /* justify-content: space-around; */
  /* align-items: center; */
  flex-wrap: wrap;
  gap: 20px;
}

.business-categories {
  padding: 0;
  margin: 0;
  text-align: left;
  width: 200px;
}

.business-categories li {
  margin-bottom: 10px;
}

.center-image {
  border-radius: 50%;
  overflow: hidden;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-image img {
  width: 100%;
  height: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: center;
  }
  .content .bin .image{
    width: 100%;
    display: inline!important;
    z-index: 100;
  }
  .ceo p{
    font-size: 17px!important;
  }
  .business-categories {
    width: 100%;
    padding: 20px;
    /* text-align: center; */
    /* list-style: none; */
  }
  .center-image {
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  header h2 {
    font-size: 1.5rem;
  }
  .text p {
    font-size: 1rem;
  }
  .business-categories {
    font-size: 0.9rem;
  }
}
#ceo h2 {
  color: #23298A;
  font-weight: 600;
  margin-top: 30px;
  font-weight: bold;
  text-align: center;
}
#ceo p {
  margin-bottom: 15px;
  line-height: 1.6;
}
#ceo ul {
  list-style-type: none;
  padding-left: 0;
}
#ceo ul li::before {
  content: "• ";
  color: #4a67b0;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
#ceo .footer-notes {
  margin-top: 30px;
  padding: 20px;
  border-radius: 8px;
}
#ceo .footer-notes ul li::before {
  content: "";
}
.header-section {
  text-align: center;
  padding: 20px;
}
.header-section h2 {
  font-weight: bold;
  color: #4a4a4a;
}
.header-section .btn-group button {
  background-color: #ffc94a; /* Yellow color for all buttons */
  color: #111;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  margin: 5px;
}
.image-section {
  text-align: center;
  margin: 20px 0;
  padding: 30px 100px;
}
.program-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin: 0 auto;
  max-width: 900px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.program-section h3 {
  text-align: center;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}
.program-section ul {
  padding: 0;
}
.program-section ul li {
  margin-bottom: 15px;
}
.program-section ul li strong {
  color: #333;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-section .btn-group button {
    font-size: 12px;
    padding: 8px 15px;
  }
  .program-section {
    padding: 20px;
  }
  .program-section h3 {
    font-size: 20px;
  }
  .image-section {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .header-section h2 {
    font-size: 20px;
  }
  .program-section ul li {
    font-size: 14px;
  }
  .header-section .btn-group {
    flex-direction: column;
  }
  .image-section {
    padding: 10px;
  }
}
.bnuel-monthly-challenge {
  width: 100%;
  padding: 30px;
  background: url("../images/bnuel-initiative/88c267e4f0ec8b6db3af70d0146ab601.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 30px;
}
.bnuel-monthly-challenge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #23288ae3; /* Overlay color */
  /* opacity: 0.5; */
}
.bnuel-monthly-challenge > * {
  color: #fff;
  z-index: 2;
}
.bnuel-monthly-challenge .img-text {
  display: flex;
  width: 100%;
  padding: 30px;
  line-height: 20px;
  justify-content: space-around;
}
.img-text .jtext p{

  line-height: 40px;
}
.bnuel-monthly-challenge img {
  height: 400px;
  border-radius: 12px;
}
.join-community {
  padding: 10px;
  background-color: white;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 12px;
}
@media (max-width: 1000px) {
  .bnuel-monthly-challenge .img-text{
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .bnuel-monthly-challenge img{
    display: none;
  }
  .bnuel-monthly-challenge .img-text p{
    line-height: 20px;
  }

}


footer {
  background-color: #020656;
  color: #fff;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.logo img {
  max-width: 150px;
}

.footer-container h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 1px solid #22287c;
  padding-bottom: 10px;
}

.footer-container ul {
  list-style: none;
  padding: 0;
}

.footer-container ul li {
  margin: 8px 0;
}

.footer-container a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-container a:hover {
  color: #f0f0f0;
}

.social-media ul {
  display: flex;
  padding: 0;
}

.social-media li {
  margin-right: 4px!important;
}

.social-media a {
  font-size: 24px;
  color: white;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #f0f0f0;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: start;
  }
  .footer-container h3{
    border: none;
  }

  .footer-container div {
      margin-bottom: 20px;
      text-align: left;
  }
  .social-media i{
    margin: 1px 5px;
  }
}

/* Full-page overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* Initially hidden */
  z-index: 999;
}

/* Popup box */
#popup {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  z-index: 1000;
  display: none; /* Initially hidden */
  max-width:50%;
  width: 90%; /* Responsive width */
  text-align: center;
}

/* Header overlay on image within popup */
#popup .img {
  position: relative;
}

/* Dark overlay on the image within popup */
#popup .overlay-darken {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  z-index: 1;
}

#popup .header {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 10px;
  color: white;
  font-size: 1.35rem;
  text-align: center;
  z-index: 2;
}

/* Close button in popup */
#popup .close-btn {
  position: absolute;
  top: 0px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  z-index: 1001;
  cursor: pointer;
  border-radius: 50%;
}

/* Form styling within popup */
#popup .text p {
  font-weight: bold;
  margin-bottom: 10px;
}

#popup .form-group label {
  font-weight: bold;
}

#popup .input-group .form-control {
  border-right: none;
}

#popup .input-group .input-group-append .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    #popup {
        max-width: 95%; /* Popup takes more space on small screens */
        width: 95%;
    }
    #popup .header {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    #popup .header {
        font-size: 1.2rem; /* Even smaller text size on very small screens */
    }
}

#popup .input-group-append button, 
#popup .input-group-append button:hover {
    background-color: #D9D9D980;
    color: #111;
    border-color: #d8d8d8;
}

#popup form input {
    border-color: #d8d8d8 !important;
}

#popup form input:focus {
    outline: none !important;
}



#popup a{
  background-color: #020656;
  padding: 9px 50px;
  text-decoration: none;
  color: #fff;
  border-radius: 3px;
}
