/* =========================================
   OUR SERVICES SECTION
========================================= */

.services-section {
    width: 100%;
    padding: 90px 20px;
    background: #f8f9fc;
    box-sizing: border-box;
    overflow: hidden;
}

.services-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* =========================================
   HEADING
========================================= */

.services-heading {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
    box-sizing: border-box;
}

.section-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: #c59b45;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.services-heading h2 {
    margin: 0 0 15px;
    color: #14213d;
    font-size: 50px;
    line-height: 1.15;
    font-weight: 800;
}

.services-heading h2 span {
    color: #c59b45;
}

.services-heading p {
    margin: 0 auto;
    color: #687386;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   SERVICES GRID
========================================= */

.services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    box-sizing: border-box;
}

/* =========================================
   SERVICE CARD
========================================= */

.service-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    padding: 28px 24px;
    background: #ffffff;

    border: 1px solid #e7eaf0;
    border-radius: 18px;

    position: relative;
    overflow: hidden;

    box-shadow: 0 8px 25px rgba(20, 33, 61, 0.05);

    opacity: 1;
    transform: translateY(0);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: #c59b45;

    transition: width 0.35s ease;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: #c59b45;
    box-shadow: 0 18px 40px rgba(20, 33, 61, 0.12);
}

/* =========================================
   ICON
========================================= */

.service-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: #f5efe3;
    color: #b48a35;

    border-radius: 15px;

    font-size: 22px;

    transition: all 0.35s ease;
}

.service-card:hover .service-icon {
    background: #c59b45;
    color: #ffffff;
    transform: scale(1.05);
}

/* =========================================
   CARD CONTENT
========================================= */

.service-card h3 {
    margin: 0 0 10px;

    color: #14213d;

    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.service-card p {
    margin: 0 0 20px;

    color: #737d8f;

    font-size: 14px;
    line-height: 1.7;
}

/* =========================================
   SERVICE LINK
========================================= */

.service-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    max-width: 100%;

    color: #14213d;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.service-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #b48a35;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* =========================================
   BOTTOM CTA
========================================= */

.services-cta {
    width: 100%;
    min-width: 0;

    margin-top: 55px;
    padding: 30px 35px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    background: #14213d;
    border-radius: 20px;

    position: relative;
    overflow: hidden;
}

.services-cta > div {
    min-width: 0;
}

.services-cta span {
    display: block;

    margin-bottom: 7px;

    color: #c59b45;

    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.services-cta h3 {
    margin: 0;

    color: #ffffff;

    font-size: 24px;
    line-height: 1.3;
}

/* CTA Button */

.services-cta-btn {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 13px 22px;

    box-sizing: border-box;

    background: #c59b45;
    color: #ffffff;

    border-radius: 9px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition: all 0.3s ease;
}

.services-cta-btn:hover {
    background: #ffffff;
    color: #14213d;
}

/* =========================================
   LARGE TABLET
========================================= */

@media (max-width: 1100px) {

    .services-section {
        padding: 80px 20px;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

/* =========================================
   TABLET
========================================= */

@media (max-width: 800px) {

    .services-section {
        padding: 70px 18px;
    }

    .services-heading {
        margin-bottom: 40px;
    }

    .services-heading h2 {
        font-size: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
    }

    .services-cta {
        padding: 28px 25px;

        flex-direction: column;
        align-items: flex-start;
    }

    .services-cta-btn {
        width: auto;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .services-section {
        width: 100%;
        padding: 60px 14px;
    }

    .services-container {
        width: 100%;
    }

    /* Heading */

    .services-heading {
        width: 100%;
        margin-bottom: 32px;
        padding: 0 5px;
    }

    .section-tag {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-bottom: 9px;
    }

    .services-heading h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .services-heading p {
        font-size: 13px;
        line-height: 1.7;
    }

    /* Grid */

    .services-grid {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 14px;
    }

    /* Cards */

    .service-card {
        width: 100%;
        min-width: 0;

        padding: 22px 20px;

        border-radius: 15px;

        transform: none;
    }

    .service-card:hover {
        transform: translateY(-3px);
    }

    .service-icon {
        width: 50px;
        height: 50px;

        margin-bottom: 16px;

        border-radius: 13px;

        font-size: 19px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 13px;
        line-height: 1.65;

        margin-bottom: 16px;
    }

    .service-link {
        font-size: 12px;
    }

    /* CTA */

    .services-cta {
        width: 100%;

        margin-top: 35px;
        padding: 24px 20px;

        border-radius: 15px;

        display: flex;
        flex-direction: column;

        align-items: stretch;
        justify-content: flex-start;

        gap: 20px;
    }

    .services-cta span {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .services-cta h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    .services-cta-btn {
        width: 100%;
        min-height: 48px;

        padding: 12px 15px;

        font-size: 13px;

        white-space: normal;
        text-align: center;
    }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .services-section {
        padding: 50px 12px;
    }

    .services-heading h2 {
        font-size: 28px;
    }

    .services-heading p {
        font-size: 12px;
    }

    .service-card {
        padding: 20px 17px;
    }

    .service-icon {
        width: 46px;
        height: 46px;
        font-size: 17px;
    }

    .service-card h3 {
        font-size: 17px;
    }

    .service-card p {
        font-size: 12px;
    }

    .services-cta {
        padding: 22px 17px;
    }

    .services-cta h3 {
        font-size: 18px;
    }

}