@font-face {
    font-family: 'NunitoSans-Regular';
    src: url('../fonts/NunitoSans_10pt-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.3); /* Saydam arka plan */
    color: white;
    padding: 10px 20px;
    z-index: 1000;
}

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-section img {
    max-width: 150px;
}

.hero-section h1 {
    margin-top: 20px;
    font-size: 3em;
}

.toggle-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 1.2em;
    cursor: pointer;
    position: relative;
    outline: none;
    font-weight: 500;
}

.toggle-btn.active {
    font-weight: bold;
}


.toggle-btn.active::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background-color: black;
}

.content-slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out;
    font-family: NunitoSans-Regular;
}

.content-slide.active {
    transform: translateX(0);
}

#about-content {
    position: relative;
    height: 200px; /* Initial height */
    overflow: hidden;
    transition: height 0.5s ease-in-out;
    text-align: left;
}

#about-content p {
    font-size: 24px;
}

@media (min-width: 992px) {
  .col-lg-5th {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

@media (max-width: 768px) {
    .hero-section h1 {
    font-size: 2em;
    }
    .toggle-btn {
        font-size: 1em;
    }

    .about-section,
    .team-section {
        padding: 30px 0;
    }

    .about-section p,
    .team-section p {
        font-size: 16px;
    }
}

/* Masaüstü görünümü */
.services-mobile {
    display: none;
}
@media (max-width: 768px) {
    /* Mobil görünüm */
    .services-desktop {
        display: none;
    }
    .services-mobile {
        display: block;
        padding-bottom: 30px;
    }
    .about-con{
        padding: 20px 20px;
        margin: 0;
        width: 100%;
    }
    #about-content p{
        text-align: left;
        font-size:18px;
    }
    .toggle-buttons {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .toggle-btn {
        color: black;
        background: none;
        border: none;
        text-decoration: none;
        padding: 10px 0;
        margin: 0 0;
        font-size: 1.2em;
        cursor: pointer;
        position: relative;
        outline: none;
        font-weight: 500;
    }
    .row {
        --bs-gutter-x: 0;
    }
    #about-header {
        padding: 0;
        margin: 0;
        --bs-gutter-x: 0;
    }
}

/* Masaüstü Hero Section (default olarak görünür) */
.desktop-hero {
    display: block;
}

/* Mobil Hero Section (default olarak gizli) */
.mobile-hero {
    display: none;
}

/* Masaüstü için Mobil Hero'yu gizle */
@media (min-width: 769px) {
    .mobile-hero {
        display: none;
    }
    .desktop-hero {
        display: block;
    }
}

/* Mobil için Masaüstü Hero'yu gizle */
@media (max-width: 768px) {
    .desktop-hero {
        display: none;
    }
    .mobile-hero {
        display: block;
    }
}