/* About */
.container {
    width: calc(100% - 80px);
    margin: auto;
    padding: 0 40px;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.about-company,
.services-overview,
.gallery,
.showcase,
.experience {
    padding: 50px 0;
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 24px;
    margin-top: 0;
}

.about-image img,
.experience-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 18px;
}

.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.about-stats div {
    flex: 1;
    padding: 24px;
    background: var(--primary-light-color);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 16px;
    text-align: center;
}

.about-stats strong {
    display: block;
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 8px;
}

.about-stats span {
    color: var(--secondary-color);
    font-size: .95rem;
}

/* Showcase */

.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 20px;
}

.showcase-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.showcase-card.large {
    grid-row: span 2;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.showcase-card:hover img {
    transform: scale(1.05);
}

.showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent 60%);
}

.showcase-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

.showcase-content h3 {
    color: var(--text-color);
    margin: 0;
}

.showcase-content p {
    color: #d3d3d3;
    margin: 0;
}

.showcase-card.large .showcase-content h3 {
    margin-bottom: 10px;
}

/* Experience */

.experience-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.experience-content p {
    color: var(--secondary-color);
    line-height: 1.9;
    margin: 24px 0 36px;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.check-list li i {
    font-size: 20px;
}
.check-list li {
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: var(--text-color);
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    align-items: center;
}

/* Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    transition: height .35s;
}


@media (max-width:1300px) {
    .section-heading {
        max-width: 800px;
    }

    .about-grid,
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 800px;
    }

    .showcase-grid {
        max-width: 800px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 380px 300px;
    }

    .showcase-card.large {
        grid-column: span 2;
        grid-row: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile */

@media (max-width:768px) {
    .container {
        width: calc(100% - 40px);
        padding: 0 20px;
    }

    .about-company,
    .services-overview,
    .gallery,
    .showcase,
    .experience {
        padding: 40px 0;
    }


    .showcase-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .showcase-card,
    .showcase-card.large {
        height: 240px;
    }

    .gallery-grid{
        display:flex;
        overflow-x:auto;
        gap:16px;
        padding:0 20px 10px;
        margin:0 -20px;

        scroll-snap-type:x mandatory;
        scroll-behavior:smooth;
        -webkit-overflow-scrolling:touch;

        scrollbar-width:none;
    }

    .gallery-grid::-webkit-scrollbar{
        display:none;
    }

    .gallery-grid img{
        flex:0 0 88%;
        height:240px;
        object-fit:cover;
        border-radius:16px;
        scroll-snap-align:center;
        scroll-snap-stop:always;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .about-stats,
    .experience-image,
    .about-image {
        display: none;
    }
}

/* Small Mobile */

@media (max-width:480px) {
    .about-content p,
    .experience-content p {
        font-size: .95rem;
    }

    .about-stats strong {
        font-size: 1.6rem;
    }

    .showcase-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .showcase-content h3 {
        font-size: 1.1rem;
    }

    .gallery-grid img,
    .showcase-card {
        border-radius: 14px;
    }

}