/* =========================================
   AVAN APPS — SERVICE PAGE
   Neon Blue | Dark Navy | Responsive
========================================= */
.main {
    padding: 15px 0px;
}

.service_intro_section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    direction: rtl;
    text-align: center;

    width: 85%;
    max-width: 700px;

    margin: 45px auto 35px;
    padding: 0px 30px 0px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;

    background:
        radial-gradient(ellipse at 50% 0%,
            rgba(49, 136, 204, 0.32),
            transparent 65%),
        linear-gradient(145deg,
            rgba(49, 136, 204, 0.13),
            rgba(0, 6, 22, 0.96) 75%);

    border: 1px solid rgba(49, 136, 204, 0.55);
    border-radius: 26px;

    box-shadow:
        0 0 25px rgba(49, 136, 204, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.service_intro_section:hover {
    border-color: rgba(49, 136, 204, 0.85);

    box-shadow:
        0 0 32px rgba(49, 136, 204, 0.23),
        0 22px 55px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* Decorative light */

.service_intro_section::before {
    content: "";
    position: absolute;
    z-index: -1;

    top: -125px;
    left: 50%;

    width: 350px;
    height: 250px;

    transform: translateX(-50%);

    background: var(--primary-color, #3188cc);
    opacity: 0.23;
    filter: blur(85px);

    border-radius: 50%;
    pointer-events: none;
}


/* Neon bottom line */

.service_intro_section::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 50%;

    width: 78%;
    max-width: 460px;
    height: 3px;

    transform: translateX(-50%);

    background: linear-gradient(90deg,
            transparent,
            var(--primary-color, #3188cc),
            #75baff,
            var(--primary-color, #3188cc),
            transparent);

    box-shadow:
        0 0 8px rgba(49, 136, 204, 0.9),
        0 0 20px rgba(49, 136, 204, 0.65),
        0 0 35px rgba(49, 136, 204, 0.3);

    border-radius: 50%;
}


/* =========================================
   INTRO CONTENT
========================================= */

.service_intro_content {
    position: relative;
    z-index: 1;

    width: 60%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 18px;
}


/* Main title */

.service_intro_section h1 {
    position: relative;

    width: 100%;
    margin: 0;

    color: var(--light-text-color, #ffffff);

    font-size: clamp(29px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.7;
    letter-spacing: -0.6px;

    text-align: center;
    text-wrap: balance;

    text-shadow:
        0 0 10px rgba(49, 136, 204, 0.45),
        0 0 28px rgba(49, 136, 204, 0.22);

    overflow-wrap: anywhere;
}


/* Intro description */

.service_intro_section p {
    width: 100%;
    max-width: 700px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.92);

    font-size: 16px;
    font-weight: 500;
    line-height: 2.25;

    text-align: center;
    text-wrap: pretty;

    overflow-wrap: anywhere;
}


/* =========================================
   INTRO IMAGE
========================================= */

.service_intro_img {
    width: 40%;
    display: flex;
    object-fit: contain;
    object-position: center;

    border-radius: 18px;

    filter:
        drop-shadow(0 0 12px rgba(49, 136, 204, 0.3)) drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.service_intro_img:hover {
    transform: translateY(-8px) scale(1.04);

    filter:
        drop-shadow(0 0 20px rgba(49, 136, 204, 0.6)) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.4));
}


/* =========================================
   MAIN CONTENT CONTAINER
========================================= */

.main_content {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    direction: rtl;
    text-align: center;

    width: 85%;
    max-width: 850px;

    margin: 35px auto 55px;
    padding: clamp(25px, 4vw, 42px);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 38px;

    background:
        radial-gradient(ellipse at 50% 0%,
            rgba(49, 136, 204, 0.14),
            transparent 62%),
        linear-gradient(145deg,
            rgba(49, 136, 204, 0.075),
            rgba(0, 6, 22, 0.78));

    border: 1px solid rgba(49, 136, 204, 0.35);
    border-radius: 25px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25),
        0 0 24px rgba(49, 136, 204, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}


/* Decorative glow inside content */

.main_content::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -150px;
    right: -130px;

    width: 300px;
    height: 300px;

    background: var(--primary-color, #3188cc);
    opacity: 0.1;
    filter: blur(90px);

    border-radius: 50%;
    pointer-events: none;
}


/* =========================================
   HEADINGS
========================================= */

.main_content h1,
.main_content h2,
.main_content h3,
.main_content h4,
.main_content h5,
.main_content h6 {
    position: relative;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0 0 18px;

    color: var(--light-text-color, #ffffff);

    font-weight: 900;
    line-height: 1.9;

    text-align: center;
    text-wrap: balance;

    text-shadow:
        0 0 14px rgba(49, 136, 204, 0.25),
        0 2px 12px rgba(0, 0, 0, 0.35);

    overflow-wrap: anywhere;
}


/* H1 */

.main_content h1 {
    font-size: clamp(27px, 3.5vw, 36px);
}


/* H2 */

.main_content h2 {
    font-size: clamp(24px, 3vw, 32px);
}


/* H3 */

.main_content h3 {
    font-size: clamp(21px, 2.5vw, 27px);
}


/* H4 */

.main_content h4 {
    font-size: 21px;
}


/* H5 */

.main_content h5 {
    font-size: 19px;
}


/* H6 */

.main_content h6 {
    font-size: 17px;
}


/* Neon underline */

.main_content h2::after,
.main_content h3::after,
.main_content h4::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 50%;

    width: 105px;
    max-width: 45%;
    height: 3px;

    transform: translateX(-50%);

    background: linear-gradient(90deg,
            transparent,
            var(--primary-color, #3188cc),
            #75baff,
            var(--primary-color, #3188cc),
            transparent);

    box-shadow:
        0 0 8px rgba(49, 136, 204, 0.8),
        0 0 20px rgba(49, 136, 204, 0.35);

    border-radius: 50%;
}


/* =========================================
   PARAGRAPHS
========================================= */

.main_content p {
    width: 100%;
    max-width: 100%;

    margin: 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: 16px;
    font-weight: 400;
    line-height: 2.3;

    text-align: center;

    overflow-wrap: anywhere;
}


/* =========================================
   IMAGES
========================================= */

.main_content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 8px auto;

    border: 1px solid rgba(49, 136, 204, 0.45);
    border-radius: 18px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.32),
        0 0 20px rgba(49, 136, 204, 0.16);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.main_content img:hover {
    transform: translateY(-6px) scale(1.015);

    border-color: var(--primary-color, #3188cc);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(49, 136, 204, 0.32);
}


/* =========================================
   LISTS
========================================= */

.main_content ul,
.main_content ol {
    width: 100%;
    max-width: 100%;

    margin: 0;

    padding-right: 28px;
    padding-left: 0;

    color: rgba(255, 255, 255, 0.88);

    text-align: right;
    line-height: 2.2;
}

.main_content li {
    margin-bottom: 9px;
    padding-right: 5px;
}

.main_content li::marker {
    color: #75baff;
}


/* =========================================
   LINKS
========================================= */

.main_content a {
    color: #75baff;

    font-weight: 700;
    text-decoration: none;

    text-shadow: 0 0 10px rgba(49, 136, 204, 0.2);

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

.main_content a:hover {
    color: #ffffff;

    text-shadow:
        0 0 8px rgba(49, 136, 204, 0.8),
        0 0 18px rgba(49, 136, 204, 0.4);
}


/* =========================================
   EMBEDDED MEDIA
========================================= */

.main_content iframe,
.main_content video {
    display: block;

    width: 100%;
    max-width: 100%;

    border: 1px solid rgba(49, 136, 204, 0.4);
    border-radius: 16px;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 830px) {
    .service_intro_section {
        width: 90%;

        margin-top: 30px;
    }

    .main_content {
        width: 90%;
        padding: 30px 24px;
        gap: 32px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    .service_intro_section {
        width: 92%;

        margin: 22px auto 35px;

        border-radius: 21px;

        box-shadow:
            0 0 18px rgba(49, 136, 204, 0.15),
            0 12px 30px rgba(0, 0, 0, 0.25);
    }

    .service_intro_section h1 {
        font-size: 26px;
        line-height: 1.8;
    }

    .service_intro_section p {
        font-size: 14px;
        line-height: 2.2;
    }

    .service_intro_section::after {
        width: 75%;
    }


    .main_content {
        width: 92%;

        margin: 25px auto 35px;
        padding: 25px 17px;

        gap: 28px;
        border-radius: 21px;
    }

    .main_content h1 {
        font-size: 25px;
    }

    .main_content h2 {
        font-size: 23px;
    }

    .main_content h3 {
        font-size: 20px;
    }

    .main_content h4 {
        font-size: 18px;
    }

    .main_content p {
        font-size: 14px;
        line-height: 2.2;
    }

    .main_content ul,
    .main_content ol {
        padding-right: 22px;
        font-size: 14px;
    }

    .main_content img {
        border-radius: 14px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
    .service_intro_section {
        width: 94%;
    }

    .service_intro_section h1 {
        font-size: 23px;
    }

    .service_intro_section p {
        font-size: 13px;
    }

    .main_content {
        width: 94%;
        padding: 22px 13px;
        gap: 24px;
    }

    .main_content h1 {
        font-size: 23px;
    }

    .main_content h2 {
        font-size: 20px;
    }

    .main_content h3 {
        font-size: 18px;
    }

    .main_content p {
        font-size: 13px;
        line-height: 2.15;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .service_intro_section,
    .service_intro_img,
    .main_content img,
    .main_content a {
        transition: none;
    }
}