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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(135deg, #1e1e2f 0%, #2a2a4a 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.profile-section {
  position: relative;
  z-index: 1;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

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

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-info {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
  color: #e0e0e0;
}

.contact-info a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #764ba2;
}

nav {
  background: linear-gradient(135deg, #1e1e2f 0%, #2a2a4a 100%);
  padding: 20px 0;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul {
  list-style-type: none;
  text-align: center;
}

nav ul li {
  display: inline;
  margin: 0 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  background: #3498db;
  transform: translateY(-2px);
}

main {
  background: rgba(30, 30, 47, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content {
  padding: 40px;
}

section {
  margin-bottom: 40px;
  padding: 40px;
  background: rgba(42, 42, 74, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  margin: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

h3 {
  color: #e0e0e0;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.education-item, .experience-item {
  background: linear-gradient(135deg, rgba(52, 52, 84, 0.9) 0%, rgba(42, 42, 74, 0.7) 100%);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 15px;
  border-left: 5px solid #667eea;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  backdrop-filter: blur(5px);
  color: #e0e0e0;
}

.education-item:hover, .experience-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  border-left-color: #764ba2;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.skill-category {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
}

.skill-category h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}

.soft-skills {
  background: rgba(52, 52, 84, 0.8);
  padding: 20px;
  border-radius: 10px;
  color: #e0e0e0;
}

.soft-skills ul {
  list-style: none;
  padding: 0;
}

.soft-skills li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

.soft-skills li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

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

.project-card {
  background: linear-gradient(135deg, rgba(52, 52, 84, 0.95) 0%, rgba(42, 42, 74, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  color: #e0e0e0;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  border-color: rgba(102, 126, 234, 0.3);
}

.project-card h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.project-card p {
  color: #b8b8b8;
  line-height: 1.6;
}

.contact-form {
  background: linear-gradient(135deg, rgba(52, 52, 84, 0.9) 0%, rgba(42, 42, 74, 0.7) 100%);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #e0e0e0;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

footer {
  background: linear-gradient(135deg, #1e1e2f 0%, #2a2a4a 100%);
  color: #fff;
  text-align: center;
  padding: 30px 0;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .main-content {
    padding: 15px;
  }

  header h1 {
    font-size: 2rem;
  }

  nav ul li {
    margin: 0 8px;
  }

  section {
    padding: 20px;
    margin: 10px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }
}