* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 40px;
}

/* Navigation Bar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  width: 85%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #667eea;
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #667eea;
}

/* Container */
.container {
  width: 85%;
  max-width: 900px;
  margin: 30px auto;
}

/* Hero Section */
.hero {
  background: white;
  color: #333;
  padding: 60px 40px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 700;
}

.job-title {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #666;
}

.bio {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  color: #555;
}

/* Cards */
.card {
  background: white;
  padding: 35px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ddd;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contact-item {
  padding: 15px;
  background: #fafafa;
  border-radius: 6px;
  border-left: 3px solid #999;
}

.contact-item strong {
  color: #333;
  display: block;
  margin-bottom: 5px;
}

.contact-item span {
  color: #666;
  font-size: 15px;
}

/* Experience Section */
.experience-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.experience-header h3 {
  color: #333;
  font-size: 18px;
  margin: 0;
}

.years {
  background: #e0e0e0;
  color: #333;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.experience-desc {
  color: #666;
  line-height: 1.6;
  margin: 10px 0 0 0;
}

/* Education Section */
.education-item {
  margin-bottom: 20px;
  padding: 15px;
  background: #fafafa;
  border-radius: 6px;
  border-left: 3px solid #999;
}

.education-item h3 {
  color: #333;
  margin-bottom: 5px;
}

.education-item p {
  color: #666;
  margin: 5px 0 0 0;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.skill-tag {
  background: #e8e8e8;
  color: #333;
  padding: 12px 18px;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  cursor: default;
}

.skill-tag:hover {
  background: #d8d8d8;
}

/* Links Section */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.link-btn {
  display: inline-block;
  background: #333;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: background 0.2s ease;
}

.link-btn:hover {
  background: #555;
}

/* Certifications List */
.cert-list {
  list-style: none;
  padding: 0;
}

.cert-list li {
  padding: 12px;
  margin-bottom: 10px;
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  border-radius: 4px;
  color: #333;
  transition: background 0.3s ease;
}

.cert-list li:hover {
  background: #e8f0fe;
}

/* Footer */
footer {
  text-align: center;
  color: #666;
  margin-top: 50px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

footer p {
  margin: 5px 0;
}

footer small {
  color: #999;
  font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .job-title {
    font-size: 18px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .card {
    padding: 20px;
  }

  .card h2 {
    font-size: 22px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .years {
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 20px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .container {
    width: 95%;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}
