/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 480px;
}

.card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 32px 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Profile Photo */
.photo-container {
  margin-bottom: 8px;
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
}

/* Header Section */
.header-section {
  margin-bottom: 12px;
}

.name {
  font-size: 28px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 6px;
}

.title {
  font-size: 16px;
  color: #4a5568;
  font-weight: 400;
  line-height: 1.4;
  padding: 8px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* About Section */
.about-section {
  margin-bottom: 16px;
  text-align: left;
}

.about-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
  text-align: center;
}

.about-text {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
  padding: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Social Media Section */
.social-section {
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f7fafc;
  color: #4a5568;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Specific social media colors on hover */
.social-link:hover .fa-linkedin {
  color: #0077b5;
}

.social-link:hover .fa-twitter {
  color: #1da1f2;
}

.social-link:hover .fa-github {
  color: #333;
}

.social-link:hover .fa-instagram {
  color: #e4405f;
}

.social-link:hover .fa-youtube {
  color: #ff0000;
}

.social-link:hover .fa-envelope {
  color: #ea4335;
}

/* Company logo styling */
.company-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.company-link:hover {
  background: #f0f9ff;
  border-color: #0ea5e9;
}

.company-link:hover .company-logo {
  filter: brightness(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  body {
    padding: 16px;
  }

  .card {
    padding: 32px 24px;
  }

  .name {
    font-size: 24px;
  }

  .title {
    font-size: 14px;
  }

  .about-text {
    font-size: 14px;
  }

  .profile-photo {
    width: 100px;
    height: 100px;
  }

  .social-links {
    gap: 16px;
  }

  .social-link {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .card {
    padding: 28px 20px;
  }

  .name {
    font-size: 22px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

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

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

.card {
  animation: fadeIn 0.6s ease-out;
}