

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --accent-hover: #2563eb;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --success: #10b981;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #64748b;
  --border-color: #334155;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
} 

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
//  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: var(--transition);
}

.theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 1000;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.theme-toggle svg {
  color: var(--text-secondary);
  transition: var(--transition);
}

.theme-toggle:hover svg {
  color: var(--accent-primary);
}

.icon-sun {
  display: block;
}

.icon-moon {
  display: none;
}

body.dark-mode .icon-sun {
  display: none;
}

body.dark-mode .icon-moon {
  display: block;
}

.container {
  width: 100%;
  //max-width: 480px;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-card {
  background: var(--bg-secondary);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.profile-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.card-header {
  //background: var(--gradient);
  background: #367588;
  padding: 40px 32px 80px;
  position: relative;
  text-align: center;
}

.profile-image {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.avatar {
  width: 120px;
  height: 120px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 4px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.avatar svg {
  color: var(--accent-primary);
}

.status-indicator {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--success);
  border: 3px solid var(--bg-secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

.brand-badge {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.card-body {
  padding: 32px;
  background: var(--bg-secondary);
}

.profile-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.profile-title {
  font-size: 16px;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 16px;
}

.profile-bio {
  font-size: 6px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}


.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  //gap: 12px;
  //margin-bottom: 28px;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-tertiary);
  padding: 16px 12px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.stat-card:hover {
  background: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card:hover svg {
  color: white;
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-label {
  color: white;
}

.stat-card svg {
  color: var(--accent-primary);
  margin-bottom: 8px;
  transition: var(--transition);
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  transition: var(--transition);
}

.skills-section {
  margin-bottom: 28px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-badge {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.skill-badge:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.card-footer {
  padding: 24px 32px;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary svg {
  transition: var(--transition);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Tablet Layout */
@media (min-width: 768px) {
  .container {
    //max-width: 520px;
	width:100%;
  }
  
  .card-header {
    padding: 48px 40px 50px;
  }
  
  .avatar {
    width: 140px;
    height: 140px;
  }
  
  .card-body {
    padding: 30px;
  }
  
  .profile-name {
    font-size: 32px;
  }
  
  .profile-title {
    font-size: 17px;
  }
  
  .profile-bio {
    font-size: 20px;
  }
  
  .card-footer {
    padding: 28px 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .btn-primary {
    flex: 0 0 auto;
  }



}

/* Desktop Layout */
@media (min-width: 1024px) {
  .container {
   // max-width: 560px;
   max-width: 80%;
  }
  
  .profile-card:hover .avatar {
    transform: scale(1.05) rotate(5deg);
  }
  
  .stats-grid {
    gap: 16px;
  }
  
  .stat-card {
    padding: 20px 16px;
  }
}

/* Mobile Small Screens */
@media (min-width: 320px) {
  .card-header {
    padding: 32px 24px 70px;
  }
  
  .avatar {
    width: 100px;
    height: 100px;
  }
  
  .card-body {
    padding: 20px;
  }
  
  .profile-name {
    font-size: 24px;
  }
  
  .stats-grid {
    gap: 8px;
  }
  
  .stat-card {
    padding: 12px 8px;
  }
  
  .stat-number {
    font-size: 18px;
  }
  
  .card-footer {
    padding: 20px 24px;
  }
  
  .social-btn {
    width: 40px;
    height: 40px;
  }
  
  .skill-badge {
  
  font-size: 20px;
 
}

  .profile-bio {
    font-size: 40px;
  }
  


}