* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: #0d1117;
  color: #f0f0f0;
  line-height: 1.8;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 60px 20px;
}

.hero-section {
  background-color: #0d1117;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.animated-name {
  font-size: 3em;
  font-family: 'Poppins', monospace;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ffce00;
  width: 0;
  margin: auto;
  animation: typing 3s steps(25) forwards, blink 0.7s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

h1, h2 {
  font-weight: 700;
  color: #ffce00;
}

p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.btn {
  background-color: #ffce00;
  color: #000;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #ffe866;
}

.skills-section .skills-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 2.5em;
  color: #bfbfbf;
  margin-top: 30px;
}

.services-section .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.service-box {
  background-color: #161b22;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

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

.service-box i {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #ffce00;
}

footer {
  background-color: #010409;
  text-align: center;
  padding: 30px;
  font-size: 0.9em;
  color: #ccc;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.3s;
}

.delay-2 {
  transition-delay: 0.6s;
}
.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: #ffce00;
  font-size: 2rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
}