/*
|--------------------------------------------------------------------------
| Hemtabad Car Lab
| Services Page CSS
| File: style/services.css
|--------------------------------------------------------------------------
*/


/* =========================================================
   SERVICES HERO
========================================================= */

.services-hero {
    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #172554 55%,
            #0c4a6e 100%
        );
}


.services-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(14, 165, 233, 0.22),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(37, 99, 235, 0.16),
            transparent 30%
        );
}


.services-hero .container {
    position: relative;

    z-index: 2;
}


.services-hero-content {
    max-width: 760px;

    padding: 75px 0;
}


.services-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    padding: 8px 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 50px;

    color: #bfdbfe;

    background:
        rgba(255, 255, 255, 0.07);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}


.services-badge i {
    color: #38bdf8;

    font-size: 13px;
}


.services-hero h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size:
        clamp(
            44px,
            6.5vw,
            66px
        );

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -2.5px;
}


.services-hero h1 span {
    display: block;

    color: #38bdf8;
}


.services-hero-content > p {
    max-width: 650px;

    margin: 0 0 27px;

    color: #cbd5e1;

    font-size: 15px;

    line-height: 1.8;
}


.services-hero-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


.services-hero-actions .btn {
    min-height: 46px;
}


/* =========================================================
   OUTLINE LIGHT BUTTON
========================================================= */

.btn-outline-light {

    color: #ffffff;

    border-color:
        rgba(255, 255, 255, 0.35);

    background:
        rgba(255, 255, 255, 0.06);
}


.btn-outline-light:hover {

    color: #0f172a;

    border-color: #ffffff;

    background: #ffffff;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.services-intro .section-label,
.services-heading .section-label,
.services-why-content .section-label {

    display: inline-block;

    margin-bottom: 9px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


/* =========================================================
   INTRO SECTION
========================================================= */

.services-intro {
    padding-top: 75px;

    padding-bottom: 70px;
}


.services-intro-grid {

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    gap: 65px;

    align-items: center;
}


.services-intro-content .section-title {

    margin-bottom: 20px;

    font-size:
        clamp(
            30px,
            4vw,
            43px
        );
}


.services-intro-content .section-title span {

    color: var(--primary);
}


.services-intro-content p {

    max-width: 650px;

    margin-bottom: 15px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


.services-intro-content .btn {

    margin-top: 8px;
}


/* =========================================================
   INTRO FEATURES
========================================================= */

.services-intro-features {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


.service-feature {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 19px;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.service-feature:hover {

    transform:
        translateY(-4px);

    border-color: #bfdbfe;

    box-shadow: var(--shadow);
}


.service-feature-icon {

    width: 43px;

    height: 43px;

    flex: 0 0 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    color: var(--primary);

    background: #eff6ff;

    font-size: 19px;
}


.service-feature h3 {

    margin: 0 0 5px;

    color: var(--dark);

    font-size: 13px;

    font-weight: 800;
}


.service-feature p {

    margin: 0;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   SERVICES LIST
========================================================= */

.services-list-section {

    padding-top: 70px;

    padding-bottom: 75px;

    background: #f8fafc;
}


.services-heading {

    max-width: 760px;

    margin-bottom: 32px;
}


.services-heading .section-title {

    margin-bottom: 12px;
}


.services-heading .section-subtitle {

    margin-bottom: 0;

    line-height: 1.8;
}


/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 16px;

    min-height: 230px;

    padding: 22px;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    background: #ffffff;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.service-card::after {

    content: '';

    position: absolute;

    right: -35px;

    bottom: -35px;

    width: 100px;

    height: 100px;

    border-radius: 50%;

    background:
        rgba(13, 110, 253, 0.04);

    transition:
        transform 0.3s ease;
}


.service-card:hover {

    transform:
        translateY(-5px);

    border-color: #bfdbfe;

    box-shadow: var(--shadow);
}


.service-card:hover::after {

    transform:
        scale(1.5);
}


/* =========================================================
   SERVICE CARD ICON
========================================================= */

.service-card-icon {

    width: 48px;

    height: 48px;

    flex: 0 0 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    color: var(--primary);

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #e0f2fe
        );

    font-size: 21px;
}


/* =========================================================
   SERVICE CARD CONTENT
========================================================= */

.service-card-content {

    position: relative;

    z-index: 2;

    flex: 1;
}


.service-number {

    display: block;

    margin-bottom: 6px;

    color: #94a3b8;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.service-card h3 {

    margin: 0 0 8px;

    color: var(--dark);

    font-size: 17px;

    line-height: 1.3;

    font-weight: 800;
}


.service-card p {

    min-height: 60px;

    margin: 0 0 16px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   SERVICE LINK
========================================================= */

.service-link {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    transition: var(--transition);
}


.service-link:hover {

    color: var(--primary-dark);

    gap: 9px;
}


.service-link i {

    font-size: 11px;
}


/* =========================================================
   SERVICE PROCESS
========================================================= */

.service-process-section {

    padding-top: 75px;

    padding-bottom: 75px;
}


.service-process-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    position: relative;
}


.service-process-grid::before {

    content: '';

    position: absolute;

    top: 29px;

    left: 12%;

    right: 12%;

    height: 1px;

    background:
        #dbeafe;

    z-index: 0;
}


.service-process-item {

    position: relative;

    z-index: 1;

    padding: 20px;

    text-align: center;
}


.process-number {

    position: absolute;

    top: 0;

    right: 20px;

    color: #e2e8f0;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}


.process-icon {

    width: 58px;

    height: 58px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        5px solid
        #ffffff;

    border-radius: 50%;

    color: var(--primary);

    background: #eff6ff;

    box-shadow:
        0 0 0 1px
        #dbeafe;

    font-size: 21px;
}


.service-process-item h3 {

    margin: 0 0 8px;

    color: var(--dark);

    font-size: 15px;

    font-weight: 800;
}


.service-process-item p {

    max-width: 220px;

    margin: auto;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.services-why-section {

    padding-top: 25px;

    padding-bottom: 75px;
}


.services-why {

    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 55px;

    align-items: center;

    padding: 45px;

    border-radius: 22px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #172554
        );

    overflow: hidden;

    position: relative;
}


.services-why::before {

    content: '';

    position: absolute;

    width: 300px;

    height: 300px;

    top: -140px;

    right: -80px;

    border-radius: 50%;

    background:
        rgba(14, 165, 233, 0.12);
}


.services-why-content {

    position: relative;

    z-index: 2;
}


.services-why-content .section-label {

    color: #60a5fa;
}


.services-why-content .section-title {

    margin-bottom: 17px;

    color: #ffffff;
}


.services-why-content > p {

    max-width: 470px;

    margin-bottom: 22px;

    color: #cbd5e1;

    font-size: 13px;

    line-height: 1.8;
}


.services-why-points {

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    gap: 13px;
}


.why-point {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 17px;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.05);
}


.why-point-icon {

    width: 38px;

    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    color: #60a5fa;

    background:
        rgba(59, 130, 246, 0.13);

    font-size: 16px;
}


.why-point h3 {

    margin: 0 0 4px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;
}


.why-point p {

    margin: 0;

    color: #94a3b8;

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   SERVICES CTA
========================================================= */

.services-cta-section {

    padding-top: 0;

    padding-bottom: 70px;
}


.services-cta {

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 32px;

    border-radius: 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0d6efd,
            #0ea5e9
        );

    box-shadow:
        0 18px 40px
        rgba(13, 110, 253, 0.16);
}


.services-cta-icon {

    width: 60px;

    height: 60px;

    flex: 0 0 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.14);

    font-size: 25px;
}


.services-cta-content {

    flex: 1;
}


.services-cta-content span {

    display: block;

    margin-bottom: 5px;

    color:
        rgba(255, 255, 255, 0.75);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.services-cta-content h2 {

    margin: 0 0 7px;

    color: #ffffff;

    font-size: 24px;

    line-height: 1.25;

    font-weight: 800;
}


.services-cta-content p {

    max-width: 620px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 12px;

    line-height: 1.7;
}


.services-cta-actions {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;
}


.services-cta-actions .btn-light {

    color: #0d6efd;

    background: #ffffff;

    border-color: #ffffff;
}


.services-cta-actions .btn-light:hover {

    color: #0b5ed7;

    background: #f8fafc;
}


.services-cta-actions .btn-whatsapp {

    color: #ffffff;

    background: #25d366;

    border-color: #25d366;
}


.services-cta-actions .btn-whatsapp:hover {

    color: #ffffff;

    background: #1da851;

    border-color: #1da851;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {


    .services-intro-grid {

        grid-template-columns: 1fr;

        gap: 35px;
    }


    .services-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .service-process-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 25px;
    }


    .service-process-grid::before {

        display: none;
    }


    .services-why {

        grid-template-columns: 1fr;

        gap: 30px;
    }


    .services-cta {

        flex-wrap: wrap;
    }


    .services-cta-content {

        min-width: 250px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {


    .services-hero {

        min-height: 370px;
    }


    .services-hero-content {

        padding: 60px 0 75px;
    }


    .services-hero h1 {

        font-size: 44px;

        letter-spacing: -1.5px;
    }


    .services-hero-content > p {

        font-size: 13px;
    }


    .services-hero-actions {

        flex-direction: column;

        align-items: stretch;

        max-width: 280px;
    }


    .services-hero-actions .btn {

        width: 100%;
    }


    .services-intro {

        padding-top: 55px;

        padding-bottom: 55px;
    }


    .services-intro-features {

        grid-template-columns: 1fr;
    }


    .services-list-section {

        padding-top: 55px;

        padding-bottom: 60px;
    }


    .services-grid {

        grid-template-columns: 1fr;

        gap: 15px;
    }


    .service-card {

        min-height: auto;

        padding: 19px;
    }


    .service-card p {

        min-height: auto;
    }


    .service-process-section {

        padding-top: 55px;

        padding-bottom: 55px;
    }


    .service-process-grid {

        grid-template-columns: 1fr;

        gap: 10px;
    }


    .service-process-item {

        padding: 18px 10px;
    }


    .services-why {

        padding: 28px 22px;

        border-radius: 18px;
    }


    .services-cta {

        align-items: flex-start;

        flex-direction: column;

        padding: 25px;
    }


    .services-cta-content {

        min-width: 0;
    }


    .services-cta-actions {

        width: 100%;

        flex-direction: column;
    }


    .services-cta-actions .btn {

        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {


    .services-hero h1 {

        font-size: 39px;

        letter-spacing: -1px;
    }


    .services-badge {

        font-size: 9px;

        padding: 7px 11px;
    }


    .services-intro-content .section-title {

        font-size: 30px;
    }


    .service-feature {

        padding: 16px;
    }


    .service-feature-icon {

        width: 40px;

        height: 40px;

        flex-basis: 40px;

        font-size: 17px;
    }


    .service-card {

        gap: 13px;

        padding: 17px;
    }


    .service-card-icon {

        width: 43px;

        height: 43px;

        flex-basis: 43px;

        font-size: 18px;
    }


    .service-card h3 {

        font-size: 15px;
    }


    .services-why-content .section-title {

        font-size: 30px;
    }


    .services-cta-content h2 {

        font-size: 21px;
    }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 380px) {


    .services-hero h1 {

        font-size: 35px;
    }


    .service-card {

        gap: 10px;
    }


    .service-card-icon {

        width: 40px;

        height: 40px;

        flex-basis: 40px;
    }


    .service-card h3 {

        font-size: 14px;
    }


    .service-card p {

        font-size: 10px;
    }

}