@font-face {
    font-family: 'lalezar';
    src:  url('../fonts/Lalezar-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    } 
    body{
        font-family: lalezar;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        background-color: #f8f9fa; 
    }
    /* استایل برای اسلایدر */
.carousel-item img {
    width: 100%; 
    height: 800px; 
    object-fit: fill; /* اطمینان از پر شدن تصویر بدون برش */
    border-radius: 10px;
  }
  
  .carousel-caption {
    background: rgba(0, 0, 0, 0.5); /* پس‌زمینه نیمه‌شفاف برای متن */
    padding: 20px;
    border-radius: 10px;
  }
  
  .carousel-caption h5 {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
  }
  
  .carousel-caption p {
    font-size: 1.2rem;
    color: #fff;
  }
  /* Biography Section Styles */
.biography-section {
  padding: 80px 20px;
  background: #f8f9fa; 
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.biography-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: 0;
  filter: blur(80px);
}

.bio-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* سایه زیبا */
  z-index: 1;
  position: relative;
}

.bio-text {
  z-index: 1;
  position: relative;
}

.bio-text h2 {
  font-size: 2.8rem;
  color: #34495e;
  margin-bottom: 20px;
  position: relative;
}

.bio-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #555;
}

.bio-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.bio-text ul li {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.bio-text ul li strong {
  color: #1e3799;
}

.bio-text .btn {
  margin-top: 30px;
  padding: 12px 40px;
  font-size: 1.2rem;
  background-color: #1e3799;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px #333;
}

.bio-text .btn:hover {
  background-color: #576574;
  transform: translateY(-5px);
  box-shadow: 0 12px 25px #555;
}

@media (max-width: 768px) {
  .bio-text {
    text-align: center;
  }

  .bio-image {
    margin-bottom: 30px;
  }

  .bio-text .btn {
    display: inline-block;
    margin: 0 auto;
  }
}
/* Experience Section Styles */
.experience-section {
  padding: 80px 20px;
  background: #f8f9fa; 
  position: relative;
  overflow: hidden;
}

/* Decorative Elements */
.experience-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: 0;
  filter: blur(100px);
}

/* Section Title */
.section-title {
  font-size: 2.8rem;
  color: #34495e;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Sub Title */
.sub-title {
  font-size: 2rem;
  color: #1e3799;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Experience List */
.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-list li {
  background: #ffffff;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.experience-list h4 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #34495e;
}

.experience-list p {
  font-size: 1.2rem;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .sub-title {
    font-size: 1.8rem;
  }

  .experience-list li {
    padding: 15px;
  }

  .experience-list h4 {
    font-size: 1.3rem;
  }

  .experience-list p {
    font-size: 1.1rem;
  }
}
/* Research Section */
.research-section {
  padding: 80px 20px;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.8rem;
  color: #34495e;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}


/* Research List */
.research-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.research-list li {
  margin-bottom: 20px;
}

.research-title {
  display: block;
  width: 100%;
  text-align: left;
  background: #ffffff;
  color: #34495e;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-title:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: #f1f1f1;
}

.research-details {
  display: none;
  background: #ffffff;
  color: #555;
  margin-top: 10px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease;
}

.research-details p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.close-btn {
  display: inline-block;
  padding: 10px 20px;
  color: #1e3799;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #576574;
  transform: translateY(-3px);
  color: #ffffff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background-color: #f4f6f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 1.2rem;
  color: #7f8c8d;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.contact-info {
  width: 45%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-info .contact-item i {
  font-size: 2rem;
  color: #3498db;
  margin-right: 15px;
}

.contact-info .contact-item p {
  font-size: 1.1rem;
  color: #2c3e50;
}

.contact-form {
  width: 50%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact-form h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  color: #2c3e50;
  background-color: #fafafa;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.6);
  outline: none;
}

.contact-form button {
  padding: 12px 25px;
  background-color: #3498db;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.contact-form button:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.my-icon{
  margin: 0px 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }

  .contact-info, .contact-form {
    width: 100%;
    margin-bottom: 30px;
  }
}
/* Footer Section */
.footer {
  background: linear-gradient(to right, #576574, #1e3799);
  color: #ecf0f1;
  padding: 40px 20px;
  font-size: 1rem;
  position: relative;
  z-index: 10;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-logo a {
  font-size: 1.8rem;
  color: #ecf0f1;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-logo a:hover {
  color: #3498db;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links li {
  font-size: 1.1rem;
}

.footer-links a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3498db;
}

/* New contact section */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact .contact-link {
  color: #ecf0f1;
  font-size: 1.2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-contact .contact-link:hover {
  color: #3498db;
  transform: scale(1.1);
}

.footer-contact .contact-link i {
  font-size: 1.6rem;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #34495e;
  padding-top: 20px;
  margin-top: 20px;
}

.footer-bottom p {
  font-size: 1rem;
  color: #ecf0f1;
}

.footer-bottom a {
  color: #3498db;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links ul {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
  }
}
/* سایه برای تمام h2 های سایت */
h2 {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2), 0 0 25px rgba(52, 152, 219, 0.6);
}
.research-section button{
  text-align: right;
}
.hidden {
  display: none;
}

#success-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2ecc71;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: 16px;
  animation: fadeIn 0.5s ease, fadeOut 0.5s ease 3s;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateX(-50%) translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeOut {
  from {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
  }
  to {
      opacity: 0;
      transform: translateX(-50%) translateY(-20px);
  }
}



