/* Projects Page Specific Styles */
.page-hero {
  min-height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
   background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  overflow: hidden;
}




.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  

}

.page-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  animation: slideInUp 1s ease;
}

.page-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  animation: slideInUp 1s ease 0.3s both;
}

/* Projects Filter */
.projects-filter {
  padding: 2rem 0;
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e2e8f0;
  background: white;
  color: #4a5568;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  color: white;

}

/* Projects Gallery */
.projects-gallery {
  padding: 4rem 0;
  background: #f8fafc;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-item {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}

.project-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.project-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.project-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.project-image:hover .project-overlay {
  opacity: 1;
}

.project-image:hover img {
  transform: scale(1.1);
}

.project-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-overlay p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.view-project {
  background: linear-gradient(135deg, #374aa1 0%, #0b0a0c 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
 
}

.view-project:hover {
  background: #2b48ca;
}

/* Project Modal */
.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  overflow-y: auto;
}

.modal-content {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  background: white;
  border-radius: 15px;
  overflow: hidden;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.project-slideshow {
  position: relative;
  background: #000;
}

.slideshow-container {
  position: relative;
  height: 100%;
}

.slide {
  display: none;
  height: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;

}

.prev-btn:hover,
.next-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

.slideshow-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
 
}

.dot.active {
  background: white;
}

.project-details {
  padding: 2rem;
  overflow-y: auto;
}

.project-details h2 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 1rem;
}

.project-details p {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.project-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-item {
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

.info-item strong {
  color: #2d3748;
}

/* Featured Project */
.featured-project {
  padding: 5rem 0;
  background: white;
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-video {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-video video {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.featured-info h3 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 1rem;
}

.featured-info p {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.featured-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.featured-stats .stat {
  text-align: center;
}

.featured-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #2b48ca;
  margin-bottom: 0.5rem;
}

.featured-stats .stat-label {
  font-size: 0.9rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .filter-buttons {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-body {
    grid-template-columns: 1fr;
  }
  
  .featured-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .featured-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .project-info {
    grid-template-columns: 1fr;
  }
}

/* Animations */
.project-item {
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Filter Animation */
.project-item {
  transition: all 0.3s ease;
}

.project-item.filtered-out {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.project-item.filtered-in {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
} 