/*
|--------------------------------------------------------------------------
| Trisha Web Enterprise SEO CMS
| Services Section
|--------------------------------------------------------------------------
| Reference:
| 4 Cards Desktop / 2 Tablet / 1 Mobile
| Premium Modern Service Cards
|--------------------------------------------------------------------------
*/

.services-section {
    position: relative;
    width: 100%;
    padding: 78px 0 90px;
    background: #ffffff;
    overflow: hidden;
}

.services-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}


/* ==========================================================================
   HEADER
========================================================================== */

.services-header {
   
    margin: 0 auto 48px;
    text-align: center;
}

.services-badge {
    display: inline-block;
    margin-bottom: 12px;
    color: #0d6efd;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.services-title {
   
  
}

.services-description {
    
    margin: 0 auto;
   
    font-size: 20px;
    font-weight: 600;
    line-height: 1.75;
}


/* ==========================================================================
   GRID
========================================================================== */

.services-grid {
    margin-top: 0;
    row-gap: 28px;
}

.services-grid > [class*="col-"] {
    display: flex;
}

.services-grid .service-card {
    width: 100%;
}


/* ==========================================================================
   SERVICE CARD
========================================================================== */

.services-section .service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 390px;

    padding: 32px 30px 28px;

    background: #ffffff;

    border: 1px solid #e5edf8;
    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.06);

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/*
|--------------------------------------------------------------------------
| Top subtle blue line
|--------------------------------------------------------------------------
*/

.services-section .service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: #0d6efd;

    transition: width .3s ease;
}


/*
|--------------------------------------------------------------------------
| Hover
|--------------------------------------------------------------------------
*/

.services-section .service-card:hover {
    transform: translateY(-7px);

    border-color: #b9d5ff;

    box-shadow:
        0 18px 42px rgba(13, 110, 253, 0.13);
}

.services-section .service-card:hover::before {
    width: 100%;
}


/* ==========================================================================
   ICON
========================================================================== */

.services-section .service-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 75px;
    height: 75px;

    margin-bottom: 25px;


    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #1687ff 0%,
        #2d72ed 100%
    );

    color: #ffffff;

    font-size: 25px;
    line-height: 1;

    box-shadow:
        0 10px 22px rgba(13, 110, 253, 0.20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.services-section .service-card:hover .service-icon {
    transform: translateY(-2px);

    box-shadow:
        0 14px 28px rgba(13, 110, 253, 0.28);
}

.services-section .service-icon i {
    color: #ffffff;
}


/* ==========================================================================
   OPTIONAL IMAGE
========================================================================== */

.services-section .service-image-wrap {
    width: calc(100% + 60px);

    margin: -32px -30px 24px;

    overflow: hidden;
}

.services-section .service-image {
    display: block;

    width: 100%;
    height: 180px;

    object-fit: cover;
}


/* ==========================================================================
   CONTENT
========================================================================== */

.services-section .service-content {
    display: flex;
    flex-direction: column;

    flex: 1 1 auto;
}


/* ==========================================================================
   SERVICE TITLE
========================================================================== */

.services-section .service-title {
   font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
  line-height: 1.35;
}

.services-section .service-title a {
    color: inherit;
    text-decoration: none;

    transition: color .2s ease;
}

.services-section .service-title a:hover {
    color: #0d6efd;
}


/* ==========================================================================
   DESCRIPTION
========================================================================== */

.services-section .service-description {
   font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
  font-family: 'Inter',sans-serif;
}


/* ==========================================================================
   ACTION
========================================================================== */

.services-section .service-action {
   
}

.services-section .service-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #0d6efd;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.4;

    text-decoration: none;

    transition:
        color .2s ease,
        gap .2s ease;
}

.services-section .service-link i {
    font-size: 13px;

    transition:
        transform .2s ease;
}

.services-section .service-link:hover {
    color: #075dc9;

    gap: 10px;
}

.services-section .service-link:hover i {
    transform: translateX(3px);
}


/* ==========================================================================
   EMPTY STATE
========================================================================== */

.services-section .services-empty {
    padding: 60px 20px;

    color: #667085;

    font-size: 16px;

    text-align: center;
}


/* ==========================================================================
   DESKTOP
   EXACTLY 4 CARDS
========================================================================== */

@media (min-width: 992px) {

    .services-section .services-grid > [class*="col-lg-"] {
        width: 25%;
        flex: 0 0 25%;
    }

}


/* ==========================================================================
   LARGE DESKTOP
========================================================================== */

@media (min-width: 1200px) {

    .services-section {
        padding: 82px 0 96px;
    }

    .services-section .container {
        max-width: 1200px;
    }

    .services-header {
        margin-bottom: 50px;
    }

    .services-title {
      font-size: 48px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 18px;
    }

    .services-section .service-card {
        min-height: 430px;
        padding: 34px 30px 30px;
    }

}


/* ==========================================================================
   TABLET
   2 CARDS
========================================================================== */

@media (max-width: 991.98px) {

    .services-section {
        padding: 68px 0 78px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-title {
        font-size: 32px;
    }

    .services-description {
        font-size: 15px;
    }

    .services-section .service-card {
        min-height: 360px;

        padding: 28px 25px 26px;
    }

    .services-section .service-icon {
        width: 54px;
        height: 54px;

        flex-basis: 54px;

        font-size: 23px;
    }

    .services-section .service-title {
        font-size: 20px;
    }

}


/* ==========================================================================
   MOBILE
   1 CARD
========================================================================== */

@media (max-width: 767.98px) {

    .services-section {
        padding: 58px 0 68px;
    }

    .services-header {
        margin-bottom: 32px;
    }

    .services-title {
        font-size: 29px;
        line-height: 1.25;
    }

    .services-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .services-grid {
        row-gap: 20px;
    }

    .services-section .service-card {
        min-height: 0;

        padding: 26px 23px 25px;

        border-radius: 14px;
    }

    .services-section .service-icon {
        width: 52px;
        height: 52px;

        flex-basis: 52px;

        margin-bottom: 21px;

        font-size: 22px;

        border-radius: 13px;
    }

    .services-section .service-title {
        font-size: 20px;

        margin-bottom: 12px;
    }

    .services-section .service-description {
        font-size: 14px;

        line-height: 1.7;
    }

    .services-section .service-action {
        padding-top: 22px;
    }

}


/* ==========================================================================
   SMALL MOBILE
========================================================================== */

@media (max-width: 575.98px) {

    .services-section {
        padding: 50px 0 58px;
    }

    .services-title {
        font-size: 26px;
    }

    .services-description {
        font-size: 14px;
    }

    .services-section .service-card {
        padding: 24px 21px 23px;

        border-radius: 13px;
    }

    .services-section .service-icon {
        width: 50px;
        height: 50px;

        flex-basis: 50px;

        font-size: 21px;
    }

    .services-section .service-title {
        font-size: 19px;
    }

}


/* ==========================================================================
   ACCESSIBILITY
========================================================================== */

.services-section .service-link:focus-visible,
.services-section .service-title a:focus-visible {
    outline: 3px solid rgba(13, 110, 253, .25);

    outline-offset: 4px;

    border-radius: 4px;
}


/* ==========================================================================
   REDUCED MOTION
========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .services-section .service-card,
    .services-section .service-icon,
    .services-section .service-link,
    .services-section .service-link i {
        transition: none;
    }

}