﻿/* Header Content */

.header {
    position: relative;
    min-height: 90vh;
    background-image: url('../images/homescreen/newheader.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
}

.header-content {
    position: absolute;
    bottom: 30px;
    font-size: 16px;
    padding: 0 0;
}

    .header-content .header-content-text {
        display: block;
        max-width: 600px;
    }

    .header-content h1 {
        font-size: 4rem;
        line-height: 110%;
    }

    .header-content p {
        font-size: 1.18em;
        line-height: 140%;
        margin-top: 8px;
    }

    .header-content .cta-button {
        display: inline-block;
        background-color: #fff;
        color: #000;
        padding: 14px 20px;
        border-radius: 99px;
        text-decoration: none;
        font-size: 16px;
        line-height: 140%;
        transition: background-color 0.3s, color 0.3s;
        margin-top: 24px;
    }

@media (max-width: 1024px) {
    .header-content .header-content-text {
        max-width: 500px;
    }

    .header-content .cta-button {
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .header {
        min-height: 85vh;
    }

    .header-content h1 {
        font-size: 40px;
    }

    .header-content p {
        font-size: 16px;
    }

    .header-content .cta-button {
        padding: 10px 16px;
        font-size: 16px;
    }
}

@media (max-height: 595px) {

    .header {
        min-height: 125vh;
    }
}




/*Home text */
#home-text {
    font-family: "Work Sans", sans-serif;
    opacity: 0.8;
    margin-top: 40px;
    font-size: 16px;
}

    #home-text h2 {
        font-size: 2.5em;
        font-weight: normal;
        line-height: 110%;
    }

        #home-text h2 bold {
            font-weight: bold;
        }

    #home-text p {
        margin-top: 12px;
        width: 60%;
        font-size: 1em;
        line-height: 150%;
        opacity: 0.8;
    }

@media (max-width: 1024px) {
    /*Home Text*/
    #home-text {
        font-size: 14px;
    }

        #home-text p {
            width: 80%;
        }
}

@media (max-width: 768px) {
    /*Home Text*/
    #home-text {
        font-size: 13px;
    }

        #home-text h2 {
            line-height: 110%;
        }

        #home-text p {
            width: 100%;
        }
}

@media (max-width: 480px) {
    /*Home Text*/
    #home-text {
        font-size: 12px;
        margin: 16px 0;
    }

        #home-text h2 {
            font-size: 23px;
            line-height: 110%;
        }
}

/*Our projects*/
#projects {
    padding: 40px 0;
    overflow: hidden;
}


@media (max-width: 480px) {
    /*Projects*/
    #projects {
        padding: 16px 0;
    }

        #projects .slider-title {
            padding-bottom: 8px;
        }
}

@media (max-width: 360px) {
    #projects .card .card-content {
        padding-bottom: 18px;
    }
}


@media (max-width: 1024px) {
    /* Sliders */
    .card {
        flex: 0 0 calc(100% / 2.5);
    }
}

@media (max-width: 768px) {
    /*Sliders*/
    .card {
        flex: 0 0 calc(100% / 2); /* Daha küçük ekranlarda 2 kart sığdır */
    }
}

/* Partners */

#partners {
    max-width: 100%;
    background-color: #F2F2F2;
    overflow: hidden;
}

    #partners .container {
        padding: 80px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

        #partners .container h3 {
            font-size: 2.5em;
            line-height: 110%;
            text-align: center;
        }

        #partners .container p {
            margin-top: 12px;
            line-height: 18px;
            text-align: center;
        }

.partners-container {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px 80px;
    flex-wrap: wrap;
}

    .partners-container img {
        max-height: 50px;
        object-fit: contain;
        display: block;
    }


@media (max-width: 768px) {
    #partners .container {
        padding: 80px 4vw;
    }

    #partners .partners-container {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    #partners .container {
        justify-content: left;
        padding: 40px 16px;
    }

    #partners .partners-container {
        margin-top: 40px;
        justify-content: left;
    }

    #partners .container h3 {
        font-size: 28px;
        line-height: 110%;
        text-align: left;
    }

    #partners .container p {
        line-height: 150%;
        text-align: left;
    }

    #partners .partners-container img {
        width: 100%;
    }
}
/*Services*/
#services {
    padding: 40px 0;
    overflow: hidden;
}


@media (max-width: 480px) {
    #services {
        padding: 16px 0vw;
    }

        #services .slider-title {
            padding-bottom: 8px;
        }

        #services .mobile-cards {
            gap: 16px;
        }

            #services .mobile-cards p {
                color: black;
            }

        #services .button-container {
            margin-top: 0px;
        }
}


/*Certificate*/
#certificates {
    padding: 40px 0;
    overflow: hidden;
}

    #certificates .slider-title {
        font-size: 1.62em;
        line-height: 110%;
        opacity: 0.8;
    }

    #certificates .card {
        flex-direction: row !important;
        border-radius: 16px;
        border: 1px solid #CCC;
        padding: 20px;
    }


        #certificates .card img {
            width: 85px;
            height: 119px;
            aspect-ratio: 85 / 119;
            border-radius: 0 !important;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

    #certificates .card-content {
        position: static !important;
        bottom: 0px !important;
        left: 0 !important;
        transform: none !important;
        padding-left: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        opacity: 1;
    }

        #certificates .card-content .certificate-type {
            font-size: 0.81em;
            font-weight: 400;
            line-height: 140%;
            opacity: 0.5;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }


        #certificates .card-content h3 {
            color: black;
            font-size: 1.18em;
            line-height: 140%;
            font-weight: 600;
        }

        #certificates .card-content p {
            font-size: 0.81em;
            color: black;
            line-height: 140%;
            padding-top: 0px !important;
        }

        #certificates .card-content a {
            line-height: 13px;
            font-size: 0.68em;
            color: #00639B;
        }

        #certificates .card-content svg {
            vertical-align: middle;
            display: inline-block;
            margin-right: 5px;
            width: 1em;
            height: 1em;
        }

@media(max-width:480px) {
    #certificates {
        padding: 16px 0;
    }

        #certificates .mobile-cards {
            padding: 24px 0;
            gap: 16px;
        }
}

#gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    padding-bottom: 40px;
}

/* Hər sıra üçün */
.gallery-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Hər şəkil bərabər genişlikdə */
    gap: 0;
    width: 100%;
    background: green;
}

    /* Şəkillər */
    .gallery-row img {
        width: 100%;
        height: 300px;
        object-fit: cover; /* Şəkilləri kəsib ekrana uyğunlaşdırır */
        display: block;
    }

/* Alt sıranı sürüşdürmək */
.shifted-row {
    grid-template-columns: 0.97fr 1fr 1fr;
}

@media(max-width: 768px) {
    #gallery {
        display: none;
    }
}
