home / index.html
joermd's picture
Update index.html
e3b63d1 verified
raw
history blame
3.76 kB
<!DOCTYPE html>
<html dir="rtl" lang="ar">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>نموذج الذكاء الاصطناعي المصري</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Cairo', sans-serif;
}
body {
background-color: #ffffff;
}
/* Enhanced Navigation Styles */
nav {
background-color: #333;
padding: 1rem;
position: sticky;
top: 0;
z-index: 1000;
}
.nav-list {
display: flex;
justify-content: center;
gap: 2rem;
list-style: none;
max-width: 1200px;
margin: 0 auto;
position: relative;
}
.nav-list a {
color: white;
text-decoration: none;
font-weight: bold;
transition: color 0.3s;
padding: 0.5rem 1rem;
border-radius: 4px;
}
.nav-list a:hover {
color: #ff7961;
background-color: rgba(255, 255, 255, 0.1);
}
.menu-toggle {
display: none;
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
}
/* Rest of the existing styles remain the same */
[Previous styles from hero to media queries remain unchanged]
/* Enhanced Mobile Styles */
@media (max-width: 768px) {
.menu-toggle {
display: block;
position: absolute;
left: 1rem;
top: 1rem;
z-index: 1001;
}
.nav-list {
display: none;
position: absolute;
top: 100%;
right: 0;
width: 100%;
background-color: #333;
padding: 1rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.nav-list.active {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.nav-list a {
width: 100%;
text-align: center;
padding: 0.75rem;
}
.hero-content, .featured-content {
flex-direction: column;
}
.capabilities {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.buttons {
flex-direction: column;
align-items: stretch;
}
.button {
text-align: center;
}
}
</style>
</head>
<body>
<nav>
<button class="menu-toggle" onclick="toggleMenu()"></button>
<ul class="nav-list">
<li><a href="#home">الموقع</a></li>
<li><a href="#try">جرب سبيدي</a></li>
<li><a href="#about">من نحن</a></li>
<li><a href="#capabilities">قدرات سبيدي</a></li>
<li><a href="#vision">رؤيتنا</a></li>
</ul>
</nav>
[Rest of the HTML content remains the same]
<script>
function toggleMenu() {
const navList = document.querySelector('.nav-list');
navList.classList.toggle('active');
}
</script>
</body>
</html>