.navbar {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;

}

.logo img {
    width: 150px;
    height: auto;
    margin-right: 15px;
}


.navbar-nav .nav-link {
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: #dc3545;
}

.language-selector {
    margin-right: 15px;
    select {
        border: 1px solid #fff;
        background-color: transparent;
        cursor: pointer;
    }
}


.contact-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
    font-weight: 500;
}

.contact-button:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.5);
}

.contact-button i {
    margin-right: 8px;
    font-size: 1.1em;
}

@media (max-width: 991px) {

    .navbar-nav,
    .language-selector,
    .contact-button {
        margin-top: 10px;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    .navbar {
        padding: 5px 10px;
    }

    .logo img {
        width: 120px;
    }
    .contact-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        position: relative;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.8);
    }

    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1030;
        border: none;
        background-color: transparent;
    }

    .logo {
        flex-grow: 1;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 10px 10px;
        transition: all 0.3s ease-in-out;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 3px 0;
    }

    .navbar-nav .nav-link {
        padding: 6px;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        background-color: rgba(220, 53, 69, 0.1);
        border-radius: 5px;
    }

    .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .language-selector {
        margin-top: 8px;
    }

    #languageSelect {
        background-color: transparent;
        border: 1px solid #dc3545;
        border-radius: 20px;
        padding: 5px 25px 5px 15px;
        color: #dc3545;
        transition: all 0.3s ease;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url('data:image/svg+xml;utf8,<svg fill="%23dc3545" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 20px;
        margin-left: 8px;
    }

    #languageSelect:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
    }

}

/* SLİDER START */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('../images/homepage/ii.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: right;
    justify-content: right;
    color: white;
    text-align: center;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Arkaplanı karartmak için */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner h1 {
    font-size: 52px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.banner p {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 10px;
}

.banner button {
    padding: 12px 24px;
    font-size: 16px;
    background-color:#dc3545;;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.banner button:hover {
    background-color: #dc3545;
    transform: translateY(-2px);
}

.banner button:active {
    background-color: #dc3545;
    transform: translateY(0);
}

/* Social Media */

.social-icons {
    position: fixed;
    right: 2rem;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.social-icons a {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #dc3545;
}



/* Busines Sector */
.busines-sector card {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .busines-sector card :hover {
    background-color: #dc3545;
    color: rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   
  }
  
  .busines-sector card i {
    color: #ffffff;
  }
  
  .busines-sector card-title {
    font-size: 1.25rem;
    margin-bottom: 2.75rem;
  }
  
  .busines-sector card-text {
    font-size: 1rem;
  }



  /* About Us */
  .about-us {
    background-color: #f8f9fa;
    padding: 80px 0;
}
.about-us .badge-custom {
    background-color: #4f4f4f;
    color: rgb(255, 255, 255);
    padding: 10px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
}
.about-us .image-wrapper {
    position: relative;
}

.about-us .about-us-label {
    color: #dc3545;
    font-weight: bold;
}
.about-us .service-item:before {
    content: '✓';
    color: #dc3545;
    margin-right: 10px;
}
.about-us .btn-custom {
    background-color: #dc3545;
    color: white;
}
 

/* services  */

.services {
    padding: 40px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}
.services::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f8f9fa 25%, #e9ecef 25%, #e9ecef 50%, #f8f9fa 50%, #f8f9fa 75%, #e9ecef 75%);
    background-size: 20px 20px;
    transform: rotate(45deg);
    z-index: 0;
}
.services .container {
    position: relative;
    z-index: 1;
}
.services .subtitle {
    color: #dc3545;
    font-weight: bold;
    font-size: 0.8em;
    display: inline-block;
    padding: 3px 10px;
    background-color: #ffe0e3;
    border-radius: 15px;
}
.services h2 {
    color: #333;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 30px;
}

.process-item {
    text-align: center;
    padding: 10px;
}
.process-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    border: 2px solid #dc3545;
    box-shadow: 0 0 0 5px #f8f9fa, 0 0 10px rgba(220, 53, 69, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.process-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background-color: #f8f9fa;
    border-radius: 50%;
    z-index: -1;
}
.process-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 30%, rgba(220, 53, 69, 0.1) 70%);
    border-radius: 50%;
    z-index: 1;
}
.process-icon i {
    font-size: 3em;
    color: #dc3545;
}
.process-title {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 5px;
}
.process-description {
    color: #6c757d;
    font-size: 1em;
}
.process-line {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(to right, #dc3545 0, #dc3545 5px, transparent 5px, transparent 10px);
    z-index: -1;
}


/* sertifika */

.certification {
    padding: 50px 0;
    overflow-x: hidden;
}
.certification h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}
.cert-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}
.cert-container {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    padding: 20px 0;
}
.cert-container::-webkit-scrollbar {
    display: none;
}
.cert-slide {
    flex: 0 0 auto;
    width: 210px; /* A4 width scaled down */
    margin: 0 10px;
    scroll-snap-align: center;
}
.cert-image {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    height: 297px; /* A4 height scaled down */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}
.cert-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
}
.slider-arrow.slider-next {
    background-color: #dc3545;
    color: white;
}
.slider-arrow.slider-prev {
    background-color: #dc3545;
    color: white;
}

.slider-prev {
    left: 10px;
}
.slider-next {
    right: 10px;
}
@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
    .cert-container {
        justify-content: flex-start;
        padding: 20px 15px;
    }
}


/* Blog  */

.blog {
    padding: 50px 0;
}
.latest-blog-label {
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}
.view-all-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}
.card-title {
    font-weight: bold;
}
.read-more-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: bold;
}

/* Map */

.map-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.map-container {
    position: relative;
    height: 400px;
    background-color: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}
.map-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #dc3545;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.map-pin::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #dc3545;
}
.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.contact-info h3 {
    margin-bottom: 20px;
    color: #333;
}
.contact-info p {
    margin-bottom: 10px;
    color: #666;
}
.contact-info i {
    margin-right: 10px;
    color: #dc3545;;
}


/* footer */

.footer {
    background-color: #343a40;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.footer img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}
.footer a {
    color: #fff;
    text-decoration: none;
}
.footer a:hover {
    color: #f8f9fa;
}
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 200% 200%;
    animation: rainbow 5s ease-in-out infinite;
}
@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cert-slider {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.cert-container {
    display: flex;
    transition: transform 0.3s ease;
}

.cert-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    display: none;
}

.cert-slide.active {
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

@media (min-width: 768px) {
    .cert-slide {
        flex: 0 0 25%;
        max-width: 25%;
    }
}