/*==================================
        ABOUT PAGE
==================================*/

.about {
    background: var(--light);
}

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

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.about-content h2 {
    font-size: 46px;
    line-height: 1.25;
    color: var(--secondary);
    margin-bottom: 25px;
    font-weight: 700;
}

.about-content p {
    color: #666;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-content .btn-primary {
    margin-top: 15px;
}

.about-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.about-image img {
    width: 100%;
    display: block;
    transition: .5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/*==================================
        INFRASTRUCTURE
==================================*/

.infrastructure {
    background: #fafafa;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.infra-card {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.infra-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: .45s;
}

.infra-card:hover img {
    transform: scale(1.08);
}


/*==================================
        VALUES
==================================*/

.values {
    background: var(--light);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.values-content h2 {
    font-size: 42px;
    margin: 18px 0 20px;
    color: var(--secondary);
}

.values-content p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 35px;
    font-size: 17px;
}

.value-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 35px;
}

.value-card {
    background: var(--light);
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    transition: .35s;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.value-card i {
    width: 65px;
    height: 65px;
    background: #f7f1ea;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 18px;
}

.value-card h4 {
    font-size: 18px;
    color: var(--secondary);
    font-weight: 600;
}

.team-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.team-image img {
    width: 100%;
    display: block;
    transition: .5s;
}

.team-image:hover img {
    transform: scale(1.05);
}

/*==================================
        COMMON IMAGE EFFECTS
==================================*/

.about-image,
.team-image,
.infra-card {
    position: relative;
}

.about-image::after,
.team-image::after,
.infra-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .18),
            transparent 45%);
    opacity: 0;
    transition: .35s;
}

.about-image:hover::after,
.team-image:hover::after,
.infra-card:hover::after {
    opacity: 1;
}

/*==================================
        SECTION SPACING
==================================*/

.about-counter {
    margin-top: -20px;
}

/*==========================================
            COUNTER SECTION
==========================================*/

.counter {
    padding: 50px 0;
    background: #1d1b18;
}

/*==========================================
            GRID
==========================================*/

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/*==========================================
            COUNTER BOX
==========================================*/

.counter-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 40px 20px;
    text-align: center;
    transition: all .35s ease;
}

.counter-box:hover {
    transform: translateY(-10px);
    background: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}

/*==========================================
            NUMBER
==========================================*/

.counter-box h2 {
    font-size: 52px;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 10px;
}

/*==========================================
            TEXT
==========================================*/

.counter-box p {
    color: #f5f5f5;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .5px;
}

/*==========================================
            RESPONSIVE
==========================================*/

@media(max-width:992px) {

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

}

@media(max-width:768px) {

    .counter-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .counter-box {
        padding: 35px 20px;
    }

    .counter-box h2 {
        font-size: 42px;
    }

    .counter-box p {
        font-size: 16px;
    }

}

/*==================================
        RESPONSIVE
==================================*/

/*==============================
        Large Tablets
==============================*/

@media (max-width:1200px) {

    .about-grid,
    .values-grid {
        gap: 50px;
    }

    .about-content h2,
    .values-content h2 {
        font-size: 40px;
    }

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

}


/*==============================
        Tablets
==============================*/

@media (max-width:992px) {

    .about-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        order: -1;
    }

    .team-image {
        order: -1;
    }

    .about-content,
    .values-content {
        text-align: center;
    }

    .about-content h2,
    .values-content h2 {
        font-size: 36px;
    }

    .about-content p,
    .values-content p {
        font-size: 16px;
    }

    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}


/*==============================
        Mobile
==============================*/

@media (max-width:768px) {

    .section-subtitle {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .about-content h2,
    .values-content h2 {
        font-size: 30px;
        line-height: 1.35;
    }

    .about-content p,
    .values-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .infra-grid {
        grid-template-columns: 1fr;
    }

    .infra-card img {
        height: 260px;
    }

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

    .value-card {
        padding: 25px 18px;
    }

    .value-card h4 {
        font-size: 17px;
    }

    .counter-grid {
        grid-template-columns: 1fr;
    }

    .counter-box {
        padding: 30px 20px;
    }

    .counter-box h2 {
        font-size: 40px;
    }

    .counter-box p {
        font-size: 15px;
    }

}

/*==============================
        Small Mobile
==============================*/

@media (max-width:576px) {

    .about-grid,
    .values-grid {
        gap: 35px;
    }

    .about-content h2,
    .values-content h2 {
        font-size: 26px;
    }

    .about-content p,
    .values-content p {
        font-size: 14px;
    }

    .about-image,
    .team-image {
        border-radius: 8px;
    }

    .infra-card {
        border-radius: 8px;
    }

    .infra-card img {
        height: 220px;
    }

    .value-card {
        padding: 22px 15px;
    }

    .value-card i {
        width: 55px;
        height: 55px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .counter-box {
        border-radius: 12px;
    }

    .counter-box h2 {
        font-size: 34px;
    }

    .counter-box p {
        font-size: 14px;
    }

}

/*==============================
        Extra Small Devices
==============================*/

@media (max-width:400px) {

    .about-content h2,
    .values-content h2 {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .counter-box h2 {
        font-size: 30px;
    }

    .counter-box p {
        font-size: 13px;
    }

}