/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: linear-gradient(135deg, #C5D89D 0%, #89986D 100%);
  padding: 2rem 1rem;
  min-height: 100vh;
}

a {
  color: #89986D;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #9CABB4;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #C5D89D 0%, #89986D 100%);
  color: white;
  padding: 3rem 2.5rem;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-text {
  flex: 1;
}

.name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.location {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 400;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.contact-item .label {
  font-weight: 600;
  opacity: 0.9;
}

.contact-item a {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.contact-item a:hover {
  text-decoration-color: white;
}

/* Main Content */
.main-content {
  padding: 2.5rem;
}

/* Section Styles */
.section {
  margin-bottom: 2.5rem;
}

.section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #89986D;
  display: inline-block;
}

/* Objective */
.objective-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5568;
}

/* Education */
.education-item {
  margin-bottom: 1.5rem;
}

.item-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.institution,
.company {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 0.25rem;
}

.date {
  font-size: 0.95rem;
  color: #718096;
  font-style: italic;
}

.subsection {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #F6F0D7;
  border-radius: 8px;
  border-left: 4px solid #9CABB4;
}

.subsection-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

/* Work Experience */
.experience-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.experience-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.responsibilities {
  margin-top: 1rem;
  margin-left: 1.5rem;
  list-style: none;
}

.responsibilities li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
  line-height: 1.7;
}

.responsibilities li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.skill-category {
  background: #f7fafc;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.skill-category-title {
  font-size: 1rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.skill-category p {
  color: #4a5568;
  font-size: 0.95rem;
}

/* Certifications */
.certifications-list {
  list-style: none;
  margin-left: 0;
}

.certifications-list li {
  position: relative;
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  background: #f7fafc;
  border-radius: 8px;
  border-left: 4px solid #48bb78;
  color: #2d3748;
}

.certifications-list li::before {
  content: "✓";
  position: absolute;
  left: 0.5rem;
  color: #48bb78;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background: #f7fafc;
  padding: 2rem 2.5rem;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links a {
  font-weight: 500;
  transition: color 0.3s ease;
}

.separator {
  color: #cbd5e0;
}

.copyright {
  color: #718096;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 1rem 0.5rem;
  }

  .container {
    border-radius: 12px;
  }

  .header {
    padding: 2rem 1.5rem;
  }

  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .name {
    font-size: 2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 0.75rem;
  }

  .main-content {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

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

  .footer {
    padding: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .separator {
    display: none;
  }
}

@media print {
  body {
    background: white;
    padding: 0;
  }

  .container {
    box-shadow: none;
    max-width: 100%;
  }

  .footer-links a {
    color: #667eea;
  }
}