* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #343a40;
}

.navbar {
    background-color: #343a40;
    justify-content: space-between;
    align-items: center;
    display: flex;
    margin: 0 auto;
}

li{
    list-style: none;

}

.navbar .navbar-brand a {
    color: red;
    cursor: pointer;
    justify-content: space-between;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav-item {
    margin: 0 20px;
}

.nav-link {
    font-weight: bold;
    color: red;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-link:active,
.nav-link:hover {
    color: darkred;
}

.outer-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.background-container {
    background: url('images/WhatsApp Görsel 2024-05-27 saat 12.35.52_661cc203.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.4); */
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

h1 {
    font-size: 48px;
    margin: 0;
}

.buttons {
    margin-top: 20px;
}

.buttons .btn {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.3s;
}

.buttons .btn:hover {
    transform: translateY(-5px);
}

.yazi {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.yazi li {
    margin-right: 20px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: underline;
    list-style-type: none;
}

.card {
    margin: 0 auto 30px auto;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 4;
    display: flex;
    list-style: none;
    flex-direction: column;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    background-color: #f8f9fa; /* Arka plan rengi */
}

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

.card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-title {
    color: #333;
    transition: color 0.3s;
}

.card-title:hover {
    color: red;
}

.card-href {
    color: red;
    font-weight: bold;
    transition: color 0.3s;
}

.card-href:hover {
    color: darkred;
}

.about-container {
    display: inline-block;
}

.about-text {
    color: red;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.about-text:hover {
    color: black;
}

@media (max-width: 750px) {
    .navbar {
        height: auto;
    }
    .navbar-nav {
        flex-direction: column;
    }
    .outer-container {
        height: 50vh;
    }
    .content h1 {
        font-size: 32px;
    }
    .buttons .btn {
        font-size: 14px;
    }
    .yazi li {
        margin-right: 10px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .content h1 {
        font-size: 24px;
    }
    .buttons .btn {
        font-size: 12px;
    }
    .yazi li {
        font-size: 18px;
    }
}

.info-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 20px 0;
}

.info-item {
    flex: 1;
    padding: 0 20px;
}

.info-item p {
    margin: 0;
    font-weight: bold;
}


.container.my-5{
    background-color:#f8f9fa;
    padding: 20px;
    max-width: 1400px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    margin: 0 auto;
}

.misyon-vizyon-card {
    padding: 20px; /* Kart içeriğiyle arası */
    margin-bottom: 20px; /* Kartlar arası boşluk */
}

.misyon-vizyon-card h5 {
    color: #333; /* Kart başlığı rengi */
}

.misyon-vizyon-card p {
    color: #666; /* Kart metin rengi */
}

.misyon-vizyon-card:not(:last-child) {
    border-bottom: 2px solid #ccc; /* Son kart hariç diğer kartlara alt çizgi ekle */
}


.degerlerimiz {
    width: 200px; /* Resmin genişliği */
    height: auto; /* Yüksekliği otomatik olarak ayarla */
    float: right; /* Resmi sağa yasla */
    margin-left: 20px; /* Sol kenara boşluk bırak */
}

/* Ek CSS */
.navbar-nav .nav-item .dropdown-menu {
    display: none;
}

.navbar-nav .nav-item:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Bootstrap'in margin-top'unu sıfırlayın */
}


html{
    scroll-behavior: smooth;
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.navbar {
    background-color: #343a40;
    justify-content: space-between;
    align-items: center;
    display: flex;
    margin: 0 auto;
}

li{
    list-style: none;

}

.navbar .navbar-brand a {
    color: red;
    cursor: pointer;
    justify-content: space-between;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav-item {
    margin: 0 20px;
}

.nav-link {
    font-weight: bold;
    color: red;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-link:active,
.nav-link:hover {
    color: darkred;
}

.outer-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.background-container {
    background: url('images/WhatsApp Görsel 2024-05-27 saat 12.35.52_661cc203.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

h1 {
    font-size: 48px;
    margin: 0;
}

.buttons {
    margin-top: 20px;
}

.buttons .btn {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.3s;
}

.buttons .btn:hover {
    transform: translateY(-5px);
}

.yazi {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.yazi li {
    margin-right: 20px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: underline;
    list-style-type: none;
}

.card {
    margin: 0 auto 30px auto;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 4;
    display: flex;
    list-style: none;
    flex-direction: column;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    background-color: #f8f9fa; /* Arka plan rengi */
}

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

.card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-title {
    color: #333;
    transition: color 0.3s;
}

.card-title:hover {
    color: red;
}

.card-href {
    color: red;
    font-weight: bold;
    transition: color 0.3s;
}

.card-href:hover {
    color: darkred;
}

.about-container {
    display: inline-block;
}

.about-text {
    color: red;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.about-text:hover {
    color: black;
}

@media (max-width: 500px) {
    .navbar {
        height: auto;
    }
    .navbar-nav {
        flex-direction: column;
    }
    .outer-container {
        height: 50vh;
    }
    .content h1 {
        font-size: 32px;
    }
    .buttons .btn {
        font-size: 14px;
    }
    .yazi li {
        margin-right: 10px;
        font-size: 20px;
    }
}

@media (max-width: 858px) {
    .content h1 {
        font-size: 24px;
    }
    .buttons .btn {
        font-size: 12px;
    }
    .yazi li {
        font-size: 18px;
    }
}

.info-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 20px 0;
}

.info-item {
    flex: 1;
    padding: 0 20px;
}

.info-item p {
    margin: 0;
    font-weight: bold;
}


.container.my-5{
    background-color:#f8f9fa;
    padding: 20px;
    max-width: 1400px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    margin: 0 auto;
}

.misyon-vizyon-card {
    padding: 20px; /* Kart içeriğiyle arası */
    margin-bottom: 20px; /* Kartlar arası boşluk */
}

.misyon-vizyon-card h5 {
    color: #333; /* Kart başlığı rengi */
}

.misyon-vizyon-card p {
    color: #666; /* Kart metin rengi */
}

.misyon-vizyon-card:not(:last-child) {
    border-bottom: 2px solid #ccc; /* Son kart hariç diğer kartlara alt çizgi ekle */
}


.degerlerimiz {
    width: 200px; /* Resmin genişliği */
    height: auto; /* Yüksekliği otomatik olarak ayarla */
    float: right; /* Resmi sağa yasla */
    margin-left: 20px; /* Sol kenara boşluk bırak */
}

/* Ek CSS */
.navbar-nav .nav-item .dropdown-menu {
    display: none;
}

.navbar-nav .nav-item:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Bootstrap'in margin-top'unu sıfırlayın */
}


html{
    scroll-behavior: smooth;
}