/* =========================================================
   SERVICES — DANIAL.DEV
========================================================= */

.services-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    direction: rtl;
    background: #f8fbff;
}


/* =========================================================
   BACKGROUND
========================================================= */

.services-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.services-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
}

.services-orb-1 {
    width: 420px;
    height: 420px;
    top: 80px;
    right: -220px;
    background: rgba(20,100,216,.09);
}

.services-orb-2 {
    width: 360px;
    height: 360px;
    bottom: 100px;
    left: -200px;
    background: rgba(77,145,255,.08);
}

.services-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(
            rgba(20,100,216,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(20,100,216,.025) 1px,
            transparent 1px
        );
    background-size: 55px 55px;
}


/* =========================================================
   HEADING
========================================================= */

.services-heading {
    position: relative;
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
    z-index: 2;
}

.services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 15px;

    margin-bottom: 20px;

    border: 1px solid rgba(20,100,216,.10);
    border-radius: 100px;

    color: #55708f;

    background: rgba(255,255,255,.7);

    backdrop-filter: blur(12px);

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

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1464d8;
    box-shadow: 0 0 0 5px rgba(20,100,216,.08);
}

.services-heading h2 {
    margin: 0;

    color: #092653;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -2px;
}

.services-heading h2 span {
    display: inline-block;
    color: #1464d8;
}

.services-heading p {
    max-width: 650px;

    margin: 25px auto 0;

    color: #6e819b;

    font-size: 16px;
    line-height: 2.1;
    font-weight: 600;
}


/* =========================================================
   GRID
========================================================= */

.services-grid {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

    z-index: 2;
}


/* =========================================================
   CARD
========================================================= */

.service-card {
    position: relative;

    min-height: 430px;

    padding: 31px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    border:
        1px solid rgba(20,100,216,.075);

    border-radius: 27px;

    background:
        rgba(255,255,255,.82);

    backdrop-filter: blur(20px);

    box-shadow:
        0 18px 55px rgba(12,48,90,.055),
        0 1px 0 rgba(255,255,255,.9) inset;

    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        box-shadow .55s ease,
        border-color .4s ease;
}

.service-card:hover {
    transform: translateY(-9px);

    border-color:
        rgba(20,100,216,.16);

    box-shadow:
        0 30px 70px rgba(12,48,90,.10),
        0 1px 0 rgba(255,255,255,1) inset;
}


/* Card glow */

.service-card::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    top: -120px;
    right: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20,100,216,.10),
            transparent 70%
        );

    filter: blur(15px);

    opacity: 0;

    transition: opacity .5s ease;
}

.service-card:hover::before {
    opacity: 1;
}


/* =========================================================
   TOP
========================================================= */

.service-top {
    position: relative;

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

    margin-bottom: 35px;
}

.service-icon {
    width: 58px;
    height: 58px;

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

    border-radius: 17px;

    color: #1464d8;

    background:
        linear-gradient(
            145deg,
            rgba(20,100,216,.11),
            rgba(20,100,216,.035)
        );

    border:
        1px solid rgba(20,100,216,.09);

    box-shadow:
        0 10px 25px rgba(20,100,216,.07);

    font-size: 25px;

    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        background .4s ease;
}

.service-card:hover .service-icon {
    transform:
        rotate(-5deg)
        scale(1.08);

    background:
        linear-gradient(
            145deg,
            rgba(20,100,216,.17),
            rgba(20,100,216,.055)
        );
}

.service-number {
    color: #b3c0d0;

    font-family: Arial, sans-serif;

    font-size: 12px;
    font-weight: 800;

    direction: ltr;
}


/* =========================================================
   CONTENT
========================================================= */

.service-content {
    flex: 1;
}

.service-label {
    display: block;

    margin-bottom: 10px;

    color: #1464d8;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .2px;
}

.service-content h3 {
    margin: 0 0 17px;

    color: #0b2b54;

    font-size: 25px;
    line-height: 1.55;

    font-weight: 950;

    letter-spacing: -.6px;
}

.service-content p {
    margin: 0;

    color: #71849d;

    font-size: 14px;
    line-height: 2;

    font-weight: 600;
}


/* =========================================================
   TECH STACK
========================================================= */

.tech-stack {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 28px;
}

.tech-stack span {
    padding: 7px 10px;

    border-radius: 9px;

    color: #55708e;

    background: #f5f8fc;

    border:
        1px solid rgba(20,100,216,.055);

    font-family: Arial, sans-serif;

    font-size: 10px;
    font-weight: 800;

    direction: ltr;

    transition:
        color .3s ease,
        background .3s ease,
        transform .3s ease;
}

.service-card:hover .tech-stack span {
    color: #1464d8;
    background: #eef5ff;
}

.tech-stack span:hover {
    transform: translateY(-2px);
}


/* =========================================================
   SERVICE FOOTER
========================================================= */

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-top: 22px;
    padding-top: 18px;

    border-top:
        1px solid rgba(20,100,216,.065);
}

.service-footer > span {
    color: #9aaabd;

    font-size: 10px;
    font-weight: 800;
}

.service-projects {
    display: flex;
    gap: 6px;
}

.service-projects span {
    padding: 5px 8px;

    border-radius: 7px;

    color: #53708f;

    background: #f5f8fc;

    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.services-bottom {
    position: relative;

    margin-top: 35px;

    padding: 38px 42px;

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

    gap: 35px;

    overflow: hidden;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #0b2f63,
            #0b438f
        );

    box-shadow:
        0 25px 70px rgba(10,54,110,.16);

    z-index: 2;
}

.services-bottom::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -100px;
    top: -160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(77,145,255,.28),
            transparent 70%
        );

    filter: blur(20px);
}

.services-bottom-content {
    position: relative;
    z-index: 2;
}

.services-bottom-badge {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;

    color: rgba(255,255,255,.65);

    font-size: 11px;
    font-weight: 800;
}

.services-bottom-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #6fa8ff;

    box-shadow:
        0 0 0 5px rgba(111,168,255,.12);
}

.services-bottom h3 {
    margin: 0;

    color: white;

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.6;

    font-weight: 900;
}

.services-bottom h3 strong {
    color: #72aaff;
}

.services-bottom p {
    max-width: 650px;

    margin: 8px 0 0;

    color: rgba(255,255,255,.66);

    font-size: 13px;
    line-height: 1.9;

    font-weight: 600;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.services-cta {
    position: relative;

    flex-shrink: 0;

    min-width: 175px;
    min-height: 55px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 15px;

    color: #0b438f;

    background: white;

    text-decoration: none;

    font-size: 12px;
    font-weight: 950;

    box-shadow:
        0 14px 30px rgba(0,0,0,.12);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.services-cta:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 38px rgba(0,0,0,.18);
}

.services-cta svg {
    transition:
        transform .35s ease;
}

.services-cta:hover svg {
    transform: translateX(-4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .services-section {
        padding: 120px 0;
    }

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

    .services-bottom {
        padding: 32px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .services-section {
        padding: 100px 0;
    }

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

    .services-heading h2 {
        font-size: 38px;
        letter-spacing: -1.2px;
    }

    .services-heading p {
        font-size: 14px;
        line-height: 2;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        min-height: 0;
        padding: 25px;
        border-radius: 23px;
    }

    .service-content h3 {
        font-size: 22px;
    }

    .service-content p {
        font-size: 13px;
    }

    .services-bottom {
        flex-direction: column;
        align-items: stretch;

        padding: 27px 24px;

        border-radius: 23px;
    }

    .services-bottom h3 {
        font-size: 25px;
    }

    .services-cta {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

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

    .service-card {
        padding: 22px;
    }

    .service-content h3 {
        font-size: 20px;
    }

    .service-content p {
        font-size: 12px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
    }

}
/* =========================================================
   SERVICES — DANIAL.DEV
========================================================= */

.services-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    direction: rtl;
    background: #f8fbff;
}


/* =========================================================
   BACKGROUND
========================================================= */

.services-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.services-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
}

.services-orb-1 {
    width: 420px;
    height: 420px;
    top: 80px;
    right: -220px;
    background: rgba(20,100,216,.09);
}

.services-orb-2 {
    width: 360px;
    height: 360px;
    bottom: 100px;
    left: -200px;
    background: rgba(77,145,255,.08);
}

.services-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(
            rgba(20,100,216,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(20,100,216,.025) 1px,
            transparent 1px
        );
    background-size: 55px 55px;
}


/* =========================================================
   HEADING
========================================================= */

.services-heading {
    position: relative;
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
    z-index: 2;
}

.services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 15px;

    margin-bottom: 20px;

    border: 1px solid rgba(20,100,216,.10);
    border-radius: 100px;

    color: #55708f;

    background: rgba(255,255,255,.7);

    backdrop-filter: blur(12px);

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

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1464d8;
    box-shadow: 0 0 0 5px rgba(20,100,216,.08);
}

.services-heading h2 {
    margin: 0;

    color: #092653;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -2px;
}

.services-heading h2 span {
    display: inline-block;
    color: #1464d8;
}

.services-heading p {
    max-width: 650px;

    margin: 25px auto 0;

    color: #6e819b;

    font-size: 16px;
    line-height: 2.1;
    font-weight: 600;
}


/* =========================================================
   GRID
========================================================= */

.services-grid {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

    z-index: 2;
}


/* =========================================================
   CARD
========================================================= */

.service-card {
    position: relative;

    min-height: 430px;

    padding: 31px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    border:
        1px solid rgba(20,100,216,.075);

    border-radius: 27px;

    background:
        rgba(255,255,255,.82);

    backdrop-filter: blur(20px);

    box-shadow:
        0 18px 55px rgba(12,48,90,.055),
        0 1px 0 rgba(255,255,255,.9) inset;

    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        box-shadow .55s ease,
        border-color .4s ease;
}

.service-card:hover {
    transform: translateY(-9px);

    border-color:
        rgba(20,100,216,.16);

    box-shadow:
        0 30px 70px rgba(12,48,90,.10),
        0 1px 0 rgba(255,255,255,1) inset;
}


/* Card glow */

.service-card::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    top: -120px;
    right: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20,100,216,.10),
            transparent 70%
        );

    filter: blur(15px);

    opacity: 0;

    transition: opacity .5s ease;
}

.service-card:hover::before {
    opacity: 1;
}


/* =========================================================
   TOP
========================================================= */

.service-top {
    position: relative;

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

    margin-bottom: 35px;
}

.service-icon {
    width: 58px;
    height: 58px;

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

    border-radius: 17px;

    color: #1464d8;

    background:
        linear-gradient(
            145deg,
            rgba(20,100,216,.11),
            rgba(20,100,216,.035)
        );

    border:
        1px solid rgba(20,100,216,.09);

    box-shadow:
        0 10px 25px rgba(20,100,216,.07);

    font-size: 25px;

    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        background .4s ease;
}

.service-card:hover .service-icon {
    transform:
        rotate(-5deg)
        scale(1.08);

    background:
        linear-gradient(
            145deg,
            rgba(20,100,216,.17),
            rgba(20,100,216,.055)
        );
}

.service-number {
    color: #b3c0d0;

    font-family: Arial, sans-serif;

    font-size: 12px;
    font-weight: 800;

    direction: ltr;
}


/* =========================================================
   CONTENT
========================================================= */

.service-content {
    flex: 1;
}

.service-label {
    display: block;

    margin-bottom: 10px;

    color: #1464d8;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .2px;
}

.service-content h3 {
    margin: 0 0 17px;

    color: #0b2b54;

    font-size: 25px;
    line-height: 1.55;

    font-weight: 950;

    letter-spacing: -.6px;
}

.service-content p {
    margin: 0;

    color: #71849d;

    font-size: 14px;
    line-height: 2;

    font-weight: 600;
}


/* =========================================================
   TECH STACK
========================================================= */

.tech-stack {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 28px;
}

.tech-stack span {
    padding: 7px 10px;

    border-radius: 9px;

    color: #55708e;

    background: #f5f8fc;

    border:
        1px solid rgba(20,100,216,.055);

    font-family: Arial, sans-serif;

    font-size: 10px;
    font-weight: 800;

    direction: ltr;

    transition:
        color .3s ease,
        background .3s ease,
        transform .3s ease;
}

.service-card:hover .tech-stack span {
    color: #1464d8;
    background: #eef5ff;
}

.tech-stack span:hover {
    transform: translateY(-2px);
}


/* =========================================================
   SERVICE FOOTER
========================================================= */

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-top: 22px;
    padding-top: 18px;

    border-top:
        1px solid rgba(20,100,216,.065);
}

.service-footer > span {
    color: #9aaabd;

    font-size: 10px;
    font-weight: 800;
}

.service-projects {
    display: flex;
    gap: 6px;
}

.service-projects span {
    padding: 5px 8px;

    border-radius: 7px;

    color: #53708f;

    background: #f5f8fc;

    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.services-bottom {
    position: relative;

    margin-top: 35px;

    padding: 38px 42px;

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

    gap: 35px;

    overflow: hidden;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #0b2f63,
            #0b438f
        );

    box-shadow:
        0 25px 70px rgba(10,54,110,.16);

    z-index: 2;
}

.services-bottom::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -100px;
    top: -160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(77,145,255,.28),
            transparent 70%
        );

    filter: blur(20px);
}

.services-bottom-content {
    position: relative;
    z-index: 2;
}

.services-bottom-badge {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;

    color: rgba(255,255,255,.65);

    font-size: 11px;
    font-weight: 800;
}

.services-bottom-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #6fa8ff;

    box-shadow:
        0 0 0 5px rgba(111,168,255,.12);
}

.services-bottom h3 {
    margin: 0;

    color: white;

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.6;

    font-weight: 900;
}

.services-bottom h3 strong {
    color: #72aaff;
}

.services-bottom p {
    max-width: 650px;

    margin: 8px 0 0;

    color: rgba(255,255,255,.66);

    font-size: 13px;
    line-height: 1.9;

    font-weight: 600;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.services-cta {
    position: relative;

    flex-shrink: 0;

    min-width: 175px;
    min-height: 55px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 15px;

    color: #0b438f;

    background: white;

    text-decoration: none;

    font-size: 12px;
    font-weight: 950;

    box-shadow:
        0 14px 30px rgba(0,0,0,.12);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.services-cta:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 38px rgba(0,0,0,.18);
}

.services-cta svg {
    transition:
        transform .35s ease;
}

.services-cta:hover svg {
    transform: translateX(-4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .services-section {
        padding: 120px 0;
    }

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

    .services-bottom {
        padding: 32px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .services-section {
        padding: 100px 0;
    }

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

    .services-heading h2 {
        font-size: 38px;
        letter-spacing: -1.2px;
    }

    .services-heading p {
        font-size: 14px;
        line-height: 2;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        min-height: 0;
        padding: 25px;
        border-radius: 23px;
    }

    .service-content h3 {
        font-size: 22px;
    }

    .service-content p {
        font-size: 13px;
    }

    .services-bottom {
        flex-direction: column;
        align-items: stretch;

        padding: 27px 24px;

        border-radius: 23px;
    }

    .services-bottom h3 {
        font-size: 25px;
    }

    .services-cta {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

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

    .service-card {
        padding: 22px;
    }

    .service-content h3 {
        font-size: 20px;
    }

    .service-content p {
        font-size: 12px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
    }

}
.service-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: .35s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.15) rotate(-8deg);
}
