@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

/* Scrollbar for Webkit browsers (Chrome, Edge, Safari) */
html, body {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 12px;
    /* عرض الشريط */
}

:root {
    --primary-color-lg: #3b82f6;
    /* أزرق أساسي */

}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    /* لون المسار / الخلفية */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #3b82f6;
    /* لون المقبض */
    border-radius: 10px;
    border: 3px solid #f0f0f0;
    /* يضيف مسافة حول المقبض */
}

/* Scrollbar hover effect */
::-webkit-scrollbar-thumb:hover {
    background-color: #3b82f6;
    /* لون عند المرور */
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    /* صغير */
    scrollbar-color: #3b82f6 #f0f0f0;
    /* المقبض / المسار */
}


nav .nav-link,
h1,
h3,
h4,
h2,
p,
.footer__link,
.start__now,
#mobile-menu a,
.plan_name,
input::placeholder,
textarea::placeholder,
.subscribeForm input,
.subscribeForm button,
.close_btn,
li,
label,
button[type="submit"],
a.start {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-optical-sizing: auto !important;
}

a.start,

.ar_rtl {
    direction: rtl
}

.nav-link--active {
    color: #3b82f6;
    /* أزرق واضح */
    font-weight: bold;
}

.text-right {
    text-align: right
}


/* اللون في الوضع المظلم */
.dark a.logo {
    color: #fff;
    /* أصفر أو أي لون يناسب الدارك */
}

#mobile-menu {
    position: absolute;
       background: linear-gradient(135deg, #2386c8, #000000);

    width: 90%;
    margin: auto;
    padding: 20px;
    border-radius: 15px;
}

#mobile-menu a {
    color: white;
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.title__decoration {
    position: relative;
    display: inline-block;
    /* Ensures decoration stays with text width */
    padding-bottom: 15px;
}

/* The Short Thick Bar */
.title__decoration::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 6px;
    background-color: #3b82f6;
    /* Use your primary color hex */
    border-radius: 3px;
    z-index: 1;
}

/* The Long Thin Line */
.title__decoration::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 150px;
    height: 2px;
    background-color: rgba(59, 130, 246, 0.3);
    /* Lighter version of primary */
    border-radius: 2px;
}

.feature-box {
    background: #ffffff;
    border: 1px solid rgba(81, 162, 255, 0.1);
    /* Very faint logo color */
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Multi-layered shadow for a high-end feel */
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: #51a2ff;
    /* Your logo color */
    box-shadow:
        0 20px 25px -5px rgba(81, 162, 255, 0.1),
        0 10px 10px -5px rgba(81, 162, 255, 0.04);
}

h3.feature__title {
    color: var(--primary-color-lg);
}

.plan__box,
.faq__item {
    background-color: #3b82f673 !important;
}

.faq__item {
    padding: 20px;
    border-radius: 10px;
}

/* .plan__box span ,
.plan__box h2,
.plan__box p {
    color: white;
} */
.faq__section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

header {
    background: #3b82f6 !important;
}

header nav .nav-link {
    color: white;
}

.text-white {
    color: white;
}

#features,
#faq, #pricing, #contact {
    background: linear-gradient(135deg, #2386c8, #000000);
}

#about,
footer {
    background: linear-gradient(135deg, #1f73b5, #000000);
}



.pricing-table-wrapper {
    max-width: 71rem;
    margin: 0 auto;
    width: 100%;
}

.pricing-table {
    --pricing-table-color: hsl(219, 83%, 57%);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
    align-items: stretch;
}

/* ITEM */
.pricing-table__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    min-height: 100%;
    padding: 1.25rem;
    border-radius: 1.5em;
    box-shadow: 0 20px 20px rgba(0, 0, 0, .08);
    transition: box-shadow 200ms cubic-bezier(.02, .01, .47, 1),
        transform 200ms cubic-bezier(.02, .01, .47, 1);
}

.pricing-table__item:hover {
    box-shadow: 0 40px 40px rgba(0, 0, 0, .16);
    transform: translate(0, -20px);
}

.pricing-table__item--popular {
    position: relative;
        background: #ffffff1a;
}

.pricing-table__item--popular::before {
    position: absolute;
    content: attr(data-popular);
    top: 1em;
    right: 1em;
    font-size: .9em;
    padding: 0 1em;
    background-color: hsl(51, 100%, 50%);
    border-radius: 1em;
    color: hsl(60, 5%, 15%);
    margin-bottom: 20px;
}


/* TITLE */
.pricing-table__title {
    margin: 0;
    font-size: 1.7em;
    text-transform: capitalize;
}

/* DESCRIPTION */
.pricing-table__description {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}

.pricing-table__tagline {
    margin: 0;
    color: hsl(216, 3%, 63%);
    text-align: center;
    line-height: 1.8;
}

.pricing-table__price {
    color: var(--pricing-table-color);
    font-size: 2.5em;
    margin: 1em auto 0;
    font-weight: bold;
}

.pricing-table__label {
    margin: 0;
    color: hsl(216, 3%, 63%);
    font-size: .9em;
}

.pricing-table__save {
    color: hsl(122, 39%, 49%);
    font-weight: bold;
}

/* PRODUCTS */
.pricing-table__products {
    margin: 1.87em 0;
    padding: 0;
    list-style-type: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

.pricing-table__product {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: .5em;
    direction: rtl;
    text-align: right;
}

.pricing-table__product a {
    text-decoration: none;
    color: inherit;
    transition: color .2s ease-in-out;
}

.pricing-table__product a:hover {
    color: var(--pricing-table-color);
}

.pricing-table__product::before {
    content: ' ';
    width: .5em;
    height: .5em;
    margin-inline-end: 1em;
    border-radius: 50%;
    background-color: var(--pricing-table-color);
}

.pricing-table__product--excluded::before {
    content: ' ';
    width: .5em;
    height: .5em;
    margin-inline-end: 1em;
    border-radius: 0;
    background: no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='hsl(4, 90%, 58%)'%3E%3Cpath d='M14.348 14.849a1.2 1.2 0 0 1-1.697 0L10 11.819l-2.651 3.029a1.2 1.2 0 1 1-1.697-1.697l2.758-3.15-2.759-3.152a1.2 1.2 0 1 1 1.697-1.697L10 8.183l2.651-3.031a1.2 1.2 0 1 1 1.697 1.697l-2.758 3.152 2.758 3.15a1.2 1.2 0 0 1 0 1.698z'/%3E%3C/svg%3E") center/contain;
    transform: scale(2.5);
}

/* BUTTON */
.pricing-table__button {
    background: var(--pricing-table-color);
    color: #fff;
    margin-top: auto;
    padding: 1em 2em;
    text-decoration: none;
    width: 100%;
    border-radius: 1.87em;
    text-align: center;
    transition: background .2s ease-in-out;
    text-transform: capitalize;
}

.pricing-table__button:hover {
    background-color: hsl(122, 39%, 49%);
}

@media (min-width: 640px) {
    .pricing-table {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .pricing-table {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .plan__section {
        flex-direction: column !important;
    }

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

    h1#typewriter {
        margin-top: 35px;
    }
}
