

.open-btn {
  background-color: #bc2164;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

#infoToggle:checked + .modal {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  width: 70%;
  max-height: 80vh;          
  overflow-y: auto;            
  padding: 25px 35px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;          
  text-align: left;
  line-height: 1.6;
}

.close-btn {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 26px;
  color: #555;
  cursor: pointer;
}
.close-btn:hover {
  color: #000;
}

.modal-content ol {
  padding-left: 25px;
}
.modal-content li {
  margin-bottom: 10px;
}
       
       
       
.special-member{
            background-color: #ffffff8c;
    box-shadow: 0 0 5px rgb(124 124 124 / 66%);
    
           
       }
     
@media (max-width: 576px) {

  
  #conferenceCarousel .carousel-item {
    min-height: 50vh;              
    background-size: cover;
    background-position: top center; 
    background-repeat: no-repeat;
  }

  
  #conferenceCarousel .carousel-caption h1 {
    font-size: 1.3rem !important;  
    line-height: 1.3;
  }

  #conferenceCarousel .carousel-caption p {
    font-size: 0.9rem !important;   
    line-height: 1.4;
  }

  
  #conferenceCarousel .carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }
}

.modal-dialog {
    max-width: 50%;
    width: 50%;
}

.modal-header .close-button {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: black;
    cursor: pointer;
}


@media (max-width: 768px) {
    .modal-dialog {
        max-width: 90%;
        width: 90%;
    }

    .modal-header .close-button {
        font-size: 1.2rem; 
    }
}

@media (max-width: 480px) {
    .modal-dialog {
        max-width: 95%;
        width: 95%;
    }

    .modal-header .close-button {
        font-size: 1rem; 
    }
}
        .list-unstyled li strong {
    color: #c22262;
}
        
.btn.btn-primary {
  background-color: #6a004f;
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
}


.reg-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


.reg-content {
  background: #fff;
  width: 70%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 25px 35px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}


.close-btn {
  position: absolute;
  top: 8px;
  right: 15px !important;
  left: auto !important;
  direction: ltr !important;
  font-size: 24px;
  color: #444;
  cursor: pointer;
}

#reg-toggle:checked ~ .reg-modal {
  display: flex;
}


@media (max-width: 768px) {
  .reg-content {
    width: 90%;
    padding: 20px;
  }
}
    .success-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.success-content {
  background: #fff;
  max-width: 600px;
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.success-close {
  position: absolute;
  right: 16px;
  top: 10px;
  text-decoration: none;
  font-size: 28px;
  color: #333;
}
.success-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  background: #6a004f; 
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

#registered:target {
  display: flex;
}