/* 1. Tüm sayfanın ekran yüksekliğini kapsamasını sağlarız */
html, body {
    height: 100%;
    margin: 0;
}

/* 2. Body'yi esnek (flex) yapıp dikey sıralıyoruz */
body {
    display: flex;
    flex-direction: column;
}

/* 3. Sayfanın ana içeriğini temsil eden alanın tüm boşluğu doldurmasını sağlarız */
/* Eğer ana içeriğiniz bir <main> veya <div class="container"> içindeyse o class'ı seçmelisiniz */
main, .container, .content-wrapper { 
    flex: 1 0 auto;
}

/* 4. Sizin mevcut footer kodunuz (fixed ve bottom kaldırılmış hali) */
.custom-footer {
    margin: 45px 15px 15px 15px; /* Üst, Sağ, Alt, Sol boşluk */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.4); /* #ffffff66 karşılığı */
    border: 1px solid #000000;
    border-radius: 14px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
    
    /* Taşmayı engelleyen hayati ayarlar */
    display: block;
    clear: both;
    box-sizing: border-box; /* Border ve padding genişliğe dahil edilir */
    width: auto; /* Sabit genişlik yerine otomatik genişlik */
    overflow: hidden; /* Dışarı sarkan her şeyi gizler */
}

.footer-container {
    max-width: 1200px; /* İçeriğin çok yayılmasını önler */
    margin: 0 auto;    /* İçeriği footer içinde ortalar */
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* Linklerin alt alta binmemesi için */
.footer-links p {
    margin: 5px 0;
}

.center-big-content-block, .text-center.m-t {
    margin-bottom: 15px;
    min-height: 20px;
    padding: 10px;
    background-color: #004aad94;
    border: 1px solid #c8e2ae;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
    font-weight: 600;
    color: #ffffff;
}
.navbar-default .navbar-nav > li > a {
    color: #7596d1;
    font-size: 15px;
    font-weight: 700;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #ffffff;
    background-color: #7596d1;
}
@media (min-width: 768px) {
    .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        margin-left: -15px;
        font-size: 25px;
    }
}

}

.stretch .card {
    width: 100%;
}
.card {
    border-radius: 10px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid rgb(102 102 102 / 66%);
    border-radius: 10px;
    margin-bottom: 5px;
    box-shadow: inset -1px 20px 20px 8px #000000;
    border-left: 1px solid #3f7b8a;
    border-right: 1px solid #81292a;
}
.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
    color: #ccc;
    padding: 1rem;
}
.card5-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    color: #0095a9;
    padding: 2px;
    font-size: 15px;
    font-weight: 500;
    border-left: 20px solid #7596d1;
    border-radius: 10px;
    border-right: 20px solid #7596d1;
}
.card5 {
    border-radius: 10px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffffe3;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 10px;
    margin-bottom: 5px;
    min-width: 150px;

}
.component_card .card {
    padding: 2px;
    background: rgb(255 243 205 / 89%);
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    border: 1px none silver;
}

.justify-content-center3 {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
}

.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
    color: #4a4a4a;
    padding: 1rem;
    background: #ffffff;
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0px -2px 1px 3px #7596d159;
    border-radius: 10px;
}
.well2 {
    min-height: 20px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
    -webkit-box-shadow: inset 0px -1px 6px 0px rgba(0, 0, 0, .05);
    border-radius: 10px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    border-top: 1px solid #dfe5ef;
}