body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    background: #fff;
}

/* الهيدر */
header {
    background: #333;
    padding: 15px 30px;
    display: flex;
    direction: ltr;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 22px;
    color: #00ffea;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #00ffea;
}
/* Circular Button */
.toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #5f5f5f;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px; /* Completely hidden */
    width: 260px;
    height: 100%;
    background-color: #333;
    color: white;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 999;
}

.sidebar.active {
    right: 0;
}

.sidebar a {
    display: block;
    color: white;
    direction: ltr;
    text-decoration: none;
    padding: 15px 20px;
    border-bottom: 1px solid #444;
    border-left: 1px solid #444;
}
.sidebar a:hover {
    transform: scale(1.05); /* تكبير الصورة عند المرور */
    border-color: #666;
}
.slidebar h2 {
    color: #00ffcc;
}

/* السلايدر */
.hero {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 1.5em;
    margin: 0 0 20px;
    color: #ccc;
}

.hero-content {
    position: relative;
    margin: auto;
}

.hero-text {
    font-size: 2.5em;
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
}

.hero-subtext {
    font-size: 1.2em;
    color: #fff;
    margin-top: 10px;
    opacity: 0;
    animation: fadeIn 2s ease-out 0.5s infinite;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* الأقسام */
.section {
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    color: #000;
}
.section h3{
    color: #000;
}

.section h3:hover {
    color: #00ffea;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    background: #888888;
}
.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
.footer {
    display: flex;
    justify-content: space-around;
    background-color: #333;
    color: #fff;
    direction: ltr;
    padding: 20px;
    margin-top: 20px;
}
.footer a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
}
.footer a:hover {
    color: #00ffea;
}
.footer p {
    margin: 5px 0;
}
.copyright {
    text-align: center;
    background-color: #222;
    color: #fff;
    padding: 10px;
}