@font-face {
    font-family: "Amaranth";
    src: url("../fonts/Amaranth-Regular.ttf");
}
@font-face {
    font-family: "poppins";
    src: url("../fonts/Poppins-Regular.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--background-color);
}
/* 1. المسافة الكلية للشريط (العرض) */
::-webkit-scrollbar {
    width: 12px; /* عرض الشريط الرأسي */
    height: 12px; /* ارتفاع الشريط الأفقي (لو موجود) */
}

/* 2. الخلفية اللي بيمشي عليها الشريط (الـ Track) */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}

/* 3. الجزء المتحرك اللي بتسحبه بالماوس (الـ Thumb) */
::-webkit-scrollbar-thumb {
    background: var(--primary-color); /* خلي اللون ده نفس لون اللوجو أو الـ Spinner */
    border-radius: 10px;
    border: 3px solid #f1f1f1; /* بيعمل مسافة (Padding) وهمية حول الشريط */
}

/* 4. شكل الشريط لما تقف عليه بالماوس (Hover) */
::-webkit-scrollbar-thumb:hover {
    background:var(--primary-color); /* لون أغمق سنة عند اللمس */
}
:root {
    --primary-color: #3379be;
    --secondary-color: #71c0d6;
    --background-color: #eaeaea;
    --black-color: #000000;
    --white-color: #ffffff;
}
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; /* لون خلفية الشاشة */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out; /* اختفاء ناعم */
}

.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 500px;
}

.center-logo {
    width: 200px; /* مقاس اللوجو */
    z-index: 10;
}

.ring {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 3px solid transparent;
    border-top: 3px solid #3498db; /* لون الحلقة */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* إضافة حلقة تانية عكس الاتجاه لمظهر أعقد */
.ring::before {
    content: "";
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 3px solid transparent;
    border-bottom: 3px solid #e74c3c; /* لون تاني */
    border-radius: 50%;
    animation: spin 2s linear reverse infinite;
}
.loader-logo {
    width: 150px;
    animation: blurFlash 2s ease-in-out infinite;
}

@keyframes blurFlash {
    0%, 100% { 
        filter: blur(0px) brightness(1); 
        transform: scale(1);
    }
    50% { 
        filter: blur(4px) brightness(1.5); 
        transform: scale(1.05);
    }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* تأثير النبض للوجو
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
} */

/* اختياري: بار تحميل رفيع تحت اللوجو */
.loading-bar {
    width: 100px;
    height: 3px;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loading-bar::after {
    content: "";
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #3498db; /* لون خط التحميل */
    animation: loading 1.5s linear infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}
.container {
    width: 95%;

    margin: auto;
}
a {
    text-decoration: none;
    color: var(--black-color);
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
button {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 10px;
    border-radius: 50px;
    cursor: pointer;
}
.whatsappChannel{
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius:15px;
    padding: 10px 10px;
    margin-top: 1rem;

}

.whatsappChannel a{
    color:var(--white-color);

}   
.whatsappChannel p{
    margin-bottom: 0 !important;
    padding: 0;
}
.whatsappChannel img{
    filter: invert(100%) sepia(100%) grayscale(100%) brightness(200%);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(471px, 1fr));
    gap: 30px;
}
body {
    margin: 0;
    background: #e9e9e9;
    font-family: Arial, sans-serif;
}

.logo-section {
    padding: 60px 0;
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
}

.carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.card {
    min-width: 220px;
    height: 140px;
    background-color: white;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.head {
    position: absolute;
    z-index: 2;
    padding: 10px 22px;
    width: 100%;
}
.head .main-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    font-family: Amaranth;
}
.head .main-nav a {
    color: var(--white-color);
    font-size: 18px;
    font-weight: 500;
    background-color: rgba(202, 202, 202, 0.36);
    padding: 4px 10px;
    border-radius: 26px;
    font-size: 20px;
}
.head .main-nav a.active {
    background-color: var(--white-color);
    color: var(--primary-color);
    font-weight: 600;
}
.head .main-nav a:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: 0.5s ease-in-out;
}
.head button {
    border: none;
    cursor: pointer;
    height: fit-content;
    width: fit-content;
    display: flex;
    align-items: center;
}

.head button img {
    width: 25px;
    height: 25px;
}

/* Navigation buttons */

.burger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.burger span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.nav {
    background: white;
    border: none;
    font-size: 22px;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    z-index: 2;
}

.prev {
    left: -20px;
}
.next {
    right: -20px;
}

.nav:hover {
    background: #f3f3f3;
}

.circle-bullets {
    list-style: none;
    padding: 0;
}

.circle-bullets li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.circle-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

nav {
    width: 67%;
}
