/* resume.css */

/* Resume Section */
.resume {
  padding: 4rem 2rem;
  background: var(--background-color, #fdfdfd);
  color: #333;
  line-height: 1.6;
}

.resume h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color, #0077ff);
}

/* Resume Container */
.resume-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Sidebar (for profile & contact info) */
.resume-sidebar {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.resume-sidebar h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--secondary-color, #444);
}

.resume-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resume-sidebar ul li {
  margin: 0.6rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Main Resume Content */
.resume-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Resume Section Block */
.resume-section {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.resume-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color, #0077ff);
  border-bottom: 2px solid #0077ff;
  padding-bottom: 0.5rem;
}

/* Timeline Entries */
.resume-entry {
  margin-bottom: 1.5rem;
}

.resume-entry h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color, #222);
}

.resume-entry .duration {
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
  margin-bottom: 0.5rem;
}

.resume-entry p {
  font-size: 1rem;
  color: #555;
  margin: 0.2rem 0;
}

/* Skills in Resume */
.resume-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.resume-skills span {
  background: linear-gradient(90deg, #0077ff, #00c6ff);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}


.profile-pic {
  flex: 1 1 1;
  text-align: center;
}

.profile-pic img {
  width: 300px;
  max-width: 100%;
  border-radius: 50%;
  border: 5px solid #0078ff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0);
}

/* Responsive */
@media (max-width: 992px) {
  .resume-container {
    grid-template-columns: 1fr;
  }
}
