/* ======================================== */
/* STUDENT PROJECTS PORTFOLIO - Soft Teal & Black Theme */
/* Black Rounded Icons + Modern MVP Cards */
/* Fully Responsive | Clean | Professional */
/* ======================================== */

.portfolio-main {
  min-height: 100vh;
  background: #f0fbfc;
  padding: 0;
  margin: 0;
 /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}

.portfolio-hero {
  padding: 100px 20px 80px;
  text-align: center;
  background: linear-gradient(135deg, #f5fefe, #ebffff);
  color: white;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.1;
  color: #ff6b35;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  opacity: 0.95;
  line-height: 1.6;
  color: #4a5568;
}

.mobile-only { display: none; }

/* Stats Grid + Counter Animation */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
 /* background: rgba(255, 255, 255, 0.15);*/
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.stat-item { text-align: center; }

.stat-value {
  display: block;
  font-size: 3rem;
  font-weight: 600;
 /* color: #225c55;*/
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
  text-align: center;
}

.stat-value.count-complete {
  opacity: 1;
  transform: translateY(0);
  color: #ff6b35;
  transition: opacity 0.6s ease, transform 0.6s ease, color 0.4s ease 0.3s;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
  color: #4a5568;
}

/* Projects Section */
.projects-showcase {
  padding: 100px 20px;
  /*background: #f0fbfc;*/
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Project Cards */
.project-card {
  background: #f2f4f5;
  border-radius: 16px;
  overflow: hidden;
 /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);*/
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  position: relative;
  /*border: 1px solid rgba(0, 188, 212, 0.1);*/
}

.project-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-12px);
  /*box-shadow: 0 20px 40px rgba(0, 188, 212, 0.18);*/
}

/* Payment Badge */
.payment-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #59cfde;
  color: white;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;

}

/* BLACK ROUNDED ICONS - THE STAR OF THE SHOW */
.project-icon {
  font-size: 3.5rem;
  text-align: center;
  padding: 2rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon i {
  color:#006666;
  width: 90px;
  height: 90px;
  line-height: 90px !important;
  background: #ffffff;
  border: 3px solid #006666;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
 /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);*/
  transition: all 0.3s ease;
}

/* Hover Effect on Icon */
.project-card:hover .project-icon i {
  transform: scale(1.1);
  border-color: #ff6b35;
  /*  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);*/
}

/* Card Content */
.project-header {
  padding: 0 1.5rem;
  text-align: center;
}

.project-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #ff6b35;
  font-weight: 600;
}

.project-category {
  display: block;
  font-size: 0.9rem;
  color: #00bcd4;
  text-transform: capitalize;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-description {
  padding: 1rem 1.5rem;
  color: #2d3748;
  line-height: 1.65;
  font-size: 0.95rem;
  text-align: center;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  justify-content: center;
}

.tag {
  background: #a7f3d0;
  color: #065f46;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tag:hover {
  /*background: #6ee7b7;*/
  transform: translateY(-2px);
}

.tag-payment {
  background: #fbbf24;
  color: #78350f;
}

.tag-payment:hover {
  background: #f59e0b;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .mobile-only { display: inline; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-value { font-size: 3rem; }
  .project-icon i { width: 80px; height: 80px; line-height: 80px !important; font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .portfolio-hero { padding: 80px 15px 60px; }
  .stat-value { font-size: 2.5rem; }
  .stat-label { font-size: 1rem; }
  .project-icon i { width: 75px; height: 75px; line-height: 75px !important; font-size: 2.3rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
  }
}