.hero-container {
    width: 100%;
    margin: 0;
    text-align: center;
}
.hero-title {
    font-size: 60px;
    line-height: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap; /* Geniş ekranlarda satır geçişi yok */
    text-align: center;
    gap: 10px;
}
.hero-title.horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-title span,
.hero-title .dynamic-wrapper {
    display: inline;
    color: #293b84;
}
#dynamic-text {
    color: #44ac3b;
}
.dynamic-wrapper, .description-wrapper {
    position: relative;
    min-height: 60px;
}
/*.description-wrapper {*/
/*    min-height: 80px;*/
/*}*/
.hero-description {
    max-width: 700px;
    margin: 30px auto 30px;
    font-size: 18px;
    line-height: 1.5;
    color: rgb(41, 59, 132);
}
#dynamic-text, #dynamic-description {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}
#dynamic-text.fade, #dynamic-description.fade {
    opacity: 0;
}

/* Tablet ve küçük cihazlar için */
@media (max-width: 1024px) {
    .hero-container {
        padding: 20px;
    }
    .hero-title {
        flex-wrap: wrap; /* Satır geçişine izin veriyoruz */
        gap: 8px;
    }
    .dynamic-wrapper {
        min-width: auto;
        text-align: center;
    }
    .hero-description {
        max-width: 600px;
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Mobil cihazlar için */
@media (max-width: 768px) {
    .hero-title {
        flex-wrap: wrap;
        gap: 5px;
    }
    .dynamic-wrapper {
        text-align: center;
        width: 100%;
    }
    #dynamic-text {
        font-size: 30px;
    }
    .hero-description {
        font-size: 14px;
        padding: 0 10px;
    }
    .dynamic-wrapper, .description-wrapper {
        min-height: auto; /* Dinamik yükseklik için */
    }
}

/* Küçük mobil cihazlar (telefonlar yatay mod) için */
@media (max-width: 480px) {
    .hero-title {
        font-size: 45px;
        flex-direction: column; /* Başlıkları dikey hizalıyoruz */
        gap: 5px;
    }
    #dynamic-text {
        font-size: 45px;
        line-height: 1.2;
    }
    .hero-description {
        font-size: 16px;
        line-height: 1.7;
        margin-top: 20px;
    }
}
