html {
    scroll-behavior: smooth;
}

#event-detail img {
    max-width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
}

#headings {
    position: relative;
}

#headings .breadcrumb-container {
    position: relative;
    display: inline-block;
    color: #021838;
    padding-left: 0;
    margin-bottom: 20px;
    margin-left: -50px;
}

#headings .breadcrumb-wrapper {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
}

#headings .breadcrumb-item {
    display: inline-block;
    font-family: Inter;
    font-size: 15px;
    font-weight: 400;
    line-height: 13.5px;
    text-align: left;
    padding-bottom: 5px;
    position: relative;
}

#headings .breadcrumb-item a {
    color: #021838 !important;
    text-decoration: none;
}

#headings .breadcrumb-separator {
    display: inline-block;
    margin: 0 20px;
    align-self: center;
}

#headings .breadcrumb-icon {
    width: 4.5px;
    height: 9px;
    opacity: 1;
    margin: 0;
    margin-bottom: 8px;
}

#headings .breadcrumb-line {
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background-color: #3e506b;
}

@media (min-width:1025px) {
    #headings .breadcrumb-container {
        margin-left: -712px
    }
}

@media (max-width:768px) {
    #headings .breadcrumb-container {
        margin-right: 0;
        margin-left: 5px;
    }
    #headings .breadcrumb-wrapper {
        flex-wrap: wrap;
    }
}

#main {
    margin: 20px 0;
}

#main img {
    max-height: 500px; /* Resmin yüksekliğini sınırlıyoruz */
    width: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.event-title {
    font-size: 35px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.event-content {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}
.event-details {
    margin-top: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 80px; 
    margin-left: 90px;
    text-align: center;
}

.event-details h4 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #23262F;
}

.event-details span {
    font-size: 20px;
    font-weight: 400;
    color: #585858; 
}

.event-details i {
    color: #5922fc;
    font-size: 26px; 
    margin-right: 15px; 
}

@media (max-width: 768px) {
    .event-details .d-flex {
        gap: 30px !important;
    }
}

.speakers-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.speakers-section .speakers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.speakers-section .speaker {
    font-size: 18px;
    color: #444;
}

.speakers-section .speaker img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.speakers-section .speaker-name {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    color: #0056b3;
}

.speakers-section .speaker-title {
    font-size: 16px;
    color: #666;
}
.modal-content {
    border-radius: 15px;/
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
    padding: 40px;
}
.modal-body {
    padding: 0;
}
.modal-body h5 {
    font-size: 1.25rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.form-control {
    border-radius: 30px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}
.btn-primary-2 {
    background-color: #021838; 
    border: none;
    padding: 10px;
    border-radius: 30px;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .btn-primary-2 {
        margin-left: -30px;
    }
  }

.btn-primary-2:hover {
    background-color: #021838;
}
#flash-message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050; 
    width: auto;
}
#flash-message {
    border-radius: 15px;
    padding: 10px 40px;
    min-width: 227px;
}    
.alert {
    margin-bottom: 0;
    margin-top: 50px;
}
.alert-dismissible .btn-close {
    position: absolute;
    top: -4px;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1rem;
}
.speaker-card {
    transition: transform 0.3s ease;
}

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

.speaker-photo {
    width: 100px !important;
    height: 100px !important;
    margin-left: 90px !important;
    object-fit: cover;
}               

.speaker-bio {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.speaker-details {
    margin-left: 10px
}

.card-title {
    font-size: 22px !important;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 1rem;
}

.py-5-speaker {
    padding-top: 0rem !important;
    padding-bottom: 3rem !important;
}

section#releated-articles .article-item img {
    aspect-ratio: 3 / 2; /* veya ihtiyacınıza göre başka bir oran */
    width: 100%;
    max-height: 200px; /* Yüksekliği sınırlayın, ihtiyacınıza göre ayarlayın */
    object-fit: cover; /* Resmi kapsayıcıya uydurur */
  }

  section#academic-section {
    margin-top: 50px;
    padding: 75px 0;
    background-color: #97014a;
    background-image: url("../media/img/academic-section-bg.webp");
    background-size: cover;
    background-blend-mode: hard-light;
  }

  @media screen and (max-width: 768px) {
    section#academic-section .row .d-flex {
      flex-direction: column;
      gap: 20px;
      text-align: center;
    }
  }

  @media screen and (max-width: 768px) {
    section#academic-section button {
      padding: 10px 20px;
      font-size: 24px;
    }
  }

  section#academic-section p.text {
    color: white;
    font-size: 45px;
    font-weight: 300;
  }

  @media screen and (max-width: 768px) {
    section#speakers h2 {
        margin-left: 45px !important ;
    }
    section#speakers .row {
        margin-left: -50px !important ;
    }
  }

  section#academic-section p.text strong {
    font-weight: 500;
  }

  section#academic-section p.text span {
    background: linear-gradient(to right, #00ffd1, #1876ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .dropdown-wrapper {
    position: relative;
  }
  
  .dropdown-wrapper select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    padding-right: 30px; 
  }
  
  .dropdown-wrapper::after {
    content: '\f078'; 
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #555; 
  }