/* =========================================================
   SHRISHA INFOSERVICES LLP
   SERVICES PAGE
   File: assets/css/services.css
   ========================================================= */


/* =========================================================
   01. PAGE CONTAINER
   ========================================================= */

.services-page-container {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 20px), var(--shrisha-container));
    margin: 0 auto;
}


/* =========================================================
   02. SERVICES HERO
   ========================================================= */

.services-page-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 160px 20px 70px;
    overflow: hidden;
}

.services-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 20%,
            black 70%,
            transparent
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 20%,
            black 70%,
            transparent
        );

    pointer-events: none;
}

.services-page-hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: -300px;
    right: -250px;
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20, 157, 255, 0.10),
            transparent 67%
        );

    pointer-events: none;
}

.services-page-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;

    color: var(--shrisha-muted);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.services-page-eyebrow > span {
    width: 25px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--shrisha-blue-bright),
            var(--shrisha-gold)
        );
}

.services-page-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(300px, 0.7fr);

    gap: 100px;
    align-items: end;
}

.services-page-hero h1 {
    max-width: 850px;
    margin: 0;

    color: var(--shrisha-white);

    font-size: clamp(52px, 6vw, 82px);
    line-height: 1.08;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.services-page-hero h1 span {
    display: block;
    padding-bottom: 0.08em;

    background:
        linear-gradient(
            90deg,
            var(--shrisha-blue-bright),
            #52b8ff 45%,
            var(--shrisha-gold)
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-page-hero-side {
    padding-bottom: 8px;
}

.services-page-hero-side p {
    margin: 0;

    color: var(--shrisha-muted);

    font-size: 18px;
    line-height: 1.75;
}

.services-page-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;

    color: var(--shrisha-white);

    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    transition: color 250ms ease;
}

.services-page-hero-link span {
    color: var(--shrisha-blue-bright);

    font-size: 18px;

    transition:
        transform 250ms ease,
        color 250ms ease;
}

.services-page-hero-link:hover {
    color: var(--shrisha-blue-bright);
}

.services-page-hero-link:hover span {
    transform: translateX(5px);
    color: var(--shrisha-gold);
}

.services-page-scroll {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 55px;

    color: #64707c;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.services-page-scroll > span {
    color: var(--shrisha-blue-bright);

    font-family: monospace;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.services-page-scroll > div {
    width: 70px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(20, 157, 255, 0.70),
            rgba(249, 185, 0, 0.50)
        );
}




/* =========================================================
   08. TECHNOLOGY & CAPABILITIES
   ========================================================= */

.services-tech {
    padding: 40px 20px 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.055);

    background:
        rgba(11, 17, 25, 0.30);
}

.services-tech-heading {
    max-width: 780px;
    margin-bottom: 65px;
}

.services-tech-heading h2 {
    margin: 0;

    color: var(--shrisha-white);

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.services-tech-heading h2 span {
    background:
        linear-gradient(
            90deg,
            var(--shrisha-blue-bright),
            var(--shrisha-gold)
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);
}

.tech-group {
    padding: 35px 28px;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.07);
}

.tech-group:first-child {
    padding-left: 0;
}

.tech-group:last-child {
    border-right: 0;
}

.tech-group-number {
    color: var(--shrisha-blue-bright);

    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
}

.tech-group h3 {
    margin: 17px 0 25px;

    color: var(--shrisha-white);

    font-size: 21px;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.tech-items span {
    color: var(--shrisha-muted);

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   09. FINAL CTA
   ========================================================= */

.services-final-cta {
    padding: 60px 20px 60px;
}

.services-final-card {
    position: relative;
    padding: 90px 70px;
    overflow: hidden;

    border:
        1px solid
        rgba(20, 157, 255, 0.14);

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(14, 24, 35, 0.88),
            rgba(8, 13, 20, 0.96)
        );

    text-align: center;
}

.services-final-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20, 157, 255, 0.08),
            transparent 65%
        );

    pointer-events: none;
}

.services-final-card .services-page-eyebrow {
    position: relative;
    justify-content: center;
}

.services-final-card h2 {
    position: relative;
    max-width: 850px;
    margin: 0 auto;

    color: var(--shrisha-white);

    font-size: clamp(45px, 5.5vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.services-final-card h2 span {
    color: var(--shrisha-gold);
}

.services-final-card p {
    position: relative;
    max-width: 580px;
    margin: 25px auto 0;

    color: var(--shrisha-muted);

    font-size: 17px;
    line-height: 1.75;
}

.services-final-card .btn-primary {
    position: relative;
    margin-top: 32px;
}


/* =========================================================
   10. TABLET — MAX 1024PX
   ========================================================= */

@media (max-width: 1024px) {

    .services-page-hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 50px;
    }

    .services-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-group:nth-child(2) {
        border-right: 0;
    }

    .tech-group:nth-child(-n + 2) {
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.07);
    }
}

/* =========================================================
   11. MOBILE — MAX 767PX
   ========================================================= */

@media (max-width: 767px) {

    .services-page-container {
        width: 100%;
    }


    /* Hero */

    .services-page-hero {
        min-height: auto;
        padding: 80px 14px 80px;
    }

    .services-page-hero-grid {
        display: block;
    }

    .services-page-hero h1 {
        font-size: 48px;
    }

    .services-page-hero-side {
        margin-top: 30px;
    }

    .services-page-hero-side p {
        font-size: 14px;
    }

    .services-page-scroll {
        margin-top: 60px;
    }

    .services-page-scroll > span {
        font-size: 18px;
    }


    /* Our Capabilities */

    .services-tech {
        padding: 50px 14px 50px;
    }

    .services-tech-heading {
        margin-bottom: 45px;
    }

    .services-tech-heading h2 {
        font-size: 40px;
    }

    .services-tech-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tech-group {
        padding: 25px 18px;
    }

    .tech-group:first-child {
        padding-left: 18px;
    }


    /* Final CTA */

    .services-final-cta {
        padding: 50px 14px 50px;
    }

    .services-final-card {
        padding: 50px 24px;
        border-radius: 22px;
    }

    .services-final-card h2 {
        font-size: 40px;
    }

    .services-final-card p {
        font-size: 15px;
    }
}


/* =========================================================
   12. NEW CORE SERVICES GRID
   ========================================================= */

.services-core {
    position: relative;
    padding: 90px 20px 120px;

    border-top: 1px solid rgba(255, 255, 255, 0.055);

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(20, 157, 255, 0.055),
            transparent 32%
        ),
        #070b10;
}


/* Heading */

.services-core-heading {
    max-width: 800px;
    margin-bottom: 60px;
}

.services-core-heading h2 {
    margin: 0;

    color: var(--shrisha-white);

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.services-core-heading h2 span {
    display: block;

    background: linear-gradient(
        90deg,
        var(--shrisha-blue-bright),
        #55baff 48%,
        var(--shrisha-gold)
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-core-heading > p {
    max-width: 680px;
    margin: 24px 0 0;

    color: var(--shrisha-muted);

    font-size: 17px;
    line-height: 1.75;
}


/* Grid */

.services-core-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* Card */

.services-core-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 510px;
    padding: 38px;

    overflow: hidden;

    border: 1px solid rgba(20, 157, 255, 0.13);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 22, 32, 0.86),
            rgba(8, 13, 20, 0.94)
        );

    transition:
        transform 280ms ease,
        border-color 280ms ease,
        background 280ms ease,
        box-shadow 280ms ease;
}


/* Subtle glow */

.services-core-card::before {
    content: "";

    position: absolute;
    width: 300px;
    height: 300px;

    top: -170px;
    right: -150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20, 157, 255, 0.10),
            transparent 68%
        );

    pointer-events: none;

    transition: transform 350ms ease;
}


/* Top gradient accent */

.services-core-card::after {
    content: "";

    position: absolute;

    left: 38px;
    right: 38px;
    top: 0;

    height: 1px;

    opacity: 0.55;

    background: linear-gradient(
        90deg,
        var(--shrisha-blue-bright),
        transparent 65%
    );
}


.services-core-card:hover {
    transform: translateY(-6px);

    border-color: rgba(20, 157, 255, 0.32);

    background:
        linear-gradient(
            145deg,
            rgba(16, 28, 42, 0.96),
            rgba(8, 13, 20, 0.98)
        );

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.24);
}

.services-core-card:hover::before {
    transform: translate(-25px, 25px);
}


/* Number + icon */

.services-core-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 32px;
}

.services-core-number {
    color: var(--shrisha-blue-bright);

    font-family: monospace;
    font-size: 15px;
    font-weight: 800;
}

.services-core-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(20, 157, 255, 0.17);
    border-radius: 13px;

    background: rgba(20, 157, 255, 0.04);

    color: var(--shrisha-blue-bright);

    font-family: monospace;
    font-size: 17px;
    font-weight: 800;

    transition:
        border-color 250ms ease,
        color 250ms ease,
        transform 250ms ease;
}

.services-core-card:hover .services-core-icon {
    color: var(--shrisha-gold);

    border-color: rgba(249, 185, 0, 0.28);

    transform: rotate(-4deg);
}


/* Category */

.services-core-category {
    position: relative;
    z-index: 2;

    display: block;
    margin-bottom: 15px;

    color: #667482;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}


/* Title */

.services-core-card h3 {
    position: relative;
    z-index: 2;

    margin: 0;

    color: var(--shrisha-white);

    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.services-core-card h3 span {
    display: block;

    color: #aeb9c5;
}


/* Description */

.services-core-card > p {
    position: relative;
    z-index: 2;

    max-width: 510px;
    margin: 20px 0 0;

    color: var(--shrisha-muted);

    font-size: 15px;
    line-height: 1.7;
}


/* Capabilities */

.services-core-capabilities {
    position: relative;
    z-index: 2;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 27px;
}

.services-core-capabilities > span {
    padding: 8px 11px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.025);

    color: #9ca8b5;

    font-size: 12px;
    font-weight: 600;
}


/* Card CTA */

.services-core-link {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 11px;

    width: fit-content;

    margin-top: auto;
    padding-top: 30px;

    color: var(--shrisha-white);

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition: color 250ms ease;
}

.services-core-link > span {
    color: var(--shrisha-blue-bright);

    font-size: 18px;

    transition:
        transform 250ms ease,
        color 250ms ease;
}

.services-core-link:hover {
    color: var(--shrisha-blue-bright);
}

.services-core-link:hover > span {
    color: var(--shrisha-gold);

    transform: translateX(5px);
}


/* =========================================================
   NEW SERVICES — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .services-core {
        padding: 80px 20px 100px;
    }

    .services-core-grid {
        grid-template-columns: 1fr;
    }

    .services-core-card {
        min-height: 460px;
    }
}


/* =========================================================
   NEW SERVICES — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .services-core {
        padding: 70px 14px 80px;
    }

    .services-core-heading {
        margin-bottom: 40px;
    }

    .services-core-heading h2 {
        font-size: 39px;
    }

    .services-core-heading > p {
        font-size: 15px;
    }

    .services-core-grid {
        gap: 14px;
    }

    .services-core-card {
        min-height: auto;

        padding: 27px 22px;

        border-radius: 18px;
    }

    .services-core-card::after {
        left: 22px;
        right: 22px;
    }

    .services-core-top {
        margin-bottom: 26px;
    }

    .services-core-icon {
        width: 43px;
        height: 43px;
    }

    .services-core-card h3 {
        font-size: 30px;
    }

    .services-core-card > p {
        font-size: 14px;
    }

    .services-core-link {
        margin-top: 30px;
        padding-top: 0;
    }
}