* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #2f2a2a;
  color: #ffffff;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 38px 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo a {
  color: white;
  text-decoration: none;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 48px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.nav-links a:hover {
  opacity: 0.75;
}

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 24, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 185px 70px 90px 70px;
}

.hero-text-block {
  max-width: 1180px;
}

.hero-title {
  margin: 0 0 42px 0;
  font-size: 3.4rem;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.hero-list,
.education-list {
  margin: 0;
  padding-left: 36px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.65;
}

.hero-list {
  margin-bottom: 52px;
}

.hero-list li,
.education-list li {
  margin-bottom: 16px;
}

.section-title {
  margin: 0 0 22px 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
}

.experience-section,
.resume-section,
.skills-section {
  padding: 80px 70px;
}

.experience-section {
  background-color: #f7f7f7;
  color: #111111;
}

.resume-section {
  background-color: #efefef;
  color: #111111;
}

.skills-section {
  background-color: #2f2a2a;
  color: white;
}

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

.resume-heading {
  margin: 0 0 14px 0;
  font-size: 2rem;
  font-weight: 700;
}

.resume-subtext {
  margin: 0 0 22px 0;
  font-size: 1rem;
  color: inherit;
  opacity: 0.75;
}

.experience-item {
  background: white;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.experience-item h3 {
  margin: 0 0 8px 0;
  font-size: 1.28rem;
  color: #111111;
}

.experience-role {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #444444;
}

.experience-list {
  margin: 0;
  padding-left: 20px;
  color: #222222;
  line-height: 1.65;
  font-size: 0.97rem;
}

.experience-list li {
  margin-bottom: 9px;
}

.resume-actions {
  margin-bottom: 24px;
}

.resume-button {
  display: inline-block;
  text-decoration: none;
  background-color: #111111;
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.resume-button:hover {
  opacity: 0.85;
}

.resume-frame-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.resume-frame {
  width: 100%;
  height: 900px;
  border: none;
  display: block;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 22px;
}

.skill-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: white;
}

.skill-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.certifications-block {
  margin-top: 30px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.certifications-title {
  margin: 0 0 14px 0;
  font-size: 1.3rem;
}

.certifications-list {
  margin: 0;
  padding-left: 22px;
  line-height: 1.7;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1100px) {
  .navbar {
    padding: 28px 28px;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-content {
    padding: 200px 28px 65px 28px;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.35;
  }

  .hero-list,
  .education-list {
    font-size: 1rem;
    padding-left: 26px;
  }

  .experience-section,
  .resume-section,
  .skills-section {
    padding: 65px 28px;
  }

  .resume-frame {
    height: 700px;
  }

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

@media (max-width: 700px) {
  .logo a {
    font-size: 1.5rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title,
  .resume-heading {
    font-size: 1.55rem;
  }

  .resume-frame {
    height: 560px;
  }
}