* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-highlight {
  color: #2563eb;
  background: none;
  -webkit-background-clip: unset;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  color: #334155;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #2563eb;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #2563eb;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: #e0e7ff;
  color: #1e40af;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 1rem;
}

.highlight {
  color: #2563eb;
}

.hero-content p {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37,99,235,0.2);
}

.btn-outline {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.btn-outline:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skills-list span {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.skills-list i {
  margin-right: 0.5rem;
  color: #2563eb;
}

/* Perfect Circle Photo Styles */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-frame {
  position: relative;
  width: 380px;
  height: 380px;
}

.photo-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 4px solid white;
  box-shadow: 0 25px 35px -10px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.photo-circle:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 45px -12px rgba(37, 99, 235, 0.3);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.photo-circle:hover .hero-photo {
  transform: scale(1.08);
}

.photo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 3s ease-in-out infinite;
}

.photo-frame {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    width: 110%;
    height: 110%;
  }
  50% {
    opacity: 0.8;
    width: 120%;
    height: 120%;
  }
}

.photo-circle::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(135deg, #2563eb, #7c3aed, #ec489a);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.photo-circle:hover::before {
  opacity: 0.6;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.underline {
  width: 80px;
  height: 4px;
  background: #2563eb;
  margin: 0 auto 1rem;
  border-radius: 2px;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid #e2e8f0;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-card i {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-card p {
  color: #475569;
  margin-bottom: 0.5rem;
}

/* Skills Section with Charts */
.skills-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.skills-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.chart-card {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.chart-card:hover {
  transform: translateY(-5px);
}

.chart-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2563eb;
}

.chart-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

canvas {
  max-width: 200px;
  max-height: 200px;
}

.skill-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1rem;
}

.skill-details span {
  background: #eef2ff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1e40af;
}

.skill-details i {
  margin-right: 0.3rem;
}

.total-badge {
  text-align: center;
  margin-top: 3rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 1rem 2rem;
  border-radius: 60px;
  display: inline-block;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  font-weight: 700;
}

.total-badge i {
  margin: 0 0.5rem;
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  border: 1px solid #e2e8f0;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
  border-color: #2563eb30;
}

.project-icon {
  width: 60px;
  height: 60px;
  background: #eef2ff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.project-icon i {
  font-size: 2rem;
  color: #2563eb;
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: #475569;
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tech span {
  background: white;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.project-links a:hover {
  color: #1d4ed8;
}

.project-links i {
  margin-right: 0.3rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item i {
  width: 45px;
  height: 45px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #2563eb;
}

.info-item h4 {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.info-item p, .info-item a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
}

.info-item a:hover {
  color: #2563eb;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 1.3rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-3px);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px #2563eb20;
}

.form-message {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 2rem;
}

footer p {
  margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .skills-list {
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.3rem;
  }
  
  .photo-frame {
    width: 280px;
    height: 280px;
  }
  
  .photo-circle {
    border-width: 3px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .skills-charts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .photo-frame {
    width: 240px;
    height: 240px;
  }
}
