/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: url("90595.jpg") no-repeat center center/cover;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Header ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px 100px;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  animation: slideDown 1s ease;
}

@keyframes slideDown {
  from {transform: translateY(-100%);}
  to {transform: translateY(0);}
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: #00adb5;
  text-decoration: none;
  transition: 0.3s;
}
.logo:hover {
  color: #ff9800;
  text-shadow: 0 0 10px #ff9800;
}

.navbar a {
  margin-left: 30px;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}
.navbar a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #00adb5;
  transition: 0.4s;
}
.navbar a:hover {
  color: #00adb5;
}
.navbar a:hover::after {
  width: 100%;
}

/* ===== Hero Section ===== */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10%;
  min-height: 100vh;
  gap: 50px;
  flex-wrap: wrap; /* عشان لما الشاشة تصغر يلفوا تحت بعض */
}

.home-content {
  animation: fadeInLeft 1.2s ease;
  flex: 1;
  min-width: 280px;
}
@keyframes fadeInLeft {
  from {opacity: 0; transform: translateX(-50px);}
  to {opacity: 1; transform: translateX(0);}
}

.home-content h1 {
  font-size: 3rem;
  color: #00adb5;
}

.home-content h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #ff9800;
}

.home-content p {
  max-width: 500px;
  margin-bottom: 20px;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1.8rem;
  color: #fff;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #00adb5;
  transform: scale(1.2) rotate(8deg);
}

/* ===== Image (Circular + Animation) ===== */
.home-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-img img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00adb5;
  box-shadow: 0 0 25px #00adb5;
  animation: float 4s ease-in-out infinite;
  transition: 0.4s ease;
}
.home-img img:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 0 35px #ff9800;
}
@keyframes float {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-15px);}
}

/* ===== Experience Section ===== */
.experience {
  padding: 80px 10%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
}

.experience h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  animation: fadeInUp 1s ease;
}
.experience h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background: #ff9800;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.exp-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}
.exp-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: 0.8s ease;
}
.exp-card:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}
.exp-card h3 {
  margin-bottom: 15px;
  color: #ff9800;
  font-size: 1.5rem;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(50px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 20px;
  background: #0f0f1a;
  margin-top: 50px;
}
.footer p {
  margin-bottom: 10px;
  color: #bbb;
}
.social-footer a {
  margin: 0 10px;
  font-size: 1.5rem;
  color: #fff;
  transition: 0.3s;
}
.social-footer a:hover {
  color: #00adb5;
  transform: rotate(10deg) scale(1.2);
}

/* ===== Responsive Design ===== */

/* الشاشات المتوسطة (تابلت) */
@media (max-width: 992px) {
  .header {
    padding: 15px 40px;
  }
  .navbar a {
    margin-left: 15px;
    font-size: 0.9rem;
  }
  .home {
    padding: 100px 5%;
    gap: 30px;
  }
  .home-content h1 {
    font-size: 2.5rem;
  }
  .home-content h3 {
    font-size: 1.4rem;
  }
}

/* الشاشات الصغيرة (موبايل) */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    padding: 15px;
  }
  .navbar {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .navbar a {
    margin: 5px 10px;
    font-size: 0.85rem;
  }
  .home {
    flex-direction: column;
    text-align: center;
    padding: 100px 20px;
  }
  .home-content h1 {
    font-size: 2rem;
  }
  .home-content h3 {
    font-size: 1.2rem;
  }
  .home-content p {
    font-size: 0.9rem;
    margin: 0 auto 20px auto;
  }
  .home-img img {
    width: 200px;
    height: 200px;
  }
  .experience {
    padding: 50px 20px;
  }
  .experience h2 {
    font-size: 2rem;
  }
  .exp-card {
    padding: 15px;
  }
}



