/* إعادة تعيين */
* { margin:0; padding:0; box-sizing:border-box; }

/* خط */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg,#0a0a0a 0%,#1a1a2e 50%,#16213e 100%);
  color:#fff;
  min-height:100vh;
  overflow-x:hidden;
  position:relative;
}

/* حاوية */
.container { position:relative; min-height:100vh; display:flex; flex-direction:column; align-items:center; padding:20px; }

/* back shapes */
.background-shapes { position:absolute; inset:0; z-index:1; pointer-events:none; }

/* main layout */
.main-content {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:60px;
  max-width:1200px;
  width:100%;
  align-items:center;
}

/* hero text */
.hero-section { text-align:left; }
.hero-text .greeting { font-size:24px; color:#cccccc; margin-bottom:10px; opacity:0; animation:slideInLeft 1s ease-out 0.5s forwards; }
.hero-text .name { font-size:4.5rem; font-weight:800; background:linear-gradient(45deg,#00d4ff,#fff,#00d4ff); background-size:200% 200%; -webkit-background-clip:text; -webkit-text-fill-color:transparent; margin-bottom:20px; line-height:1.1; opacity:0; animation:slideInLeft 1s ease-out 0.7s forwards, gradientShift 3s ease-in-out infinite; }
.hero-text .description { font-size:1.8rem; color:#cccccc; opacity:0; animation:slideInLeft 1s ease-out 0.9s forwards; }
.hero-text .highlight { color:#00d4ff; font-weight:700; text-shadow:0 0 20px rgba(0,212,255,0.5); }

/* الصورة */
.circle-shape-container { display:flex; justify-content:center; margin-top:20px; }
.circle-shape {
  position:relative;
  width:220px;
  height:220px;
  border-radius:50%;
  border:3px solid rgba(0,212,255,0.5);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  transition:all .3s ease;
  box-shadow:0 0 30px rgba(0,212,255,0.6);
}
.circle-shape:hover { transform:scale(1.05); border-color:#00d4ff; box-shadow:0 0 45px rgba(0,212,255,0.9); }
.circle-image { width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }

/* triangle */
.triangle-shape-container { display:flex; justify-content:center; margin-bottom:20px; }
.triangle-shape { position:relative; width:150px; height:130px; background:linear-gradient(45deg, rgba(0,212,255,0.3), rgba(0,153,204,0.2)); clip-path:polygon(50% 0%,0% 100%,100% 100%); border:2px solid rgba(0,212,255,0.5); overflow:hidden; transition:all .3s ease; }
.triangle-shape:hover { transform:scale(1.05); filter:drop-shadow(0 0 20px rgba(0,212,255,0.6)); }
.triangle-image { width:100%; height:100%; object-fit:cover; clip-path:polygon(50% 0%,0% 100%,100% 100%); display:block; }

/* contact section */
.contact-section { display:flex; flex-direction:column; align-items:center; gap:30px; }

/* زرار كونتاكت */
.contact-btn {
  display:inline-block;
  background: linear-gradient(45deg,#00d4ff,#0099cc);
  color:#fff;
  padding:15px 40px;
  font-size:18px;
  font-weight:600;
  border-radius:50px;
  text-decoration:none;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,212,255,0.3);
  cursor:pointer;
  opacity:0; 
  pointer-events:auto;
  animation: slideInRight 1s ease-out 1.1s forwards;
  animation-fill-mode:forwards;
}
.contact-btn:hover { transform:translateY(-3px); box-shadow:0 15px 40px rgba(0,212,255,0.5); background:linear-gradient(45deg,#0099cc,#00d4ff); }

/* social icons */
.social-icons {
  display:flex;
  flex-direction:column;
  gap:20px;
  opacity:0;
  pointer-events:auto; 
  animation: slideInRight 1s ease-out 1.3s forwards;
  animation-fill-mode:forwards;
}
.social-icon {
  display:flex; align-items:center; justify-content:center;
  width:50px; height:50px; border-radius:50%;
  background: rgba(0,212,255,0.1); border:2px solid rgba(0,212,255,0.3);
  color:#00d4ff; font-size:20px; text-decoration:none; cursor:pointer;
  transition: all .3s ease;
}
.social-icon:hover { transform:scale(1.1); background:rgba(0,212,255,0.2); box-shadow:0 0 20px rgba(0,212,255,0.4); }

/* footer / about */
.footer-info { position:relative; z-index:2; text-align:center; max-width:800px; margin:80px auto 0; }
.about-section h3 { font-size:2rem; color:#00d4ff; margin-bottom:20px; font-weight:600; }
.about-section p { font-size:1.2rem; color:#cccccc; line-height:1.8; max-width:800px; margin:0 auto; }

/* keyframes */
@keyframes slideInLeft { from{opacity:0; transform:translateX(-50px);} to{opacity:1; transform:translateX(0);} }
@keyframes slideInRight { from{opacity:0; transform:translateX(50px);} to{opacity:1; transform:translateX(0);} }
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* responsive */
@media (max-width:768px){
  .main-content{ grid-template-columns:1fr; gap:40px; text-align:center; }
  .hero-text .name{ font-size:3rem; }
  .hero-text .description{ font-size:1.4rem; }
  .circle-shape{ width:160px; height:160px; }
  .triangle-shape{ width:120px; height:100px; }
  .social-icons{ flex-direction:row; justify-content:center; gap:12px; }
  .footer-info{ margin-top:40px; }
}

/* فورم التواصل */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  width: 100%;
  margin: 50px auto 0;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(0,212,255,0.5);
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0,212,255,0.3);
}

.form-section h3 {
  font-size: 2rem;
  color: #00d4ff;
  margin-bottom: 15px;
  text-align: center;
}

.form-section label {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 5px;
}

.form-section input,
.form-section button {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #00d4ff;
  font-size: 1rem;
}

.form-section input {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.form-section input::placeholder {
  color: #cccccc;
}

.form-section button {
  background: linear-gradient(45deg,#00d4ff,#0099cc);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  margin-top: 10px;
}

.form-section button:hover {
  background: linear-gradient(45deg,#0099cc,#00d4ff);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,212,255,0.4);
}