* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Vazirmatn', sans-serif;
}

body {
  background-color: #f4f6f9;
  color: #333;
  line-height: 1.8;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem;
}

header.hero {
  background: linear-gradient(135deg, #0062cc, #a6bed8);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header .title {
  font-size: 1.2rem;
  opacity: 0.9;
}

section {
  /* background: white; */
  margin-top: 2rem;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  color: #004085;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

ul {
  list-style: none;
  padding-right: 1rem;
}

ul li {
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.timeline-item {
  margin-bottom: 1.5rem;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.skill {
  background-color: #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.skill:hover {
  transform: scale(1.05);
}

.skill i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0062cc;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #f8f9fa;
  color: #6c757d;
  margin-top: 2rem;
  font-size: 0.9rem;
}

footer a {
  color: #004085;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.certification-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f5f5f5;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.cert-item i {
  color: #007bff;
  font-size: 1rem;
}

.cert-item:hover {
  background-color: #e0f7fa;
  transform: translateY(-2px);
}

.timeline {
  position: relative;
  margin: 2rem 0;
  padding: 0;
  border-right: 2px solid #3498db;
}

.timeline-item {
  position: relative;
  padding-right: 40px;
  margin-bottom: 2rem;
}

.timeline-icon {
  position: absolute;
  right: -14px;
  top: 5px;
  background: #3498db;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 14px;
}

.timeline-content {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  direction: rtl;
}

.timeline-date {
  font-size: 0.9rem;
  color: #888;
  display: block;
  margin-bottom: 0.5rem;
}

.timeline h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.profile-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  direction: rtl;
}

.profile-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #3498db;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  left: 10%;
  top: 30%;
  position: fixed;
  
}

.profile-details {
  flex: 1;
}

.profile-details h2 {
  margin-bottom: 1rem;
}

.profile-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-details li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.summary {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

.skill-planet {
  /* position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto; */
  position: absolute;
  z-index: 10;
  top: 20%;
  left: 10%;
}

.planet-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
}

.center-icon {
  width: 100%;
}

.orbit {
  position: fixed;
  top: 40%;
  left: 14%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  animation: spin 20s linear infinite;
}

.orbit-icon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  transform: translateX(-50%);
}

.orbit1 {
  width: 200px;
  height: 200px;
  animation-duration: 10s;
}

.orbit2 {
  width: 220px;
  height: 230px;
  animation-duration: 14s;
}

.orbit3 {
  width: 240px;
  height: 250px;
  animation-duration: 18s;
}

.orbit4 {
  width: 260px;
  height: 270px;
  animation-duration: 22s;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

