﻿

.basma-all-services {
    width: 100%;
    padding: 90px 20px;
    background: #f7f8fa;
    box-sizing: border-box;
}

.basma-all-services *,
.basma-all-services *::before,
.basma-all-services *::after {
    box-sizing: border-box;
}

.basma-services-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================
   SECTION HEADER
========================= */

.basma-services-header {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.basma-services-subtitle {
    display: inline-block;
    margin-bottom: 12px;
    color: #b58a45;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.basma-services-header h2 {
    margin: 0 0 18px;
    color: #1d2733;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.basma-services-header p {
    margin: 0;
    color: #68727d;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================
   SERVICES GRID
========================= */

.basma-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


/* =========================
   SERVICE CARD
========================= */

.basma-service-card {
    position: relative;
    min-height: 365px;
    padding: 35px 28px 30px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.basma-service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: #b58a45;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.basma-service-card:hover {
    transform: translateY(-8px);
    border-color: #b58a45;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.09);
}

.basma-service-card:hover::before {
    transform: scaleX(1);
}


/* =========================
   ICON
========================= */

.basma-service-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f2e8;
    color: #b58a45;
    font-size: 27px;
    transition: all 0.35s ease;
}

.basma-service-card:hover .basma-service-icon {
    background: #b58a45;
    color: #ffffff;
    transform: rotateY(180deg);
}


/* =========================
   NUMBER
========================= */

.basma-service-number {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #eeeeee;
    font-size: 30px;
    font-weight: 800;
}


/* =========================
   CARD CONTENT
========================= */

.basma-service-card h3 {
    margin: 0 0 14px;
    color: #202b38;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
}

.basma-service-card p {
    margin: 0 0 22px;
    color: #6c747d;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================
   SERVICE LINK
========================= */

.basma-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b58a45;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.basma-service-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.basma-service-link:hover {
    color: #8f6b32;
}

.basma-service-link:hover i {
    transform: translateX(5px);
}


/* =========================
   CTA
========================= */

.basma-services-cta {
    margin-top: 55px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #202b38;
    border-radius: 8px;
}

.basma-cta-content {
    flex: 1;
}

.basma-cta-content span {
    display: block;
    margin-bottom: 8px;
    color: #b58a45;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.basma-cta-content h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.35;
}

.basma-cta-content p {
    margin: 0;
    color: #d3d7dc;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================
   CTA BUTTON
========================= */

.basma-cta-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
    padding: 14px 25px;
    background: #b58a45;
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.basma-cta-button:hover {
    background: #ffffff;
    color: #202b38;
    transform: translateY(-2px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .basma-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =====================================================
   TABLET / SMALL LAPTOP
===================================================== */

@media (max-width: 850px) {

    .basma-all-services {
        padding: 70px 20px;
    }

    .basma-services-header h2 {
        font-size: 34px;
    }

    .basma-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .basma-services-cta {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .basma-all-services {
        padding: 55px 15px;
    }

    .basma-services-header {
        margin-bottom: 35px;
    }

    .basma-services-header h2 {
        font-size: 28px;
    }

    .basma-services-header p {
        font-size: 14px;
        line-height: 1.7;
    }

    .basma-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .basma-service-card {
        min-height: auto;
        padding: 30px 25px;
    }

    .basma-service-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }

    .basma-service-card h3 {
        font-size: 20px;
    }

    .basma-services-cta {
        margin-top: 35px;
        padding: 30px 25px;
    }

    .basma-cta-content h3 {
        font-size: 21px;
    }

    .basma-cta-button {
        width: 100%;
    }

}
