@import url(https://fonts.googlecontent_pagepis.com/css2?family=Poppins:wght@300;400;600&display=swap);

/* a,
button,
figcaption,
h1,
h2,
h3,
i,
li,
p,
span,
td,
tr {
    
} */

.contentButton,
a,
button {
    transition: .3s
}

.contentButton,
.logButton,
.regButton,
body,
section {
    position: relative
}

h1,
h2 {
    line-height: 40px;
    text-align: right
}

.content_page,
h1,
h2,
h3 {
    text-align: right
}

.content_page a,
a {
    text-decoration: none
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif
}

body {
    margin: 0;
    font-family: 'Tajawal', Arial, sans-serif;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}


.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/background.png") center / cover no-repeat;
    z-index: -999;
}

.fixed-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}


button {
    border: none;
    box-shadow: none;
    cursor: pointer;
    background: 0 0
}

.np {
    padding-top: 12px;
    padding-bottom: 12px;
    /* background: var(--navbar-bg); */
    width: 200px;
    height: 45px;

}



a,
li,
p,
span {
    font-size: 18px;
    line-height: 30px
}

h1,
h2,
h3 {
    padding: 20px 0
}

.button-wrapper,
p {
    padding-bottom: 20px
}

li {
    list-style: none
}

img {
    max-width: 100%;
    display: block
}

i {
    font-style: normal
}

.wrapper {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto
}

section {
    z-index: 0
}

header,
header .overlay {
    z-index: 9;
    top: 0;
    left: 0
}

:root {
    --header-bg: hsla(43, 100%, 51%, 1);
    --navbar-bg: hsla(0, 0%, 13%, 1);
    --main: hsla(0, 0%, 10%, 1);
    --gradient: linear-gradient(103.42deg, #0f78d8 6.06%, #000 77.61%);
    --text: rgb(95, 78, 38);
    --header: #0d3b60;
    --color-primary: #ffe200;
    --color-secondary: #aed325;
    --color-hover: #1a1a1a;
    --border_button: 5px;
    --shadow-primary: 0 0 50px 5px rgba(0, 0, 0, 0.3);
    --border: 34px;
    --btn-bg: #0056b3;
    --btn-bg-hover: #004494;
    --btn-text-color: #ffffff;
    --btn-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    --btn-border-radius: 8px;
    --bt2-border-radius: 50px;
    --btn-padding: 14px 22px;
    --btn-gap: 12px
}

.btn1x {
    padding: 4px;
    border-radius: 10px 5px;
    display: none;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.5);
    padding: 5px;
}

.btn1x a {
    color: #ffffb0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    font-size: 12px;
}

.button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.contentButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--btn-gap);
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--btn-text-color);
    transition: .3s;
    text-shadow: 0 0 3px #000;
    cursor: pointer;
    box-shadow: var(--btn-shadow);
    overflow: hidden;
    margin: 40px;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset -10px -10px 25px hsl(43deg 100% 51% / 74%), inset 8px 8px 20px #eae2e2, 0 15px 35px #ffa500cf;
}

.contentButton::after,
.contentButton::before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: transform .3s
}

.contentButton::before {
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/31/Apple_logo_white.svg")
}

.contentButton::after {
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/d/d7/Android_robot.svg")
}

.contentButton:hover {
    background: #ffa500c7;
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(224, 142, 0, 0.4)
}

.contentButton:hover::after,
.contentButton:hover::before,
.scrollToTop:hover {
    transform: scale(1.1)
}

.content_page ul,
.header_top {
    justify-content: space-between;
    padding: 0 !important;
}

@media (max-width: 480px) {
    .contentButton {
        font-size: 16px;
        padding: 10px 15px;
        gap: 8px
    }

}

header {
    padding-right: 20px;
    position: fixed;
    width: 100%;
    /* background: var(--header-bg); */
    box-shadow: var(--shadow-primary);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);

}

.header_top {
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: row-reverse
}

.header .logo img {
    width: 100%;
    order: -1;
    height: 100%
}

.header .buttons button {
    border-radius: var(--border_button);
    text-transform: uppercase;
    font-size: 14px;
    transition: background 1s ease-out;
    font-weight: 700;
    background: var(--color-secondary);
    color: #000
}



.header .logButton {
    margin-right: 0 !important;
}

.logButton {
    background: var(--color-secondary)
}

.regButton {
    background: var(--color-primary) !important
}

#menu-header-ar-1 {
    display: flex;
    align-items: center;
    flex-direction: column;
    /* لجعل العناصر تحت بعض */
    gap: 20px;
    list-style: none;
    width: 100%;
}

.menu-item-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 200px;
    height: 50px;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset -10px -10px 25px hsl(43deg 100% 51% / 74%), inset 8px 8px 20px #eae2e2, 0 15px 35px #ffa500cf;
    border-radius: var(--bt2-border-radius);
}

.egy {
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 25px;
}


.menu-item,
.menu-item-1 {
    transition: background 1.5s ease-in-out;
}

.menu-item.active {
    padding: 6.5px;
    border-radius: 10px 25px;
    background: #ffffff33;
}

.menu-item-1.active {
    border-radius: 10px 25px;
    background: linear-gradient(45deg, #ffa500a3, #ff730094) !important;
    box-shadow: inset -10px -10px 25px hsl(43deg 100% 51% / 74%), inset 8px 8px 20px #ffa500cf, 0 15px 35px #ffa500cf;
}

.menu_mobile,
amp-sidebar,
footer {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
}


.header .regButton:hover {
    color: var(--color-secondary)
}

.menuDesktop {
    display: flex;
    justify-content: center
}

.menuDesktop li {
    display: inline-block;
    margin: 0 10px
}

.menuDesktop a {
    font-size: 13px;
    line-height: 20px;
    padding: 5px;
    border-radius: 5px;
    color: var(--color-font1)
}

.content_page .new-class-answer,
.headerDesktop .burger {
    display: none
}

.burger img,
.menu_mobile .close img {
    width: 28px;
    height: 28px
}

.menu_mobile,
amp-sidebar {
    width: 100%;
    padding: 0 30px;
    max-width: 350px;
    min-height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    display: block;
    transition: right .8s;
    z-index: 11
}

.menu_mobile.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    right: 0;
    transition: right .8s
}

header .overlay {
    display: none;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    position: absolute
}

.content_page.pam_content .new-class-answer,
.new-class-answer.active,
header .overlay.active {
    display: block
}

.menu_mobile .close {
    display: flex;
    justify-content: center;
    padding: 20px 0
}

.menu_mobile ul {
    display: flex;
    align-items: flex-start;
    flex-direction: column
}

.menu_mobile .sub-menu {
    padding-left: 20px
}

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 15px;
}

.main-title {
    grid-column: 1 / -1;
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
    gap: var(--btn-gap);
    border-radius: var(--btn-border-radius);
    text-transform: uppercase;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset -10px -10px 25px hsl(43deg 100% 51% / 74%), inset 8px 8px 20px #eae2e2, 0 15px 35px #ffa500cf;
    margin: 0 60px;
font-weight: 700;
}

.tile {
    display: flex;
    justify-content: center;
    position: relative;
    background: rgba(0, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 10px #00f7ff22;
    width: 185px;
    height: 185px;
    margin-bottom: 20px;
    cursor: pointer;
    overflow: hidden;
    transform: perspective(150px) rotateX(15deg);
    transition: transform 0.2s;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left 0.6s;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    /* فوق الصورة */
}

.tile:hover::before {
    left: 100%;
}


.glass::after {
    content: "";
    position: absolute;
    top: 10%;
    left: 15%;
    width: 50%;
    height: 50%;
    background: rgb(219 215 215 / 5%);
    border-radius: 50%;
    filter: blur(10px);
}

.glass {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(90 87 87 / 10%) 0%, rgb(133 129 129 / 12%) 40%, rgb(131 127 127 / 2%) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25), inset 0 -6px 12px rgba(255, 255, 255, 0.15);
    pointer-events: none;
}


.tag {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    /* height: 55%; */
}

.tile img {
    border-radius: 50%;
    width: 100%;
    height: auto;

}




.label {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    padding-top: 30px;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(10px);
    color: #000;
    display: flex;
    justify-content: center;
    border-radius: 100%;
    font-weight: bold;
    box-shadow: inset 0 10px 20px rgba(255, 255, 255, 0.25);
}

.tile.orange {
    color: #ffa500;
    box-shadow: 0 0 10px #ffa50044;
}

.tile.orange:hover {
    background: #ffa500;
    color: #0d0f24;
    box-shadow: 0 0 25px #ffa500;
}

h1 {
    text-align: center;
    color: hsla(43, 100%, 51%, 1);
    font-size: 24px;
}


.content_page {
    padding: 80px 20px 40px;
    direction: rtl
}

h1 {
    font-size: 36px
}

h2 {
    font-size: 32px
}

h3 {
    font-size: 26px;
    line-height: 36px
}

.content_page a {
    color: transparent
}

.content_page a:hover {
    text-decoration: underline
}

.content_page section {
    max-width: 900px;
    margin: 0px auto;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset -10px -10px 25px hsl(43deg 100% 51% / 31%), inset 8px 8px 20px #eae2e270, 0 15px 35px #ffa5008a;
}

.content_page ul {
    margin-left: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    list-style: none
}

.content_page ul li {
    width: 48%;
    position: relative;
    padding-bottom: 10px;
    padding-right: 35px
}

.content_page ul li:before,
.wp-block-column ul li:before {
    position: absolute;
    width: 20px;
    height: 20px;
    /* background: url(js/list.png) 0 0/cover no-repeat; */
    content: "";
    right: 0;
    top: 5px
}

.wp-block-column ul li {
    position: relative;
    padding-bottom: 10px;
    padding-right: 35px
}

.content_page ol {
    margin-right: 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.content_page ol li {
    list-style: decimal;
    position: relative;
    padding-right: 10px;
    margin-bottom: 10px;
    width: 48%
}

.content_page ol li::marker {
    font-size: 17px;
    color: #fff;
    direction: ltr
}

.content_page ol li:before {
    content: '';
    width: 26px;
    height: 26px;
    background: var(--header-bg) !important;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: -20px;
    z-index: -1
}

.content_page li>ul li,
.wp-block-columns ul li {
    width: 100%
}

.content_page li>ul li:before {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    background-size: cover;
    content: "";
    left: 0;
    top: 5px;
    border-radius: 50%
}

.wp-block-column ol li,
.wp-block-column ul li {
    width: 100% !important
}

.new-class-breadcrumb p {
    padding-bottom: 0;
    line-height: 24px
}

.new-class-breadcrumb a,
.new-class-breadcrumb span {
    font-size: 11px;
    line-height: 25px
}

.wp-block-image {
    margin: 0 auto 20px;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column
}

.wp-block-image figure {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column
}

.wp-block-columns img,
.wp-block-image img {
    width: auto;
    margin: 0 auto 15px;
    border-radius: 125px;
}

.wp-block-image img {
    height: 100%;
    max-height: 500px
}

.wp-block-image figcaption {
    text-align: center;
    color: #fff;
    font-size: 14px
}

.wp-block-columns {
    display: flex;
    align-items: center;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset -10px -10px 25px hsl(43deg 100% 51% / 74%), inset 8px 8px 20px #eae2e2, 0 15px 35px #ffa500cf;
    border-radius: var(--bt2-border-radius);
    margin: 0 45px 40px;
    padding: 15px;
}

.wp-block-column {
    width: 50%
}

.wp-block-columns img {
    max-height: 500px !important;
    max-width: 100% !important
}


.new-class-list-item {

    cursor: pointer;
    border-radius: var(--border);
    position: relative;
    padding: 20px 50px 20px 40px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset -10px -10px 25px hsl(43deg 100% 51% / 74%), inset 8px 8px 20px #eae2e2, 0 15px 35px #ffa500cf;
}

.new-class-list-item.minus {

    background: rgba(255, 255, 255, 0.5);


}

.new-class-question {
    text-align: left
}

.new-class-question,
.new-class-question span {
    font-size: 20px !important;
    line-height: 30px !important;
    padding-bottom: 0;
    padding-top: 0
}

.new-class-answer p {
    padding-top: 5px;
    padding-bottom: 0
}

#new-class-faq {
    position: relative;
    z-index: 4
}

footer {
    padding: 30px 0
}

.footerInner .copy {
    text-align: center;
    padding-bottom: 15px
}

.footerInner .copy span {
    font-size: 15px
}

.footerInner .copy a,
figcaption.wp-element-caption {
    color: #fff
}

.footerLinks {
    border-top: 1px solid #ddd;
    max-width: 90%;

    margin: 0 auto
}

.footerLinks ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}

.footerLinks ul li {
    font-size: 16px;
    line-height: 25px;
    margin: 0 8px;
    text-align: center
}

.fixed_buttons {
    display: none;
    position: fixed;
    width: 100%;
    padding: 12px 0;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    box-shadow: var(--shadow-primary);
    bottom: 0;
    left: 0;
    z-index: 8
}

.fixed_buttonsInner {
    display: flex;
    justify-content: center;
    align-items: center
}

.fixed_buttons button {
    border-radius: var(--border_button);
    padding: 5px 10px;
    color: #000;
    text-transform: uppercase;
    font-size: 15px;
    width: 100%;
    margin: 0 10px;
    max-width: 320px
}

@media screen and (max-width: 1250px) {

    h1,
    h3 {
        line-height: 30px
    }

    .headerDesktop .burger {
        display: flex;
        align-items: center
    }

    .btn1x {
        display: block;
    }

    header .deskMenu {
        display: none !important
    }

    .header .buttons {
        display: none
    }



    .content_page {
        padding: 80px 0 10px
    }

    .fixed_buttons {
        display: block
    }

    .footerLinks {
        padding: 10px 0 40px
    }

    .content_page ol li,
    .content_page ul li,
    .wp-block-column {
        width: 100%
    }

    .wp-block-columns img {
        max-height: 300px !important
    }

    .wp-block-columns {
        flex-wrap: wrap !important
    }

    h1 {
        font-size: 26px
    }

    h2 {
        font-size: 22px;
        line-height: 32px
    }

    h3 {
        font-size: 20px
    }

    h1,
    h2,
    h3 {
        padding: 10px 0
    }

    .new-class-question {
        font-size: 18px !important;
        line-height: 28px !important
    }

    .new-class-list-item {
        padding: 10px
    }

    li,
    p,
    span {
        font-size: 18px;
        font-weight: 700;
    }

    .content_page ul {
        margin-left: 0
    }

    body .is-layout-flex>* {
        flex-basis: 100% !important
    }

    .gh span,
    h2 span {
        font-size: 18px !important
    }

    .gh {
        width: 85px !important;
    }

}

.gh,
.social-button {
    align-items: center;
    text-decoration: none;
    bottom: 65px;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
    transition: .6s ease-in-out;
    color: #fff;
    font-size: 30px;
    animation: 2s ease-in-out infinite bounce, 3s infinite alternate pulse, 8s infinite shake;
    cursor: pointer;
}

@media screen and (max-width: 480px) {
    .fixed_buttons button {
        margin: 0
    }
}

.wp-element-caption {
    color: #fff;
    background-color: rgba(255, 255, 255, 0);
    padding: 10px
}

.wp-image-213,
.wp-image-214,
.wp-image-218 {
    max-width: 100%;
    height: auto
}

.content_page.wrapper {
    min-height: 100px
}



.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background-color: #000
}

.video-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.loader,
.social-button,
.tooltip {
    position: fixed;
    display: flex;
    z-index: 1000
}



@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-15px)
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-3px)
    }

    50% {
        transform: translateX(3px)
    }

    75% {
        transform: translateX(-1.5px)
    }
}

.tooltip {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 80%;
    gap: 50px;
    opacity: 0;
    visibility: hidden;
}

.whatsapp-button {
    background: linear-gradient(135deg, rgb(90 87 87 / 10%) 0%, rgb(133 129 129 / 12%) 40%, rgb(131 127 127 / 2%) 100%);
    border: 1px solid rgb(112 225 19 / 40%);
    box-shadow: inset 0 0 12px rgb(84 255 0), inset 0 -6px 12px rgba(255, 255, 255, 0.15);
    pointer-events: auto;
    right: 20px;
}

.whta {
    color: #00ff35;
}

.telegram-button {
    background: linear-gradient(135deg, rgb(90 87 87 / 10%) 0%, rgb(133 129 129 / 12%) 40%, rgb(131 127 127 / 2%) 100%);
    border: 1px solid rgba(53, 19, 225, 0.4);
    box-shadow: inset 0 0 18px #0085ff, inset 0 -6px 12px rgba(255, 255, 255, 0.15);
    pointer-events: none;
    left: 20px;
}

.tel {
    color: #203fd4;
}

h2 span {
    animation: animate 3s linear infinite;
    animation-delay: calc(.5s * var(--i));
    animation-direction: alternate;
    font-size: 24px;
}

@keyframes animate {
    33% {
        color: #f1b8b8;
        filter: blur(1px) hue-rotate(0deg);
        transform: translateY(-10px);
    }

    66% {
        color: #C0C0C0;
        filter: blur(0.5px) hue-rotate(360deg);
    }

    100% {
        color: transparent;
        filter: hue-rotate(360deg);
    }
}

.info-whats {
    text-shadow: 0 6px 20px rgba(0, 0, 0, 1.5);
    color: #293b50;
    margin-bottom: 15px;

}

.whats-button {
    border: 1px solid black;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    font-size: 25px;
}






@media (max-width: 768px) {
    .social-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px
    }

    .whats-button {
        width: 160px;
        height: 40px;
        border-radius: 50px;
    }

    .whatsapp-button {
        right: 10px
    }

}

.loader {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(33, 33, 33, .95);
    z-index: 1001;
}

.loader span {
    display: block;
    width: 10px;
    height: 10px;
    background: var(--header-bg);
    border-radius: 50%;
    margin: 20px;
    box-shadow: 30px 30px 20px 2px var(--header-bg);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotateZ(0deg);
    }

    to {
        transform: rotateZ(360deg);
    }
}

html::-webkit-scrollbar {
    width: 10px;
    transition: opacity 0.5s ease-in-out;
    background: linear-gradient(to bottom,
            var(--header-bg) 0px,
            var(--header-bg) 45px,
            transparent 0px,
            transparent 100px);
}

html::-webkit-scrollbar-thumb {
    background: none;
    border-radius: 10px;

}

html.scrolling::-webkit-scrollbar-thumb {
    background: var(--header-bg);


}

html.loading {
    overflow: hidden;
}

html {
    overflow-y: scroll;
}








/* ===== Overlay ===== */
.tile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.tile-overlay.active {
    display: flex;
}

/* ===== Focus Wrapper ===== */
.tile-focus-wrapper {
    position: relative;

}



/* البلاطة المكبرة */
.tile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.tile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Focus Wrapper */
.tile-focus-wrapper {
    position: relative;
}

/* البلاطة المكبرة */
.tile-focus {
    position: relative;
    width: 185px;
    height: 185px;
    margin: auto;
    z-index: 2;
    animation: zoomIn 0.35s ease forwards;
}

/* أزرار واتساب وتليجرام */
.tile-action {
    position: absolute;
    padding: 10px 70px 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 25px;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.tile-overlay.active .tile-action {
    opacity: 1;
    pointer-events: auto;
}

.tile-action.whatsapp {
    top: 0;
    right: 0;
    background: rgba(37, 211, 102, .15);
    transform: translate(0px, -30px) rotate(140deg);
}

.xx {
    transform: rotate(220deg);
    color:#fff;
}

.tile-action.telegram {
    top: 0;
    left: 0;
    transform: translate(24px, 165px) rotate(-45deg);
    background: hsl(207deg 100% 50% / 15%);
}

/* Zoom animations */
@keyframes zoomIn {
    from {
        transform: scale(.6);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }

}
















