body {
  margin: 0;
  font-family: 'IRANSansWeb(FaNum)';
  unicode-bidi: plaintext;
  direction: rtl;
  background: #f0f0f0;
  color: #333;

  background-image: url('./image/back.webp');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.overlay {
  padding: 40px;
  max-width: 900px;
  margin: 5px auto;
  border-radius: 15px;
  background-color: rgba(223, 222, 222, 0.44);
  box-shadow: 3px 3px 10px #285096, -3px -3px 10px #28509681;
}

h1, h2, h3 {
  font-size: 2rem;
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow:
  0 0 5px #1a1aff,
  0 0 10px #1a1aff,
  0 0 20px #1a1aff,
  0 0 40px #0000cc,
  0 0 80px #000099;
}
h3 {
  font-size: 1.2rem;
}


.countdown {
  text-align: center;
  font-size: 18px;
  margin-bottom: 30px;
  color: #fff;
}

label {
  font-weight: bold;
  margin-top: 15px;
  display: block;
}

input, textarea, select{
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.Reg_btn{
  background-color: #2f0494;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.5s ease-in-out;
}
button:hover{
  background-color: #662fe8;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transform: scale(1.1);

}
.btn-box{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.Certificate {
  display: flex;
  justify-content: center; /* افقی وسط‌چین */
  align-items: center;     /* عمودی وسط‌چین */
  flex-direction: column;  /* اگر چند آیتم داری، به صورت ستونی بچین */
  text-align: center;      /* برای متن‌ها */
}
.CertIMG {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}




/* سخنران‌ها */
.speakers-section {
  margin-top: 60px;
}

.speakers-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.speaker-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.speaker-card:hover {
  transform: translateY(-5px);
}

.speaker-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.speaker-info {
  padding: 20px;
  text-align: center;
}

.speaker-info h3 {
  margin: 10px 0 5px;
  font-size: 20px;
  color: #333;
}

.speaker-info p {
    font-size: 14px;
}

@media screen and (max-width: 900px) and (min-width: 1024px){

    .overlay{
      width: 80%;  
    }
    .EventDetail{
      text-align: center;
    }

  }

@media screen and (max-width: 600px){
    .countdown{
        font-size: smaller;
    }
    h1,h2{
      font-size: 1.2rem;
    }
    h3{
     font-size: 0.7rem;
    }
    .overlay{
      margin: 1rem;
      padding: 1rem;
    }
    .location{
      max-width: 80%;
    }
    .EvenDetail{
      max-width: 80%;
      text-align: center;
    }

    .EventDetail{
      text-align: center;
    }
          .tab-container {
        width: 90%;
      }

    .tab-buttons button {
        font-size: 0.9rem;
        padding: 0.8rem;
      }

    form input {
        font-size: 0.9rem;
      }
   .navbar button {
        width: 100%;
        max-width: 300px;
        
      }

    #PreviewForm {
      width: 80% !important;
      font-size: x-small;
    }

    #PreviewForm #btn_Box .Reg_btn{
      width: 45%;
      font-size: small;

    }
    .Status{
      width: 70%;
    }
    
    }
#registrationForm{
  background-color: #285096;
  margin: 1rem auto;
  padding: 2rem 2rem;
  border-radius: 2rem;
  color: #fff;
  font-family: 'IRANSansWeb(FaNum)';
  font-size: large;
}
#location-Container{
  background-color: #285096;
  margin: 1rem auto;
  padding: 2rem 2rem;
  border-radius: 2rem;
  color: #fff;
  font-family: 'IRANSansWeb(FaNum)';
  font-size: large;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.organizers {
  margin-top: 60px;
  text-align: center;
}

.organizers h2 {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 30px;
}

.organizer-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.organizer-card {
  width: 180px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s;
}

.organizer-card:hover {
  transform: translateY(-5px);
}

.organizer-card img {
  width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.organizer-card p {
  font-weight: bold;
  font-size: 16px;
  color: #333;
}
/* فرم دهی قسمت عناوین سمینار */

.speaker {
      margin-bottom: 20px;
      padding: 15px;
      border-right: 15px solid #090998;
      background-color: #eef2ff;
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .speaker:hover {
      background-color: #dbe3ff;
      transform: scale(1.02);
    }

    .speaker strong {
      color: #000066;
      font-size: 18px;
    }

    .speaker span {
      display: block;
      margin-top: 5px;
      color: #333;
      font-size: 16px;
    }
/* فرم دهی قسمت عناوین سمینار */

/* فرم دهی قسمت آدرس و ساعت برگزاری */
.location {
  width: 250px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s;
  display: inline-block;
  gap: 2rem;
  unicode-bidi: plaintext;

}
.EventDetail{
  width: 350px;
  border-radius: 12px;
  padding: 10px;
  transition: transform 0.3s;
  display: inline-block;
  gap: 2rem;
  color: #ffffff;
  unicode-bidi: plaintext;

}

.location:hover {
  transform: translateY(-5px);
}

.location img {
  width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.location p {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #333;
}
/* فرم دهی قسمت آدرس و ساعت برگزاری */

/* فرم دهی به قسمت ثبت نام */
    .tab-container {
      max-width: 700px;
      margin: auto;
      background-color: #fff;
      border-radius: 1rem;
      box-shadow: 0 0 20px rgba(0,0,0,0.3);
      overflow: hidden;
    }

    .tab-buttons {
      display: flex;
      justify-content: space-around;
      background-color: #285096;
    }

    .tab-buttons button {
      flex: 1;
      padding: 1rem;
      background: none;
      border: none;
      color: #fff;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .tab-buttons button.active {
      background-color: green;
    }

    .tab-content {
      padding: 2rem;
      display: none;
    }

    .tab-content.active {
      display: block;
    }

    form input {
      width: 100%;
      padding: 0.7rem;
      margin-bottom: 1rem;
      border: 1px solid #ccc;
      border-radius: 0.5rem;
      font-size: 1rem;
    }

    .form-actions {
      display: flex;
      justify-content: center;
      gap: 1rem;
    }

    .form-actions button {
      padding: 0.7rem 1.5rem;
      border: none;
      border-radius: 0.5rem;
      background-color: #285096;
      color: #fff;
      cursor: pointer;
      font-weight: bold;
    }
    input[type="tel"]{
      direction: rtl;
    }
/* فرم دهی به قسمت ثبت نام */

/* Start فرم دهی به قیمت شرایط ثبت نام Start */
  #FeesCondition{
    background-color: #285096;
    margin: 1rem auto;
    padding: 2rem 2rem;
    border-radius: 2rem;
    color: #fff;
    font-family: 'IRANSansWeb(FaNum)';
    font-size: large;
    text-align: center;
    justify-content: center;
  }
  #FeesCondition p{
    font-size: larger;
  }
/* END فرم دهی به قیمت شرایط ثبت نام END */

    .navbar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 0px 15px;
    }

    .navbar button {
      background-color: #002244;
      color: white;
      border: none;
      border-radius: 25px;
      padding: 12px 24px;
      margin: 8px;
      font-size: 16px;
      min-width: 120px;
      cursor: pointer;
      box-shadow: 3px 3px 10px #285096, -3px -3px 10px #28509681;

      transition: background-color 0.3s ease;
    }

    .navbar button:hover {
      background-color: #000000;
      color: white;
    }

    /* استایل تمیز نوشته شده */
    #Container_logo{
      display: flex;
      justify-content: center;
      align-items: center;
    }
    #PreviewForm{
      background-color:rgba(223, 222, 222, 0.44);
      border-radius: 1rem;
      width: 40%;
      margin:0px auto;
      padding: 1rem;
      box-shadow: 3px 3px 10px #285096, -3px -3px 10px #28509681;

    }

    #PreviewForm label{
      color: #fff;
      alignment-baseline: central;
      display: flex;
      align-items: center;
      height: auto;
      margin:0px;
        }
    #PreviewForm input, select{
      margin: 0px;
      min-width: 3rem;
      transition: all 0.5s ease-in-out;
      
    }
   #PreviewForm input:hover, select:hover{
    transform: scale(1.05);
    box-shadow: 3px 3px 10px #285096, -3px -3px 10px #28509681;


   }   
    #PreviewForm table{
      margin: 0px auto;
      
    }
    #PreviewForm #btn_Box button{
      width: 30%;

    }


    #btn_Box{
      display: flex;
      justify-content: center;
      gap: 1rem;
    }

    .info-item {
    margin-bottom: 0.2rem;

}
.info-label {
    font-weight: bold;
    color: #000000;
    margin-bottom: 0rem;
    display: block;
    font-family: 'IRANSansWeb(FaNum)';
}
.info-value {
    padding: 0.3rem 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid;
    color: #285096;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.Status{
    border-radius: 15px;
    background:rgba(223, 222, 222, 0.44);
    box-shadow: 3px 3px 10px #285096, -3px -3px 10px #28509681;
    max-width: max-content;
    height: max-content;
    padding: 30px;
    margin: 1rem auto;
    transition: all 0.7s ease-in-out;
    font-family: 'yekan';
    font-weight: bold;
    font-size: 16px;
    animation: MoveBox 5s ease-in-out infinite;
    text-align: center;
    direction: rtl;
}

  .CertIMG{
    height: 60%;
    width: 60%;
  }

    .iicafooter{
    font-family: 'yekan';
    font-size: 12px;
    font-family: 'yekan';
    padding:10px auto;
    margin:0.5rem auto;
    color: #FFFFFF;
    text-shadow: rgb(45,45,45);
    direction: rtl;
    text-align:center;
    display: block;
}