/* =================================================
   SERVICES PAGE
   IRAN GOSTARESH
================================================= */

:root {

    --services-blue: #3b9cff;
    --services-blue-light: #72c7ff;

    --services-green: #38d6a3;
    --services-green-light: #78e8c3;

    --services-gold: #d9b45a;
    --services-gold-light: #f0d98b;

    --services-white: #ffffff;

    --services-bg: #f5fbfa;
    --services-dark: #08181a;
    --services-dark-2: #0d2528;

    --services-text: #183235;
    --services-muted: #6b8083;

    --services-border: rgba(255,255,255,.55);

    --services-glass:
        rgba(255,255,255,.62);

    --services-shadow:
        0 20px 60px rgba(17,72,77,.10);

    --services-radius: 26px;

}


@font-face {
    font-family: "IRANSansX";
    src: url("PeydaWeb-Bold.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =================================================
   RESET
================================================= */

.services-hero *,
.services-intro *,
.services-list-section *,
.services-process *,
.services-technologies *,
.services-cta * {

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    font-family:
        'IRANSansX',
        
        sans-serif;

    background:
        var(--services-bg);

    color:
        var(--services-text);

}


/* =================================================
   CONTAINER
================================================= */

.services-container {

    width: min(
        1200px,
        calc(100% - 40px)
    );

    margin-inline: auto;

}


/* =================================================
   HERO
================================================= */

.services-hero {

    min-height: 690px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    isolation: isolate;

    background:
        linear-gradient(
            135deg,
            #071719,
            #0c292b
        );

}


/* BACKGROUND */

.services-hero-bg {

    position: absolute;

    inset: 0;

    z-index: -3;

    background:

        radial-gradient(
            circle at 20% 30%,
            rgba(59,156,255,.25),
            transparent 32%
        ),

        radial-gradient(
            circle at 80% 60%,
            rgba(56,214,163,.20),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #061618,
            #102d30
        );

}


.services-hero-bg::before {

    content: "";

    position: absolute;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    background:
        rgba(59,156,255,.10);

    filter:
        blur(40px);

    top: -250px;

    right: -150px;

}


.services-hero-bg::after {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    background:
        rgba(56,214,163,.08);

    filter:
        blur(45px);

    bottom: -250px;

    left: -120px;

}


/* HERO CONTENT */

.services-hero-content {

    width: min(
        850px,
        calc(100% - 40px)
    );

    margin-inline: auto;

    text-align: center;

    position: relative;

    z-index: 2;

}


.services-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 17px;

    border: 1px solid
        rgba(255,255,255,.16);

    border-radius: 999px;

    background:
        rgba(255,255,255,.07);

    backdrop-filter:
        blur(15px);

    color:
        var(--services-green-light);

    font-size: 14px;

    margin-bottom: 24px;

}


.services-label::before {

    content: "";

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background:
        var(--services-green);

    box-shadow:
        0 0 15px
        var(--services-green);

}


.services-hero h1 {

    margin: 0;

    color:
        white;

    font-size:
        clamp(42px, 6vw, 76px);

    line-height: 1.2;

    font-weight: 900;

    letter-spacing: -2px;

}


.services-hero h1 span {

    display: inline-block;

    color:
        var(--services-green-light);

}


.services-hero-content > p {

    max-width: 720px;

    margin: 25px auto 0;

    color:
        rgba(255,255,255,.72);

    line-height: 2.1;

    font-size: 17px;

}


/* HERO BUTTONS */

.services-hero-buttons {

    display: flex;

    justify-content: center;

    gap: 13px;

    margin-top: 34px;

    flex-wrap: wrap;

}


.services-btn {

    min-height: 52px;

    padding:
        0 24px;

    border-radius: 15px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    text-decoration: none;

    font-weight: 700;

    transition:
        .3s ease;

}


.services-btn.primary {

    color:
        #06201d;

    background:
        linear-gradient(
            135deg,
            var(--services-green-light),
            var(--services-green)
        );

    box-shadow:
        0 12px 30px
        rgba(56,214,163,.18);

}


.services-btn.secondary {

    color: white;

    border:
        1px solid
        rgba(255,255,255,.20);

    background:
        rgba(255,255,255,.07);

    backdrop-filter:
        blur(15px);

}


.services-btn:hover {

    transform:
        translateY(-4px);

}


.services-btn.primary:hover {

    box-shadow:
        0 18px 40px
        rgba(56,214,163,.30);

}


.services-btn.secondary:hover {

    background:
        rgba(255,255,255,.13);

}


/* =================================================
   FLOATING CARDS
================================================= */

.services-floating-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 13px;

    padding:
        14px 18px;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius: 18px;

    background:
        rgba(255,255,255,.08);

    backdrop-filter:
        blur(20px);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.15);

    color: white;

    animation:
        servicesFloat 5s ease-in-out infinite;

}


.services-floating-one {

    right:
        max(5%, calc((100vw - 1200px) / 2));

    top: 28%;

}


.services-floating-two {

    left:
        max(5%, calc((100vw - 1200px) / 2));

    bottom: 22%;

    animation-delay:
        -2s;

}


.services-floating-icon {

    width: 42px;

    height: 42px;

    border-radius: 13px;

    display: grid;

    place-items: center;

    color:
        var(--services-blue-light);

    background:
        rgba(59,156,255,.13);

    font-size: 19px;

}


.services-floating-icon.green {

    color:
        var(--services-green-light);

    background:
        rgba(56,214,163,.13);

}


.services-floating-card strong {

    display: block;

    font-size: 13px;

}


.services-floating-card small {

    display: block;

    margin-top: 4px;

    color:
        rgba(255,255,255,.55);

    font-size: 11px;

}


@keyframes servicesFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* =================================================
   INTRO
================================================= */

.services-intro {

    padding:
        110px 0;

    background:
        white;

}


.services-intro-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}


.section-label {

    color:
        var(--services-green);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: .3px;

}


.services-intro h2,
.services-section-heading h2,
.services-tech-heading h2 {

    margin:
        14px 0 20px;

    font-size:
        clamp(32px, 4vw, 50px);

    line-height: 1.45;

    color:
        var(--services-dark);

}


.services-intro h2 span,
.services-section-heading h2 span,
.services-tech-heading h2 span {

    color:
        var(--services-blue);

}


.services-intro p {

    color:
        var(--services-muted);

    line-height: 2.1;

    margin:
        0 0 14px;

}


/* =================================================
   SERVICES LIST
================================================= */

.services-list-section {

    padding:
        110px 0;

    background:
        var(--services-bg);

}


.services-section-heading {

    text-align: center;

    max-width: 700px;

    margin:
        0 auto 60px;

}


.services-section-heading p {

    color:
        var(--services-muted);

    line-height: 2;

}


/* GRID */

.services-main-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

}


/* CARD */

.service-detail-card {

    position: relative;

    min-height: 520px;

    padding:
        30px;

    border:
        1px solid
        rgba(24,50,53,.08);

    border-radius:
        var(--services-radius);

    background:
        var(--services-glass);

    backdrop-filter:
        blur(20px);

    box-shadow:
        var(--services-shadow);

    display: flex;

    flex-direction: column;

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}


.service-detail-card::before {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    top: -80px;

    left: -70px;

    background:
        rgba(59,156,255,.10);

    filter:
        blur(15px);

    pointer-events: none;

}


.service-detail-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 30px 75px
        rgba(17,72,77,.16);

    border-color:
        rgba(59,156,255,.20);

}


/* FEATURED */

.service-featured {

    border-color:
        rgba(56,214,163,.20);

}


.service-featured::after {

    content: "پیشنهاد ویژه";

    position: absolute;

    top: 20px;

    left: -42px;

    width: 150px;

    padding: 7px 0;

    text-align: center;

    transform:
        rotate(-45deg);

    background:
        var(--services-green);

    color:
        #063127;

    font-size: 10px;

    font-weight: 900;

}


/* TOP */

.service-detail-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.service-detail-number {

    font-size: 13px;

    font-weight: 900;

    color:
        var(--services-muted);

}


.service-detail-icon {

    width: 58px;

    height: 58px;

    border-radius: 18px;

    display: grid;

    place-items: center;

    color:
        var(--services-blue);

    background:
        rgba(59,156,255,.10);

    font-size: 23px;

    font-weight: 900;

}


.service-detail-icon.green {

    color:
        var(--services-green);

    background:
        rgba(56,214,163,.12);

}


.service-detail-icon.gold {

    color:
        var(--services-gold);

    background:
        rgba(217,180,90,.13);

}


/* CONTENT */

.service-detail-content {

    margin-top: 42px;

}


.service-small-label {

    font-size: 11px;

    color:
        var(--services-green);

    font-weight: 800;

}


.service-detail-content h3 {

    margin:
        10px 0 14px;

    font-size: 28px;

    color:
        var(--services-dark);

}


.service-detail-content p {

    color:
        var(--services-muted);

    line-height: 2;

    font-size: 14px;

}


.service-detail-content ul {

    list-style: none;

    padding: 0;

    margin:
        25px 0 0;

    display: grid;

    gap: 11px;

}


.service-detail-content li {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 13px;

    color:
        var(--services-text);

}


.service-detail-content li::before {

    content: "✓";

    width: 21px;

    height: 21px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    color:
        var(--services-green);

    background:
        rgba(56,214,163,.12);

    font-size: 11px;

}


/* BOTTOM */

.service-detail-bottom {

    margin-top: auto;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(24,50,53,.08);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

}


.service-detail-bottom > span {

    color:
        var(--services-muted);

    font-size: 10px;

    direction: ltr;

}


.service-detail-bottom a {

    text-decoration: none;

    color:
        var(--services-blue);

    font-size: 12px;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 8px;

    transition:
        .25s ease;

}


.service-detail-bottom a b {

    font-size: 17px;

}


.service-detail-bottom a:hover {

    color:
        var(--services-green);

    gap: 13px;

}


/* =================================================
   PROCESS
================================================= */

.services-process {

    padding:
        110px 0;

    background:
        white;

}


.services-process .services-section-heading {

    text-align: center;

}


.process-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


.process-item {

    text-align: center;

    position: relative;

    padding: 25px;

}


.process-item > span {

    position: absolute;

    top: 0;

    right: 20px;

    font-size: 11px;

    color:
        var(--services-muted);

    font-weight: 900;

}


.process-icon {

    width: 70px;

    height: 70px;

    margin:
        20px auto;

    border-radius: 22px;

    display: grid;

    place-items: center;

    background:
        linear-gradient(
            135deg,
            rgba(59,156,255,.10),
            rgba(56,214,163,.12)
        );

    color:
        var(--services-blue);

    font-size: 25px;

}


.process-item h3 {

    margin:
        15px 0 10px;

    color:
        var(--services-dark);

}


.process-item p {

    color:
        var(--services-muted);

    font-size: 13px;

    line-height: 1.9;

}


/* =================================================
   TECHNOLOGIES
================================================= */

.services-technologies {

    padding:
        100px 0;

    background:
        linear-gradient(
            135deg,
            #edf9f7,
            #f8fcff
        );

}


.services-tech-heading {

    text-align: center;

    margin-bottom: 45px;

}


.services-tech-list {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

}


.services-tech-list span {

    padding:
        13px 21px;

    border:
        1px solid
        rgba(59,156,255,.12);

    border-radius: 14px;

    background:
        rgba(255,255,255,.75);

    color:
        var(--services-text);

    font-size: 13px;

    font-weight: 700;

    direction: ltr;

    transition:
        .3s ease;

}


.services-tech-list span:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(56,214,163,.35);

    color:
        var(--services-green);

    box-shadow:
        0 12px 30px
        rgba(17,72,77,.08);

}


/* =================================================
   CTA
================================================= */

.services-cta {

    padding:
        110px 20px;

    background:
        var(--services-dark);

    position: relative;

    overflow: hidden;

    text-align: center;

}


.services-cta::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    background:
        rgba(56,214,163,.08);

    filter:
        blur(60px);

    top: -300px;

    right: -150px;

}


.services-cta::after {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    background:
        rgba(59,156,255,.08);

    filter:
        blur(60px);

    bottom: -300px;

    left: -100px;

}


.services-cta-content {

    position: relative;

    z-index: 2;

}


.services-cta-content > span {

    color:
        var(--services-green-light);

    font-size: 13px;

    font-weight: 700;

}


.services-cta h2 {

    color: white;

    font-size:
        clamp(35px, 5vw, 62px);

    margin:
        15px 0;

}


.services-cta h2 strong {

    color:
        var(--services-green-light);

}


.services-cta p {

    color:
        rgba(255,255,255,.60);

    line-height: 2;

    margin:
        0 auto 30px;

}


.services-cta-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding:
        15px 25px;

    border-radius: 15px;

    text-decoration: none;

    color:
        #06201d;

    background:
        var(--services-green);

    font-weight: 800;

    transition:
        .3s ease;

}


.services-cta-button:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 18px 40px
        rgba(56,214,163,.25);

}


/* =================================================
   MOBILE
================================================= */

@media (max-width: 900px) {

    .services-hero {

        min-height: 620px;

    }


    .services-floating-card {

        display: none;

    }


    .services-intro-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }


    .services-main-grid {

        grid-template-columns: 1fr;

    }


    .process-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =================================================
   TABLET / MOBILE
================================================= */

@media (max-width: 600px) {

    .services-container {

        width:
            min(
                100% - 28px,
                1200px
            );

    }


    .services-hero {

        min-height: 590px;

        padding:
            80px 0;

    }


    .services-hero h1 {

        font-size:
            clamp(35px, 11vw, 48px);

        letter-spacing:
            -1px;

    }


    .services-hero-content > p {

        font-size: 14px;

        line-height: 2;

    }


    .services-hero-buttons {

        flex-direction: column;

        width: 100%;

    }


    .services-btn {

        width: 100%;

    }


    .services-intro {

        padding:
            75px 0;

    }


    .services-list-section {

        padding:
            75px 0;

    }


    .services-section-heading {

        margin-bottom:
            40px;

    }


    .services-section-heading h2,
    .services-intro h2,
    .services-tech-heading h2 {

        font-size: 32px;

    }


    .service-detail-card {

        min-height: auto;

        padding:
            23px;

        border-radius:
            21px;

    }


    .service-detail-content {

        margin-top: 30px;

    }


    .service-detail-content h3 {

        font-size: 24px;

    }


    .service-detail-content p {

        font-size: 13px;

    }


    .service-detail-bottom {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .services-process {

        padding:
            75px 0;

    }


    .process-grid {

        grid-template-columns:
            1fr 1fr;

        gap: 5px;

    }


    .process-item {

        padding:
            15px 8px;

    }


    .process-item > span {

        right: 8px;

    }


    .process-icon {

        width: 58px;

        height: 58px;

        border-radius: 18px;

        margin:
            25px auto 15px;

    }


    .process-item h3 {

        font-size: 16px;

    }


    .process-item p {

        font-size: 11px;

    }


    .services-technologies {

        padding:
            75px 0;

    }


    .services-tech-list {

        gap: 8px;

    }


    .services-tech-list span {

        padding:
            10px 14px;

        font-size: 11px;

    }


    .services-cta {

        padding:
            80px 18px;

    }


    .services-cta h2 {

        font-size:
            36px;

    }


    .services-cta p {

        font-size: 13px;

    }


    .services-cta-button {

        width: 100%;

        justify-content:
            center;

    }

}


/* =================================================
   SMALL MOBILE
================================================= */

@media (max-width: 380px) {

    .services-hero h1 {

        font-size: 32px;

    }


    .services-main-grid {

        gap: 15px;

    }


    .service-detail-card {

        padding: 20px;

    }


    .process-grid {

        grid-template-columns:
            1fr;

    }

}


/* =================================================
   REDUCED MOTION
================================================= */

@media (prefers-reduced-motion: reduce) {

    * {

        scroll-behavior: auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

    }

}