/* =====================================================
   COMMON SECTION HEADING
===================================================== */

.section-heading {
    text-align: center;
    margin-bottom: 16px;
}

.section-heading span {
    display: block;
    color: #e9a900;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.section-heading h2 {
    margin: 0;
    color: #111;
    font-size: 23px;
    line-height: 1.2;
}

.heading-line {
    width: 35px;
    height: 3px;
    background: #079da5;
    margin: 7px auto 0;
    border-radius: 2px;
}


/* =====================================================
   RECENT PROJECTS
===================================================== */

.projects-section {
    background: #fff;
    padding: 18px 0 20px;
}

.projects-container {
    width: 94%;
    max-width: 1400px;
    margin: auto;
}

.projects-slider {
    position: relative;
    display: flex;
    align-items: center;
}

.projects-track {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
    overflow: hidden;
}

.project-card {
    position: relative;
    height: 150px;
    min-width: 0;
    overflow: hidden;
    border-radius: 7px;
    background: #ddd;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}


/* Dark bottom overlay */

.project-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, .85)
    );
}


/* Project text */

.project-overlay {
    position: absolute;
    z-index: 2;
    left: 10px;
    right: 10px;
    bottom: 8px;
    color: #fff;
}

.project-overlay h3 {
    margin: 0 0 3px;
    font-size: 11px;
    font-weight: 700;
}

.project-overlay p {
    margin: 0;
    font-size: 8px;
}


/* Slider arrows */

.project-arrow {
    position: absolute;
    z-index: 5;

    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;

    background: #fff;
    color: #111;

    font-size: 25px;
    line-height: 25px;

    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0,0,0,.20);
}

.project-prev {
    left: -15px;
}

.project-next {
    right: -15px;
}


/* =====================================================
   WHY CHOOSE US
===================================================== */

.why-section {
    background: #06283d;
    padding: 20px 0 22px;
}

.why-container {
    width: 94%;
    max-width: 1400px;
    margin: auto;
}

.why-heading h2 {
    color: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.why-item {
    text-align: center;
    color: #fff;
}

.why-icon {
    width: 48px;
    height: 48px;

    margin: 0 auto 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #f2b21b;

    border: 2px solid #f2b21b;
    border-radius: 50%;

    font-size: 27px;
}

.why-item h3 {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
}

.why-item p {
    margin: 0;
    color: #fff;
    font-size: 9px;
    line-height: 1.5;
}


/* =====================================================
   ABOUT SECTION
===================================================== */

.about-section {
    background: #fff;
    padding: 8px 0;
}

.about-container {
    width: 94%;
    max-width: 1400px;
    margin: auto;

    display: grid;

    grid-template-columns:
        1.05fr
        .9fr
        1.25fr;

    gap: 12px;

    align-items: stretch;
}


/* About Content */

.about-content {
    padding: 8px 0;
}

.about-label {
    color: #e9a900;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-content h2 {
    margin: 3px 0 7px;
    font-size: 22px;
    color: #111;
}

.about-line {
    width: 28px;
    height: 3px;
    background: #079da5;
    margin-bottom: 12px;
}

.about-content p {
    margin: 0 0 12px;

    color: #444;

    font-size: 9px;
    line-height: 1.55;
}


/* Points */

.about-points {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.about-points li {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 6px;

    color: #333;

    font-size: 9px;
}

.about-points li span {
    width: 13px;
    height: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #079da5;
    border-radius: 50%;

    color: #079da5;

    font-size: 8px;
}


/* About button */

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    background: #079da5;
    color: #fff;

    border-radius: 4px;

    font-size: 9px;
    font-weight: 700;

    text-decoration: none;
}


/* About Image */

.about-image {
    height: 260px;
    overflow: hidden;
    border-radius: 5px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =====================================================
   CALLBACK BOX
===================================================== */

.callback-box {
    background: #06283d;

    border-radius: 5px;

    padding: 14px 15px;

    color: #fff;
}

.callback-label {
    color: #f2b21b;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .7px;
}

.callback-box h2 {
    margin: 5px 0 14px;

    font-size: 20px;
}


/* Form */

.callback-box form {
    width: 100%;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 9px;
}

.callback-box input,
.callback-box select,
.callback-box textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 4px;

    background: rgba(255,255,255,.08);

    color: #fff;

    padding: 9px;

    outline: none;

    font-family: inherit;

    font-size: 9px;
}

.callback-box input::placeholder,
.callback-box textarea::placeholder {
    color: rgba(255,255,255,.65);
}

.callback-box select {
    color: rgba(255,255,255,.8);
}

.callback-box select option {
    color: #111;
}

.callback-box textarea {
    resize: vertical;

    min-height: 70px;

    margin-bottom: 9px;
}

.callback-box button {
    width: 100%;

    border: none;

    border-radius: 4px;

    padding: 10px;

    background: #efb21b;

    color: #fff;

    font-size: 10px;

    font-weight: 700;

    cursor: pointer;
}

.callback-box button span {
    margin-left: 7px;
}


/* =====================================================
   TESTIMONIALS
===================================================== */

.testimonial-section {
    background: #fff;
    padding: 5px 0 20px;
}

.testimonial-container {
    width: 94%;
    max-width: 1400px;
    margin: auto;
}

.testimonial-slider {
    position: relative;
}

.testimonial-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    padding: 0 35px;
}

.testimonial-card {
    border: 1px solid #e3e3e3;

    border-radius: 6px;

    padding: 13px;

    min-height: 105px;

    box-shadow: 0 2px 7px rgba(0,0,0,.04);
}

.stars {
    color: #f2b21b;

    font-size: 11px;

    letter-spacing: 1px;

    margin-bottom: 8px;
}

.testimonial-card > p {
    color: #444;

    font-size: 9px;

    line-height: 1.55;

    margin: 0 0 12px;
}


/* Client */

.client-info {
    display: flex;
    align-items: center;

    gap: 8px;
}

.client-info img {
    width: 32px;
    height: 32px;

    border-radius: 50%;

    object-fit: cover;
}

.client-info h4 {
    margin: 0 0 2px;

    font-size: 9px;

    color: #222;
}

.client-info span {
    font-size: 8px;

    color: #555;
}


/* Testimonial arrows */

.testimonial-arrow {
    position: absolute;

    z-index: 5;

    top: 50%;
    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    border: 1px solid #eee;

    border-radius: 50%;

    background: #fff;

    color: #bbb;

    font-size: 23px;

    cursor: pointer;
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .projects-track {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 22px;
    }

    .about-container {
        grid-template-columns: 1fr 1fr;
    }

    .callback-box {
        grid-column: span 2;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .projects-section {
        padding: 25px 0;
    }

    .projects-track {
        grid-template-columns: repeat(1, 1fr);
    }

    .project-card {
        height: 190px;
    }

    .project-arrow {
        width: 28px;
        height: 28px;
    }

    .project-prev {
        left: -8px;
    }

    .project-next {
        right: -8px;
    }


    /* Why */

    .why-section {
        padding: 28px 0;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* About */

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }

    .callback-box {
        grid-column: auto;
    }


    /* Testimonials */

    .testimonial-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .testimonial-card {
        display: none;
    }

    .testimonial-card:first-child {
        display: block;
    }

}