/* ===== General ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tahoma", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0d1f16; /* Dark Green */
  color: #d9fdd3;
  line-height: 1.6;
}

/* ===== Navbar ===== */
header {
  background: #0b1a12;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #00ff88;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #d9fdd3;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00ff88;
}

/* ===== Sections ===== */
.section {
  padding: 100px 50px;
  min-height: 100vh;
}

h1 {
  font-size: 2.5rem;
  color: #ffffff;
}

h2 {
  color: #00ff88;
  margin-bottom: 20px;
}

h3 {
  margin-top: 20px;
  color: #aaf0a1;
}

/* ===== Buttons ===== */
.buttons .btn {
  display: inline-block;
  margin: 10px 10px 0 0;
  padding: 10px 20px;
  background: #00ff88;
  color: #0d1f16;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.buttons .btn:hover {
  background: #00cc6a;
}

/* ===== Footer ===== */
footer {
  background: #0b1a12;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #b8d9c4;
}
/* --- Project Button Style --- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4CAF50; /* لون الزرار */
  color: #fff;               /* لون الكتابة */
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #45a049; /* اللون عند المرور بالماوس */
}
/* Projects Section */
#projects {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
}

#projects h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

/* Project Card */
.project {
  background: #fff;
  padding: 20px;
  margin: 15px auto;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.project:hover {
  transform: translateY(-5px);
}

.project h3 {
  color: #222;
  margin-bottom: 10px;
}

.project p {
  color: #555;
  margin-bottom: 15px;
}
