/* Base Styles */
:root {
  --primary-color: hsl(122 39% 49%);
  --background-color: #F8F9FA;
  --text-color: #333333;
  --text-secondary: #6C757D;
  --border-color: #E9ECEF;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
  padding: 2rem 0;
}

h1, h2 {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

/* Profile Section */
.profile-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.profile-image {
  width: 100%;
  height: 60vh;
  border-radius: 0.5rem;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.profile-header .title {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.hire-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 0.25rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
  text-align: center;
}

.hire-button:hover {
  background-color: hsl(122 39% 42%);
  color: var(--white);
}

.about-section p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.work-section h2,
.education-section h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.work-item,
.education-item {
  padding: 0.5rem 0;
  font-weight: 500;
}

/* Social Links */
.social-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: #e9ecef;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.submit-button {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: hsl(122 39% 42%);
}

/* Footer */
footer {
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .profile-section {
    flex-direction: row;
  }
  
  .profile-image {
    width: 60%;
  }
  
  .profile-info {
    width: 40%;
  }
  
  .social-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .profile-image {
    height: 40vh;
  }
  
  .social-links {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .social-links {
    grid-template-columns: repeat(3, 1fr);
  }
}