/* ===========================
   OUR PROJECTS PAGE STYLING
=========================== */

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: #155998;
  margin: 0;
  padding: 0;
}

.projects-section {
  text-align: start;
  padding: 80px 0;
}

.projects-title {
  font-family: "Abril Fatface", serif;
  color: #0b4b76;
  font-size: 42px;
  margin-bottom: 20px;
}

.projects-intro {
  align-items: start !important;
  font-size: 16px;
  color: #155998;
  line-height: 1.6;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-content: center;
  margin-top: 50px;
}

.project-item {
  border: 1px solid #e5e7eb;
  padding: 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(21, 89, 152, 0.08);
  position: relative;
}

.project-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 1px;
  transition: transform 0.3s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.view-details-link {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border: 2px solid #FF1493;
  border-radius: 6px;
  background: #FF1493;
  transition: all 0.3s ease;
  display: inline-block;
}

.view-details-link:hover {
  background: transparent;
  color: #FF1493;
  transform: scale(1.05);
}

.project-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(21, 89, 152, 0.15);
  border-color: #FF1493;
}

.project-item:hover img {
  transform: scale(1.05);
}

.project-item:hover .project-overlay {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-intro {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .projects-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-intro {
    font-size: 14px;
    margin-bottom: 25px;
  }
  
  .project-item img {
    height: auto;
  }
}
