@font-face {
      font-family: "vazir";
      src: url(../asstest/font/Vazir-Medium.ttf);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0a0a0a, #1c2526);
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.container {
  max-width: 1000px;
  background: #1a1a1a;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
  animation: fadeIn 1s ease-in;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Profile Section */
.profile-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  animation: slideIn 0.8s ease-out;
}

.profile-img img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #00d4ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.profile-info h1 {
  font-size: 2.5rem;
  color: #00d4ff;
  font-weight: 700;
}

.profile-info h1 span {
  color: #00aaff;
}

.profile-info h2 {
  font-size: 1.2rem;
  color: #b0b0b0;
  font-weight: 400;
  margin-bottom: 1rem;
}

.social-links a {
  color: #00d4ff;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #00aaff;
  transform: translateY(-3px);
}

/* Section Headings */
h3 {
  font-size: 1.8rem;
  color: #00d4ff;
  border-bottom: 3px solid #00aaff;
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* About Section */
.about-section p {
  font-size: 1rem;
  color: #c0c0c0;
  animation: fadeIn 1.2s ease-in;
}

/* Skills Section */
.skills-section ul {
  list-style: none;
}

.skills-section ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #e0e0e0;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #333;
  border-radius: 10px;
  margin-left: 1rem;
  overflow: hidden;
  max-width: 200px;
}

.progress {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #00aaff);
  transition: width 1s ease-in-out;
}

/* Experience & Education Sections */
.experience-item, .education-item {
  margin-bottom: 1.5rem;
  animation: fadeIn 1.5s ease-in;
}

.experience-item h4, .education-item h4 {
  font-size: 1.2rem;
  color: #00d4ff;
  font-weight: 600;
}

.duration {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.experience-item p, .education-item p {
  font-size: 0.95rem;
  color: #c0c0c0;
}

/* Contact Section */
.contact-section p {
  font-size: 1rem;
  color: #c0c0c0;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.contact-section i {
  color: #00d4ff;
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.contact-section a {
  color: #00d4ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-section a:hover {
  color: #00aaff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }

  .profile-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-img img {
    width: 120px;
    height: 120px;
  }

  .profile-info h1 {
    font-size: 2rem;
  }

  .social-links {
    margin-top: 1rem;
  }

  .skills-section ul li {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress-bar {
    width: 100%;
    max-width: none;
    margin-top: 0.5rem;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 1100px;
  }
}