/* Projects Page Styles */
.projects-page {
  font-family: "Poppins", sans-serif;
  color: #4f4f51;
}

/* Hero Section */
.projects-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f0f8ff 100%);
  min-height: 40vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.projects-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(1, 137, 140, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(1, 137, 140, 0.05) 0%, transparent 50%);
  opacity: 0.8;
  z-index: 1;
}

.projects-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: shimmer 8s ease-in-out infinite;
  z-index: 2;
}

/* Floating background elements */
.projects-hero .floating-element-1 {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(1, 137, 140, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
}

.projects-hero .floating-element-2 {
  content: '';
  position: absolute;
  top: 60%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) translateZ(0);
  }
  50% {
    transform: translateY(-20px) rotate(180deg) translateZ(0);
  }
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%) translateY(-100%) translateZ(0);
  }
  50% {
    transform: translateX(100%) translateY(100%) translateZ(0);
  }
}

.projects-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.projects-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
}

.projects-hero .hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: #727376;
  margin-bottom: 3rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 300;
  color: #01898c;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #727376;
  font-weight: 300;
}

/* Filter Section */
.filter-section {
  padding: 3rem 0;
  background: white;
  border-bottom: 1px solid #e9ecef;
}

.filter-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-group label {
  font-size: 1rem;
  font-weight: 300;
  color: #4f4f51;
  margin-bottom: 0.5rem;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1px solid #e9ecef;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 300;
  color: #4f4f51;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover {
  background: rgba(1, 137, 140, 0.1);
  color: #01898c;
  border-color: #01898c;
}

.filter-btn.active {
  background: linear-gradient(135deg, #01898c, #00b4d8);
  color: white;
  border-color: #01898c;
}

.sort-select {
  padding: 8px 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 300;
  color: #4f4f51;
  background: white;
  cursor: pointer;
  max-width: 200px;
}

/* Projects Section */
.projects-section {
  padding: 5rem 0;
  background: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

.project-card {
  background: white;
  border-radius: 15px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(1, 137, 140, 0.1);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.image-placeholder.healthcare {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.image-placeholder.retail {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.image-placeholder.manufacturing {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.image-placeholder.education {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.image-placeholder.government {
  background: linear-gradient(135deg, #34495e, #2c3e50);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 137, 140, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.btn-view-project {
  background: white;
  color: #01898c;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-view-project:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.project-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 300;
}

.project-content {
  padding: 25px;
}

.project-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.project-category,
.project-industry {
  background: rgba(1, 137, 140, 0.1);
  color: #01898c;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 300;
}

.project-content h3 {
  font-size: 1.25rem;
  font-weight: 300;
  color: #4f4f51;
  margin-bottom: 15px;
  line-height: 1.3;
}

.project-content p {
  font-size: 0.9rem;
  color: #727376;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 300;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #727376;
  font-weight: 300;
}

.detail-item i {
  color: #01898c;
  font-size: 0.9rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: #f8f9fa;
  color: #4f4f51;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 300;
  border: 1px solid #e9ecef;
}

/* Load More Button */
.load-more-container {
  text-align: center;
}

.btn-load-more {
  background: linear-gradient(135deg, #01898c, #00b4d8);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(1, 137, 140, 0.3);
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #01898c;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #727376;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(1, 137, 140, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat-icon i {
  font-size: 1.5rem;
  color: white;
}

.stat-content h3 {
  font-size: 2rem;
  font-weight: 300;
  color: #01898c;
  margin-bottom: 10px;
}

.stat-content p {
  font-size: 0.9rem;
  color: #727376;
  font-weight: 300;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 300;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: white;
  color: #01898c;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
  color: #01898c;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #01898c;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Project Modal */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.project-modal.show {
  display: flex;
}

.project-modal-content {
  background: white;
  border-radius: 15px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  animation: slideIn 0.3s ease;
}

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 300;
  color: #01898c;
  margin: 0;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #727376;
  cursor: pointer;
  transition: color 0.3s ease;
}

.btn-close-modal:hover {
  color: #01898c;
}

.modal-body {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .projects-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .projects-hero .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .filter-buttons {
    justify-content: center;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .projects-hero {
    min-height: 50vh;
  }
  
  .projects-hero .hero-title {
    font-size: 2rem;
  }
  
  .filter-section,
  .projects-section,
  .stats-section,
  .cta-section {
    padding: 3rem 0;
  }
  
  .filter-container {
    gap: 1.5rem;
  }
  
  .filter-buttons {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-content {
    padding: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .stat-card {
    padding: 20px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .project-modal-content {
    width: 95%;
    margin: 10px;
  }
  
  .modal-header,
  .modal-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .projects-hero .hero-title {
    font-size: 1.75rem;
  }
  
  .projects-hero .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .filter-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  
  .project-content h3 {
    font-size: 1.1rem;
  }
  
  .project-content p {
    font-size: 0.85rem;
  }
  
  .btn-load-more {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .cta-content h2 {
    font-size: 1.75rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
} 