/* ===== Hero Section for Projects Page ===== */
.projects-hero {
  background: url('projects-bg.jpg') center/cover no-repeat; /* Background image */
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.projects-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.projects-hero p {
  font-size: 1.2rem;
  color: #555; /* Slightly muted text color */
}

/* ===== View Project Button ===== */
.view-project-btn {
  margin: 10px 15px 20px;
  padding: 8px 18px;
  background-color: #ff5722; /* Matches Load More button color */
  color: white;
  border: none;
  border-radius: 30px; /* Rounded shape like Load More button */
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-align: center;
}

.view-project-btn:hover {
  background-color: #e64a19; /* Darker shade on hover */
}

/* ===== Filter Buttons Section ===== */
.filter-buttons {
  text-align: center;
  margin: 30px 0;
}

.filter-btn {
  padding: 10px 20px;
  border: none;
  background: #eee;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #ff5722;
  color: white;
}

/* ===== Projects Grid Layout ===== */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
  gap: 30px;
  padding: 0 8% 60px;
}

/* ===== Project Card Styling ===== */
.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px); /* Slight lift on hover */
}

.project-card img {
  width: 100%;
  height: auto;
  border-bottom: 2px solid #ff5722; /* Accent border */
  border-radius: 10px 10px 0 0; /* Rounded top corners */
  object-fit: cover; /* Keep image proportion while filling area */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth */
  
}

.project-card h3 {
  margin: 15px;
  color: #0b1f41;
}

.project-card p {
  margin: 0 15px 20px;
  color: #555;
  line-height: 1.6;
}

/* ===== Load More Button Styling ===== */
.load-more-btn {
  margin-top: -70px;
  padding: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.load-more-btn button {
  padding: 10px 20px;
  background: #ff5722;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.load-more-btn button:hover {
  background: #e64a19;
}

/* ===== Project Details Page Styling ===== */
.project-details {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  flex: 1;
}

.project-details img {
  max-width: 100%;
  border-radius: 12px;
  height: auto;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-details h1 {
  margin-bottom: 15px;
  color: #0b1f41;
}

.project-details p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 25px;
}

/* Back button styling */
.back-btn {
  display: inline-block;
  background-color: #ff5722;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.back-btn:hover {
  background-color: #e64a19;
}
.projects-hero {
  background: url('projects-bg.jpg') center/cover no-repeat; /* Background image */
  color: white;
  text-align: center;
  padding: 60px 20px;
}