﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "Work Sans", sans-serif;*/
    font-family: "Inter", serif;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #888, #555);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #555, #333);
    }

html {
    scroll-behavior: smooth;
}

/* Firefox */
body {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
}

@media (max-width: 1280px) {
    .container {
        padding: 0 8vw;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 4vw;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/*Header*/
.header {
    max-width: 100%;
    color: black;
}

.header-content {
    position: static;
    width: 100%;
    font-size: 16px;
    padding: 40px 0;
}

    .header-content .header-content-text {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 700px;
    }

    .header-content .header-title {
        font-size: 1.19em;
        line-height: 140%;
        color: #426491;
    }

    .header-content h1 {
        font-size: 3.63em;
        line-height: 60px;
    }

    .header-content p {
        font-size: 1.18em;
        line-height: 140%;
    }

    .header-content .header-links {
        font-size: 0.81em;
        line-height: 140%;
        font-weight: 400;
    }

        .header-content .header-links a {
            color: black;
            transition: 0.4s ease-in all;
            border-bottom: 1px solid #fff;
            padding-bottom: 3px;
        }

            .header-content .header-links a:hover {
                border-bottom: 1px solid black;
            }

@media (max-width: 1024px) {
    /*Header*/
    .header-content {
        font-size: 14px;
        padding: 20px 0;
    }

        .header-content .header-content-text {
            max-width: 500px;
            gap: 15px;
        }

        .header-content h1 {
            line-height: 55px;
        }
}

@media (max-width: 768px) {
    /*Header*/
    .header-content {
        font-size: 13px;
    }

        .header-content .header-content-text {
            max-width: 450px;
        }
}

@media (max-width: 480px) {
    /*Header*/
    .header-content {
        font-size: 12px;
    }

        .header-content h1 {
            line-height: 110%;
        }

        .header-content p {
            line-height: 140%;
        }
}


/*Header End*/


/*Sliders*/
.slider-section .slider-title {
    padding: 12px 0px;
    font-size: 1.75em;
    font-weight: bold;
    line-height: 110%; /* 30.8px */
    opacity: 0.8;
    display: inline-block;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.slider {
    display: flex;
    align-items: stretch;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
    padding: 0;
    padding: 24px 0;
}

/* Cards */
.card {
    flex: 0 0 calc(100% / 3.2);
    max-width: 380px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease-in-out;
}


    .card img {
        width: 100%;
        height: 267px;
        aspect-ratio: 380 / 267;
        object-fit: cover;
        border-radius: 12px;
    }

    .card .card-content {
        position: static;
        width: 90%;
        text-align: left;
        color: black;
        transition: all 0.3s ease-in-out;
    }

        .card .card-content h3 {
            color: black;
            font-size: 1.3em;
            line-height: 110%;
            font-weight: 600;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-top: 12px;
        }

        .card .card-content div {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
            white-space: normal; /* HTML məzmununun daşmasını önləyir */
            word-break: break-word; /* Uzun sözlər parçalanır */
        }

        .card .card-content p {
            display: -webkit-box;
            color: black;
            font-size: 1em;
            line-height: 150%;
            padding-top: 8px;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }



.button-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transform: translateX(-40px);
}

    .button-container a {
        padding: 13px 25px;
        border-radius: 20px;
        font-weight: 300;
        background: #00639B;
        color: #fff;
        line-height: 18px;
    }


    .button-container .nav-button {
        border: 1px solid rgba(0, 0, 0, 0.10);
        background: rgba(0, 0, 0, 0.10);
        color: grey;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
    }

        .button-container .nav-button.left {
            left: 8px;
        }

        .button-container .nav-button.right {
            right: 8px;
        }

.mobile-cards {
    display: none;
}

@media (max-width: 480px) {
    .card {
        max-width: 100%;
    }

    .slider-container {
        display: none;
    }

    .mobile-cards {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 24px;
    }

        .mobile-cards card {
            width: 100%;
        }

        .mobile-cards.card img {
            width: 100%; /* Kart genişliğini tam kaplar */
            height: 250px; /* Orantılı yükseklik */
            aspect-ratio: 380 / 250; /* Genişlik ve yükseklik oranı */
        }

        .mobile-cards .card-content {
            opacity: 1;
            bottom: 16px;
            width: 100%;
        }

            .mobile-cards .card-content h3 {
                font-weight: 600;
            }

        .mobile-cards .button-container {
            transform: none;
        }
}
