.header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 99;
}

.header.image {
    position: relative;
    background-image: url(../img/mini-header.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

/* * Header */
.sub-slider {
    position: relative;
    height: auto;
    width: 100%;
    top: 0;
    z-index: 0;
}

.sub-slider .carousel-caption {
    position: absolute;
    top: 45%;
    left: 50px;
    text-align: start;
    color: #fff;
}

@media (max-width: 960px) {
    .sub-slider .carousel-caption {
        display: none;
    }

    .navbar-brand img {
        width: 75%;
    }
}

.sub-slider .carousel-indicators button {
    margin-top: -65px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 10px;
    margin-right: 10px;
}

.header .sub-breadcrumb {
    min-height: 40vh;
}

.header .sub-breadcrumb *,
.header .sub-breadcrumb *::before,
.header .sub-breadcrumb *::after {
    color: rgb(255, 255, 255, 0.5);
    text-decoration: none;
}

.header .sub-breadcrumb div:first-child {
    position: absolute;
    bottom: 15px;
    left: 50px;
}

.header .sub-breadcrumb div:last-child {
    position: absolute;
    bottom: 0px;
    right: 0px;

}

.header .sub-breadcrumb div:last-child img {
    position: absolute;
    right: 0px;
    bottom: 0;
    /* Alt kenara sabitle */
    transform: translateY(25%);
}


.header .sub-breadcrumb p.title {
    text-transform: uppercase;
}

.header .navbar .navbar-nav .nav-link {
    text-decoration: none;
    text-transform: uppercase;
    margin-left: 10px;
    width: max-content;
    margin-right: 10px;
}

.header .navbar.bg-light .navbar-nav .nav-link {
    color: #000;
}

.header .navbar:not(.bg-light) .navbar-nav .nav-link {
    color: #fff;
}

@media (max-width: 992px) {
    .header .navbar:not(.bg-light) #navbarNav {
        background-color: #fff;
    }

    .header .navbar:not(.bg-light) #navbarNav .nav-link {
        color: #000;
    }
}

.header .navbar.bg-light .navbar-nav .nav-link:hover,
.header .navbar:not(.bg-light) .navbar-nav .nav-link:hover {
    color: #007bff;
}

.header .navbar .navbar-nav .nav-link.active {
    font-weight: bold;
}

.header .navbar .navbar-nav .nav-item.lang:hover .dropdown-menu {
    display: block;
    transition: all 0.3s ease;
}

/* .dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
} */


/* * Footer */
.footer {
    background: #fff;
    padding: 40px 0 0 0;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 16px;
    color: #666;
}

.footer h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer ul {
    padding: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #007bff;
}

.footer ul li i {
    margin-right: 8px;
    color: #007bff;
}

.footer .border-start,
.footer .border-end {
    border-color: #e1e1e1;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 0.1px solid #e1e1e1;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
}

.footer-bottom a {
    color: #007bff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.about .row {
    background-image: url(../img/about_image.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.owl-carousel {
    padding: 10px;
}

.owl-carousel .item {
    border: 1px solid #F1F1F1 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    width: 100%;
    padding: 10px;
    overflow: hidden;
}

.owl-carousel .item:hover {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
    transition: 0.3s;
}

.owl-carousel .item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* === Genel yapı === */
.news {
    width: 100%;
    padding: 0;
    margin: 0;
}

.news .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

/* === Ortak sütun stilleri === */
.news .left,
.news .right {
    display: flex;
    padding: 0;
}

/* === Görsel bloğu === */
.news .left {
    flex-direction: column;
    justify-content: center;
}

.news .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === İçerik (sağ taraf) === */
.news .right {
    background-color: #5F6177;
    color: #FFFFFF;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 30px;
}

/* === Küçük resim === */
.news .custom-img {
    position: absolute;
    right: 0;
    z-index: 10;
    width: auto;
    height: 100%;
    flex-shrink: 0;
    border-radius: 10px;
}

/* === Metin içeriği === */
.news .text-overlay {
    flex: 1;
    display: flex;
    z-index: 11;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.news .text-overlay .description {
    width: 75%;
}

.news .text-overlay .title-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.news .text-overlay .desc-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* === Buton === */
.news .btn-custom {
    background-color: #999AAB;
    color: white;
    font-size: clamp(1rem, 2vw, 1.25rem);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.news .btn-custom:hover {
    background-color: #8c8797;
}

/* === Responsive: Mobil uyum === */
@media (max-width: 768px) {
    .news .row {
        flex-direction: column;
    }

    .news .right {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }

    .news .custom-img {
        margin-bottom: 15px;
    }

    .news .btn-custom {
        width: 100%;
        padding: 12px;
    }

    .news .text-overlay {
        align-items: center;
        text-align: center;
    }
}



.solution-partners h2 {
    color: #5F6177;
}

.contact-page *,
.news {
    font-family: "Afacad", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.contact-page .information .box,
.clients-page .box,
.blog-page .box {
    border: 1px solid #E5EAEE !important;
    border-radius: 3px;
}

.contact-page .information .box div:not(:last-child) {
    padding-bottom: 10px;
}

.contact-page iframe.map {
    width: 100%;
}

.contact-page form .input-color,
.contact-page form .input-color:focus,
.contact-page form .button-color,
.contact-page form .button-color:focus,
.contact-page form .button-color:hover {
    background-color: #F3F6F9 !important;
    color: #000;
    border-radius: 0;
    border-color: #E5EAEE;
}

.contact-page form textarea {
    resize: none;
}

.contact-page form input,
.contact-page form select {
    line-height: 2;
}

.contact-page form button {
    width: auto;
    padding: 10px 20px;
}



/* * Fonts */
.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-afacad {
    font-family: 'Afacad', sans-serif;
}

.color-theme-primary {
    color: #5F6177;
}

.color-theme-blue {
    color: #01266B;
}

.blog-page .other-news .card {
    transition: all 0.3s ease-in-out;
}

.blog-page .other-news .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-page * {
    font-family: 'Afacad', sans-serif;
    color: #5F6177;
}

.blog-page .blog * {
    font-size: 22px;
}

.short-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    /* Kaç satır göstereceğini belirt */
    line-height: 1.55em;
    /* Satır yüksekliği */
    height: auto;
    /* line-height * satır sayısı */
}