/* General Styles */
body {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    color: #9048AE; /* General text color */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    color: #222;
}


a {
    color: #9048AE; /* Link color */
}

a:hover, a:focus {
    color: #7a3b91; /* Darker shade for hover */
}

.navbar, .navbar-light .navbar-nav .nav-link {
    background-color: #8c947d; /* Navbar background color */
    color: #ffffff; /* Navbar link color */
}

.navbar-light .navbar-nav .nav-link.active, 
.navbar-light .navbar-nav .nav-link:hover {
    color: #ffffff; /* Navbar active and hover link color */
}

.btn-primary {
    background-color: #9048AE; /* Primary button background color */
    border-color: #e6e0d2; /* Primary button border color */
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #7a3b91; /* Darker shade for button hover, focus, active */
    border-color: #e6e0d2; /* Darker shade for button border on hover, focus, active */
}

.header-image img {
    border-bottom: 5px solid #ffffff; /* Border for header image */
}

/* Additional styles for headings and sections */
h1, h2, h3, h4, h5, h6 {
    color: #9048AE; /* Heading colors */
}

.card {
    border-color: #9048AE; /* Card border color */
}

.footer {
    background-color: #9048AE; /* Footer background color */
    color: #ffffff; /* Footer text color */
}
/* Navbar Customization */
.navbar {
    background-color: #9048AE; /* Main color */
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #ffffff; /* Text color for brand and links */
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #d1c4e9; /* Hover color for links */
}

.dropdown-menu {
    background-color: #ffffff; /* Dropdown background color */
}

.dropdown-menu .dropdown-item {
    color: #9048AE; /* Dropdown item text color */
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #9048AE; /* Hover color for dropdown items */
    color: #ffffff; /* Text color on hover */
}
/* RTL Styles for Article Grid Page */
body {
    direction: rtl; /* Set the text direction to right-to-left */
    font-family: 'Cairo', sans-serif; /* Use the Cairo font as specified */
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    text-align: right; /* Align text to the right */
}

.card:hover {
    transform: scale(1.05);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #9048AE; /* Using the theme's primary color */
}

.card-text {
    font-size: 14px;
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination a {
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #9048AE;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #7a3b91; /* Darker shade for hover */
}
/* RTL Styles for Store Page */
body {
    direction: rtl; /* Set the text direction to right-to-left */
    font-family: 'Cairo', sans-serif; /* Use the Cairo font as specified */
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    text-align: right; /* Align text to the right */
}

.card:hover {
    transform: scale(1.05);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #9048AE; /* Using the theme's primary color */
}

.card-text {
    font-size: 14px;
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination a {
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #9048AE;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #7a3b91; /* Darker shade for hover */
}
/* Footer Custom Styles */
.footer a {
    color: #9048AE;
    text-decoration: none;
}

.footer a:hover {
    color: #7a3b91; /* Darker shade for hover */
    text-decoration: underline;
}

.footer p {
    color: #9048AE;
}

.footer .fab {
    transition: color 0.2s;
}

.footer .fab:hover {
    color: #7a3b91; /* Darker shade for hover */
}

.color-slider-container {
    margin-bottom: 30px;
}

.color-slider {
    display: flex;
    justify-content: start;
    align-items: center;
    overflow-x: auto;
    padding: 10px;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.color-slide {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
    flex-shrink: 0; /* Prevent flex item from shrinking */
}

.color-slide:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .color-slider {
        justify-content: center;
    }
    .color-slide {
        width: 80px;
        height: 80px;
        margin: 0 10px;
    }
}

@media (min-width: 992px) {
    .color-slide {
        width: 100px;
        height: 100px;
        margin: 0 15px;
    }
}
