/* Fade-in animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* General Styles */
body {
  background-color: #121212; /* Dark background */
  color: #e0e0e0; /* Light text */
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
}

/* Container for Padding */
.container {
  max-width: 1200px; /* Limit width for large screens */
  margin: 40px auto; /* Center content horizontally */
  padding: 0 20px; /* Add side padding */
}

.section-title {
  text-align: center;
  color: #80cbc4; /* Accent color */
  margin-bottom: 20px;
  font-size: 2xl; /* Font size to match */
  font-weight: bold; /* Bold to emphasize */
}

/* Hero Section Styling */
.hero-section {
  display: flex;
  flex-wrap: wrap; /* Ensures responsiveness */
  justify-content: space-between; /* Separate text and image */
  align-items: center;
  gap: 20px;
}

.text-boxes {
  flex: 1; /* Allow the text to grow or shrink proportionally */
  max-width: 600px; /* Limit the width of the text */
}

.p-6 {
  background-color: #1f1f1f; /* Dark box background */
  color: #e0e0e0; /* Light box text */
  padding: 20px;
  border-radius: 0px; /* Rounded corners */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5); /* Subtle shadow */
  text-align: left; /* Align text to the left */
}

.p-6 h2 {
  font-size: 1.8rem; /* Increase heading size */
  margin: 0; /* Remove default margins */
}

.p-6 p {
  font-size: 1.2rem; /* Paragraph size */
  line-height: 1.5; /* Spacing between lines */
}

/* Right-Side Photo */
.hero-image {
  flex: 1; /* Allow the image to grow or shrink proportionally */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 16rem; /* Set width of photo */
  height: 16rem; /* Set height of photo */
  border-radius: 50%; /* Circular shape */
  border: 4px solid #80cbc4; /* Accent border */
  object-fit: cover; /* Ensure the image fits */
}

/* Portfolio Section */
#portfolio .project-card {
  background-color: #1f1f1f; /* Dark card background */
  color: #e0e0e0; /* Light text */
  padding: 20px;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5); /* Subtle shadow */
  margin-bottom: 20px; /* Add spacing between cards */
}

#portfolio .project-card h3 {
  font-size: 1.5rem;
  color: #80cbc4;
  margin-bottom: 10px;
  
}

#portfolio .project-card p {
  font-size: 1rem;
  margin-bottom: 10px;
  
}

/* Highlight effect for portfolio cards */
.project-card.highlight {
  border-color: #80cbc4;
  box-shadow: 0px 4px 10px rgba(128, 203, 196, 0.8);
  transform: scale(1.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* About Me Section */
#about {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
}


#about p {
  text-align: center;
  margin: 10px 0;
  text-align: justify; /* Justify the paragraph text */
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column; /* Stack items vertically on smaller screens */
  }

  .hero-image {
    margin-top: 20px; /* Add spacing when stacked */
  }
}
