/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Header */
header {
  background-color: #333;
  padding: 10px 0;
}

header .logo h1 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

header nav ul li a:hover {
  color: #ff6600;
}

/* Hero Section */
#hero {
  background: url('background.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

#hero .hero-content {
  max-width: 600px;
}

/* Headshot Section */
.headshot {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  /* Center the image and add some space below */
}

.headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the entire circular area */
}

#hero .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

#hero .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#hero .cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff6600;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
}

#hero .cta:hover {
  background-color: #e55500;
}

/* Content Sections */
.content-section {
  padding: 60px 20px;
}

.content-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* About Section */
#about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Skills Section */
#skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

#skills .skill i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #ff6600;
}

#skills .skill h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

#skills .skill p {
  font-size: 1rem;
}

/* Projects Section */
#projects .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

#projects .project {
  background-color: #f4f4f4;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#projects .project img {
  width: 100%;
  height: auto;
}

#projects .project h3 {
  font-size: 1.5rem;
  margin: 20px 0 10px;
}

#projects .project p {
  padding: 0 20px 20px;
  font-size: 1rem;
}

/* Testimonials Section */
#testimonials .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  text-align: center;
}

#testimonials .testimonial {
  background-color: #f4f4f4;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#testimonials .testimonial p {
  font-size: 1rem;
  margin-bottom: 20px;
  font-style: italic;
}

#testimonials .testimonial h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Contact Section */
#contact p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

#contact .social-links {
  text-align: center;
}

#contact .social-links a {
  color: #333;
  margin: 0 10px;
  font-size: 1.5rem;
}

#contact .social-links a:hover {
  color: #ff6600;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

footer p {
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  #hero .hero-content h1 {
    font-size: 2.5rem;
  }

  #hero .hero-content p {
    font-size: 1rem;
  }

  #skills .skills-grid,
  #projects .project-grid,
  #testimonials .testimonials-grid {
    grid-template-columns: 1fr;
  }
}