:root {
  --primary-color: #e74c3c;
  --secondary-color: #e74c3c;
  --accent-color: #e74c3c;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: white;
  color: #333;
  font-family: "Tajawal", sans-serif;
  min-height: 100vh;
  padding: 20px;
  overflow-x: hidden;
}

/* Container with Animation */
.container {
  background: white;
  border-radius: 15px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.1);
  position: relative;
  transform: translateY(50px) scale(0.95);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  will-change: transform, opacity, box-shadow;
}

.container.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 15px 40px rgba(231, 76, 60, 0.15);
}

/* Profile Section */
.profile {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 10px;
}

.profile-img-container {
  margin: 0 auto 20px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(45deg, #e74c3c, #ff8c00);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
  transition: all 0.5s ease;
}

.profile-img-container:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /*border: 3px solid white;*/
  display: block;
}

h1 {
  margin: 15px 0 5px;
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

h1:hover {
  transform: translateX(-5px);
  text-shadow: 2px 2px 5px rgba(231, 76, 60, 0.2);
}

p {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}

/* Links Section */
.links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.link {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #eee;
  transform: translateY(0);
}

.link:hover {
  background: #f1f1f1;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.15);
}

.link a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.link i {
  font-size: 1.2rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.link:hover i {
  transform: rotate(10deg) scale(1.2);
}

/* Social Icons */
.social {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social a {
  color: var(--primary-color);
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translateY(0);
  text-decoration: none;
  border: 1px dotted var(--primary-color);
}

.social a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.social a:hover {
}

/* Responsive Design */
@media (min-width: 768px) {
  body {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }

  .container {
    max-width: 500px;
    padding: 40px 30px;
    margin: 0;
  }

  .profile-img-container {
    width: 180px;
    height: 180px;
  }

  h1 {
    font-size: 2rem;
  }

  .link a {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .profile-img-container {
    width: 130px;
    height: 130px;
  }

  .container {
    padding: 25px 15px;
  }
}
