/* =====================================
   RESET
===================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================
   ROOT
===================================== */

:root {

    --primary: #2563eb;
    --primary-dark: #1849d6;

    --success: #22c55e;

    --purple: #8b5cf6;

    --warning: #f59e0b;

    --danger: #ef4444;

    --info: #0ea5e9;

    --text: #0f172a;

    --muted: #64748b;

    --surface: #ffffff;

    --background: #eef4fb;

    --radius-xs: 14px;
    --radius-sm: 18px;
    --radius-md: 24px;
    --radius-lg: 30px;
    --radius-xl: 38px;

    --shadow-sm:
        0 8px 20px rgba(15, 23, 42, .04);

    --shadow-md:
        0 15px 35px rgba(15, 23, 42, .06);

    --shadow-lg:
        0 25px 60px rgba(15, 23, 42, .08);

}

/* =====================================
   HTML
===================================== */

html {

    scroll-behavior: smooth;

    direction: rtl;
}

/* =====================================
   BODY
===================================== */

body {

    font-family: 'Vazirmatn', sans-serif;

    background:
        linear-gradient(180deg,
            #edf3fb 0%,
            #e7eef9 100%);

    color: var(--text);

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: flex-start;

    padding: 30px;

    overflow-x: hidden;
}

/* =====================================
   APP WRAPPER
===================================== */

.app-shell {

    width: 100%;

    max-width: 620px;

    min-height: 100vh;

    position: relative;
}

/* =====================================
   PAGE
===================================== */

.services-page {

    width: 100%;

    position: relative;

    overflow: hidden;

    border-radius: 42px;

    background: #f6f8fc;

    box-shadow:
        0 40px 90px rgba(15, 23, 42, .12);
}

/* =====================================
   HERO
===================================== */

.hero {

    height: 200px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #4e7eff 0%,
            #2563eb 50%,
            #1849d6 100%);
}

/* =====================================
   LIGHT EFFECT 1
===================================== */

.hero::before {

    content: "";

    position: absolute;

    width: 340px;
    height: 340px;

    border-radius: 50%;

    top: -140px;
    right: -140px;

    background:
        rgba(255, 255, 255, .10);

    filter: blur(1px);
}

/* =====================================
   LIGHT EFFECT 2
===================================== */

.hero::after {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    left: -120px;
    top: -80px;

    background:
        rgba(255, 255, 255, .08);
}

/* =====================================
   HERO TOP
===================================== */

.hero-top {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: flex-start;

    padding: 26px;
}

/* =====================================
   NOTIFICATION
===================================== */

.notification-btn {

    width: 54px;
    height: 54px;

    border: none;

    border-radius: 18px;

    background:
        rgba(255, 255, 255, .15);

    backdrop-filter:
        blur(16px);

    color: #fff;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    transition: .3s;
}

.notification-btn i {

    font-size: 22px;
}

.notification-btn:hover {

    transform: translateY(-2px);
}

.notification-dot {

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #ff4d4d;

    position: absolute;

    top: 12px;
    right: 14px;

    border: 2px solid #fff;
}

/* =====================================
   HERO CONTENT
===================================== */

.hero-content {

    position: relative;

    z-index: 2;

    text-align: center;

    margin-top: 25px;
}

.hero-content h1 {

    margin-top: 30px;

    color: white;

    font-size: 34px;

    font-weight: 900;

    line-height: 1;
}

.hero-content p {

    color:
        rgba(255, 255, 255, .92);

    margin-top: 12px;

    font-size: 13px;

    font-weight: 500;
}

/* =====================================
   CONTENT CONTAINER
===================================== */

.content {

    position: relative;

    margin-top: -55px;

    background: #f8fafc;

    border-top-left-radius: 36px;
    border-top-right-radius: 36px;

    min-height: 100vh;

    padding: 28px 18px 60px;

    z-index: 5;
}

/* =====================================
   SECTION TITLE
===================================== */
.section-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;
}

.title-right{

    display:flex;

    align-items:center;

    gap:10px;
}

.title-right i{

    font-size:22px;

    color:#2563eb;
}

.title-right h2{

    font-size:20px;

    font-weight:800;

    color:#0f172a;
}

.section-title span{

    font-size:12px;

    color:#94a3b8;
}

/* =========================
   SERVICES GRID
========================= */

.services-grid{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:14px;

    margin-bottom:24px;
}

/* =====================================
   TITLE COLORS
===================================== */

.section-title:not(.sports-title):not(.other-title) i {

    color: #22c55e;
}

.sports-title i {

    color: #8b5cf6;
}

.other-title i {

    color: #0ea5e9;
}

/* =====================================
   GRID
===================================== */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-bottom: 38px;
}

/* =====================================
   CARD
===================================== */

.service-card {

    background: white;

    border-radius: 30px;

    min-height: 125px;

    padding: 14px 10px;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    text-align: center;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, .05);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

/* =====================================
   CARD GLOW
===================================== */

.service-card::before {

    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    top: -80px;
    right: -60px;

    background:
        rgba(255, 255, 255, .7);

    opacity: .5;
}

/* =====================================
   HOVER
===================================== */

.service-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 20px 50px rgba(15, 23, 42, .08);
}

/* =====================================
   ACTIVE
===================================== */

.service-card:active {

    transform:
        scale(.96);
}

/* =====================================
   ICON BOX
===================================== */

.card-icon {

    width: 48px;
    height: 48px;

    border-radius: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 14px;

    flex-shrink: 0;
}

.card-icon i {

    font-size: 22px;
}

/* =====================================
   CARD TITLE
===================================== */

.service-card h3 {

    font-size: 13px;

    font-weight: 800;

    line-height: 1.8;

    margin-bottom: 6px;

    color: #0f172a;
}

/* =====================================
   CARD DESC
===================================== */

.service-card p {

    font-size: 10px;

    color: #64748b;

    line-height: 1.9;
}

/* =====================================
   MUNICIPAL COLORS
===================================== */

.road {

    background: #e8f0ff;
    color: #2563eb;
}

.lamp {

    background: #fff5dd;
    color: #f59e0b;
}

.trash {

    background: #eaffef;
    color: #22c55e;
}

.tree {

    background: #ebfff0;
    color: #16a34a;
}

.water {

    background: #eaf8ff;
    color: #0ea5e9;
}

.building {

    background: #f4ecff;
    color: #8b5cf6;
}

/* =====================================
   OTHER COLORS
===================================== */

.medical {

    background: #ffecec;
    color: #ef4444;
}

.wallet {

    background: #fff3e6;
    color: #fb923c;
}

.transport {

    background: #eef5ff;
    color: #2563eb;
}

.tourism {

    background: #ecfff5;
    color: #16c55e;
}

.events {

    background: #fff3e7;
    color: #f97316;
}

.business {

    background: #f5eeff;
    color: #7c3aed;
}

/* =========================
   REQUEST CARD
========================= */

.report-action{

    position:relative;

    background:
    linear-gradient(
    135deg,
    #2563eb,
    #1849d6
    );

    border-radius:28px;

    padding:18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    overflow:hidden;

    margin-bottom:30px;
}

/* =========================
   BG EFFECT
========================= */

.report-action-bg{

    position:absolute;

    width:160px;
    height:160px;

    border-radius:50%;

    background:
    rgba(255,255,255,.08);

    left:-60px;
    top:-60px;
}

/* =========================
   LEFT
========================= */

.report-left{

    display:flex;

    align-items:center;

    gap:14px;

    position:relative;

    z-index:2;
}

/* =========================
   ICON
========================= */

.report-icon{

    width:58px;
    height:58px;

    border-radius:18px;

    background:
    rgba(255,255,255,.15);

    display:flex;

    align-items:center;

    justify-content:center;

    backdrop-filter:blur(10px);
}

.report-icon i{

    font-size:24px;

    color:white;
}

/* =========================
   TEXT
========================= */

.report-text h3{

    color:white;

    font-size:17px;

    font-weight:800;

    margin-bottom:4px;
}

.report-text p{

    color:
    rgba(255,255,255,.85);

    font-size:12px;
}

/* =========================
   BUTTON
========================= */

.report-btn{

    width:54px;
    height:54px;

    border:none;

    border-radius:18px;

    background:white;

    color:#2563eb;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    z-index:2;

    transition:.25s;
}

.report-btn:hover{

    transform:
    rotate(90deg);
}

.report-btn i{

    font-size:22px;
}

/* =====================================
   SPORTS GRID
===================================== */

.sports-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

    margin-bottom: 22px;
}

/* =====================================
   SPORTS CARD
===================================== */

.sport-card {

    position: relative;

    background: #fff;

    min-height: 125px;

    border-radius: 30px;

    padding: 18px 14px;

    overflow: hidden;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, .05);

    transition:
        .3s ease;
}

.sport-card::before {

    content: "";

    position: absolute;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    right: -60px;
    top: -60px;

    background:
        rgba(139, 92, 246, .08);
}

.sport-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 20px 50px rgba(15, 23, 42, .08);
}

.sport-card:active {

    transform:
        scale(.96);
}

/* =====================================
   SPORTS ICON
===================================== */

.sport-icon {

    width: 66px;
    height: 66px;

    border-radius: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(135deg,
            #f4ecff,
            #ede4ff);

    margin-bottom: 14px;
}

.sport-icon i {

    font-size: 30px;

    color: #8b5cf6;
}

/* =====================================
   SPORTS TEXT
===================================== */

.sport-card h3 {

    font-size: 15px;

    font-weight: 800;

    line-height: 1.8;

    margin-bottom: 6px;
}

.sport-card p {

    font-size: 12px;

    color: #64748b;

    line-height: 1.8;
}

/* =====================================
   SHOW ALL BUTTON
===================================== */

.show-all-btn {

    width: 100%;

    height: 62px;

    border: none;

    border-radius: 22px;

    cursor: pointer;

    margin-bottom: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-family: 'Vazirmatn';

    font-size: 15px;

    font-weight: 800;

    color: #7c3aed;

    background:
        linear-gradient(135deg,
            #f7f2ff,
            #efe8ff);

    box-shadow:
        0 10px 30px rgba(139, 92, 246, .10);

    transition: .3s;
}

.show-all-btn:hover {

    transform: translateY(-2px);
}

.show-all-btn i {

    font-size: 18px;
}

/* =====================================
   PAGE FADE IN
===================================== */

@keyframes pageFade {

    from {

        opacity: 0;
        transform: translateY(20px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

.services-page {

    animation:
        pageFade .7s ease;
}

/* =====================================
   CARD REVEAL
===================================== */

@keyframes cardReveal {

    from {

        opacity: 0;

        transform:
            translateY(30px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}

/* =====================================
   STAGGER
===================================== */

.service-card,
.sport-card {

    opacity: 0;

    animation:
        cardReveal .6s ease forwards;
}

.service-card:nth-child(1) {
    animation-delay: .05s;
}

.service-card:nth-child(2) {
    animation-delay: .10s;
}

.service-card:nth-child(3) {
    animation-delay: .15s;
}

.service-card:nth-child(4) {
    animation-delay: .20s;
}

.service-card:nth-child(5) {
    animation-delay: .25s;
}

.service-card:nth-child(6) {
    animation-delay: .30s;
}

.sport-card:nth-child(1) {
    animation-delay: .10s;
}

.sport-card:nth-child(2) {
    animation-delay: .20s;
}

.sport-card:nth-child(3) {
    animation-delay: .30s;
}

/* =====================================
   FLOATING HERO
===================================== */

@keyframes floatHero {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }

}

.hero-circle {

    animation:
        floatHero 8s ease-in-out infinite;
}

.hero-circle-two {

    animation:
        floatHero 10s ease-in-out infinite;
}

/* =====================================
   HERO GLOW
===================================== */

.hero-content h1 {

    text-shadow:
        0 10px 30px rgba(255, 255, 255, .15);
}

/* =====================================
   CARD SHINE
===================================== */

.service-card::after,
.sport-card::after {

    content: "";

    position: absolute;

    top: 0;
    left: -150%;

    width: 70px;
    height: 100%;

    background:

        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .45),
            transparent);

    transition: .8s;
}

.service-card:hover::after,
.sport-card:hover::after {

    left: 180%;
}

/* =====================================
   REQUEST GLOW
===================================== */

.request-btn {

    position: relative;
}

.request-btn::before {

    content: "";

    position: absolute;

    inset: -8px;

    border-radius: 26px;

    background:
        rgba(34, 197, 94, .15);

    z-index: -1;

    filter: blur(12px);
}

/* =====================================
   GLASS EFFECT
===================================== */

.notification-btn {

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}

/* =====================================
   SCROLLBAR
===================================== */

::-webkit-scrollbar {

    width: 8px;
}

::-webkit-scrollbar-track {

    background: #edf3fb;
}

::-webkit-scrollbar-thumb {

    background: #cbd5e1;

    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {

    background: #94a3b8;
}

/* =====================================
   TEXT QUALITY
===================================== */

body {

    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;
}

/* =====================================
   IMAGE SAFETY
===================================== */

img {

    user-select: none;

    -webkit-user-drag: none;
}

/* =====================================
   MOBILE TAP
===================================== */

button,
a,
div {

    -webkit-tap-highlight-color:
        transparent;
}

/* =====================================
   LARGE DESKTOP
===================================== */

@media(min-width:1200px) {

    .app-shell {

        max-width: 560px;
    }

    .services-grid {

        gap: 20px;
    }

    .sport-grid {

        gap: 20px;
    }

}

/* =====================================
   TABLET
===================================== */

@media(max-width:768px) {

    body {

        padding: 15px;
    }

    .app-shell {

        max-width: 520px;
    }

}

/* =====================================
   MOBILE
===================================== */

@media(max-width:540px) {

    body {

        padding: 0;

        background: #ffffff;
    }

    .services-page {

        border-radius: 0;

        box-shadow: none;
    }

    .app-shell {

        max-width: none;

        width: 100%;
    }

}

/* =====================================
   SMALL MOBILE
===================================== */

@media(max-width:420px) {

    .content {

        padding:
            24px 14px 50px;
    }

    .services-grid {

        gap: 12px;
    }

    .sports-grid {

        gap: 12px;
    }

    .service-card,
    .sport-card {

        min-height: 145px;
    }

    .card-icon,
    .sport-icon {

        width: 58px;
        height: 58px;
    }

    .card-icon i,
    .sport-icon i {

        font-size: 26px;
    }

    .section-title h2 {

        font-size: 22px;
    }

}

/* =====================================
   VERY SMALL DEVICES
===================================== */

@media(max-width:360px) {

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .sports-grid {

        grid-template-columns:
            1fr;
    }

}

/* =====================================
   PREMIUM BACKGROUND
===================================== */

body::before {

    content: "";

    position: fixed;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    top: -250px;
    right: -250px;

    background:
        rgba(37, 99, 235, .08);

    z-index: -1;
}

body::after {

    content: "";

    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    bottom: -250px;
    left: -250px;

    background:
        rgba(139, 92, 246, .05);

    z-index: -1;
}


/* =====================================
   COMING SOON
===================================== */

.coming-soon-section {

    position: relative;

    opacity: .8;
}

.coming-soon-section .services-grid {

    filter: blur(.8px);

    pointer-events: none;

    user-select: none;
}

.coming-soon-section::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        rgba(255, 255, 255, .35);

    z-index: 20;

    border-radius: 30px;
}

.coming-soon-section::after {

    content: "درحال توسعه...";

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%, -50%);

    z-index: 30;

    background:
        linear-gradient(135deg,
            #f59e0b,
            #ea580c);

    color: white;

    padding:
        12px 26px;

    border-radius: 999px;

    font-size: 15px;

    font-weight: 800;

    box-shadow:
        0 12px 30px rgba(245, 158, 11, .25);
}


.track-reports-card{

    margin-top:12px;

    background:#ffffff;

    border-radius:22px;

    padding:18px;

    display:flex;

    align-items:center;

    gap:14px;

    cursor:pointer;

    box-shadow:
    0 8px 25px rgba(15,23,42,.05);

    transition:.25s;
}

.track-reports-card:hover{

    transform:translateY(-2px);
}

.track-icon{

    width:54px;
    height:54px;

    border-radius:16px;

    background:#dbeafe;

    color:#2563eb;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
}

.track-content h3{

    font-size:15px;

    font-weight:800;

    margin-bottom:4px;
}

.track-content p{

    font-size:12px;

    color:#64748b;
}