:root {
  --primary-green: #00a859;
  --dark-bg: #1a1a1a;
  --text-main: #333;
  --text-muted: #666;
  --sidebar-text: #e0e0e0;
  --border-color: #eee;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f4f4f4;
  color: var(--text-main);
  line-height: 1.5;
}

.resume-container {
  max-width: 1000px;
  margin: 20px auto;
  background: #fff;
  display: flex;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 320px;
  background-color: var(--dark-bg);
  color: var(--sidebar-text);
  padding: 40px 25px;
}
main {
  line-height: 2;
}

.profile-header {
  text-align: center;
  margin-bottom: 30px;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--primary-green);
  object-fit: cover;
  margin-bottom: 15px;
}

.sidebar h1 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 5px;
}

.tagline {
  font-size: 0.85rem;
  color: var(--primary-green);
  font-weight: 500;
}

.contact-section {
  font-size: 0.85rem;
  border-top: 1px solid #333;
  padding: 20px 0;
  margin-bottom: 10px;
}

.contact-section p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.contact-section .material-icons {
  font-size: 1.1rem;
  color: #fff;
}

.contact-link {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-green);
}

.contact-link:hover .material-icons {
  color: var(--primary-green);
}

.sidebar h2 {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--primary-green);
  margin: 20px 0 10px;
  letter-spacing: 1px;
}

.skill-group {
  margin-bottom: 15px;
}

.skill-group h3 {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 3px;
}

.skill-group p,
.languages-sidebar p {
  font-size: 0.8rem;
  color: #bbb;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 50px 40px;
}

h2 {
  color: var(--primary-green);
  font-size: 1.2rem;
  text-transform: uppercase;
  border-bottom: 2px solid var(--primary-green);
  padding-bottom: 5px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.professional-profile p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.job-entry {
  margin-bottom: 25px;
}

.job-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-direction: column;
}

.job-entry h3 {
  font-size: 1rem;
  flex: 1;
}

.job-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: 15px;
}

.job-entry ul {
  list-style-type: none;
  padding-left: 0;
}

.job-entry li {
  font-size: 0.9rem;
  margin-bottom: 6px;
  position: relative;
  padding-left: 15px;
}

.job-entry li::before {
  content: "•";
  color: var(--primary-green);
  position: absolute;
  left: 0;
}

.edu-list {
  list-style: none;
}

.edu-list li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.sidebar .qr-codes {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
  border-top: 2px solid var(--primary-green);
}

.main-content .qr-codes-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  justify-content: center;
}

.qr-card {
  text-align: center;
  padding-block: 15px;
  border-radius: 8px;
}

.qr-card p {
  font-size: 0.75rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.qr-card img {
  width: 280px;
  height: auto;
}
.Personal-qualities li::before {
    content: "•";
    color: var(--primary-green);
    padding-right: 10px;
  }

/* Download Button */
.download-btn {
  display: inline-block;
  background-color: var(--primary-green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  margin: 35px auto 15px;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 320px;
}

.download-btn:hover {
  background-color: #008a47;
}

.download-btn-mobile-main {
  display: none;
  margin-top: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .resume-container {
    min-width: 320px;
    max-width: 480px;
    width: 100%;
    flex-direction: column;
    margin: 0 auto;
  }

  .sidebar {
    width: 100%;
    padding: 30px 20px;
  }

  .main-content {
    padding: 30px 20px;
  }

  .job-title-row {
    flex-direction: column;
  }

  .job-date {
    margin-left: 0;
    margin-top: 5px;
  }

  .sidebar .qr-codes {
    display: none;
  }

  .main-content .qr-codes-mobile {
    display: flex;
  }

  .sidebar .download-btn {
       display: block;
  }
  .download-btn-mobile-main {
    display: block;
  } 
}
