@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Genel font ayarları */
body {
    font-family: 'Montserrat', sans-serif;
}

/* Başlıklar için özel font ayarları */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.display-4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.lead {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.expert-card {
    transition: all 0.3s ease;
}
.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.expert-bio {
    display: none;
    transition: all 0.3s ease;
}
.expert-bio.active {
    display: block;
}
/* Yeni eklenen stiller */
.expert-card .card-img-top {
    height: 300px; /* Sabit yükseklik */
    object-fit: cover; /* Resmi kırparak sığdır */
    width: 100%;
}
.expert-card {
    width: 100%;
    height: 500px; /* Sabit kart yüksekliği */
}
.expert-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 300px); /* Resim yüksekliğini çıkar */
    padding: 1.5rem;
}
.expert-info {
    text-align: center;
}
.expert-actions {
    margin-top: auto;
}
/* Modal ortalama stilleri */
.modal {
    text-align: center;
}

.modal::before {
    content: '';
    display: inline-block;
    height: 100vh;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

/* Modal animasyon efekti */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}