.porfolio-box{
	font-size: 8px;	
}

/* Nowoczesny styl dla strony głównej */

.masthead {
  background: linear-gradient(120deg, #232526 0%, #414345 100%) !important;
  min-height: 100vh;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  position: relative;
}

.masthead h1 {
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px #000;
}

.modern-btn {
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 195, 255, 0.2);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.modern-btn:hover {
  background: #005bea !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 91, 234, 0.3);
}

.tech-logo {
  width: 48px;
  height: 48px;
  margin: 0 8px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  background: #fff;
  object-fit: contain;
  opacity: 0.95;
  transition: transform 0.2s;
}
.tech-logo:hover {
  transform: scale(1.12) rotate(-3deg);
  opacity: 1;
}

#about {
  background: linear-gradient(120deg, #00c3ff 0%, #005bea 100%) !important;
}

#about h2, #services h2 {
  font-weight: 700;
}

#services .service-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,91,234,0.07);
  padding: 32px 18px 24px 18px;
  transition: box-shadow 0.3s, transform 0.3s;
}
#services .service-box:hover {
  box-shadow: 0 8px 32px rgba(0,91,234,0.15);
  transform: translateY(-6px) scale(1.03);
}
#services i.fa {
  color: #005bea !important;
  text-shadow: 0 2px 8px #00c3ff33;
}

.section-heading {
  letter-spacing: 1px;
}

hr.light, hr.my-4 {
  border-top: 2px solid #00c3ff !important;
  width: 60px;
  margin: 0 auto 24px auto;
}

.portfolio-icon-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,91,234,0.07);
  padding: 32px 18px 24px 18px;
  margin-bottom: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.portfolio-icon-box:hover {
  box-shadow: 0 8px 32px rgba(0,91,234,0.15);
  transform: translateY(-6px) scale(1.03);
}
.portfolio-icon-box i.fa {
  color: #005bea !important;
  text-shadow: 0 2px 8px #00c3ff33;
  margin-bottom: 18px;
}
.portfolio-icon-box .project-category {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #005bea;
}
.portfolio-icon-box .project-name {
  font-size: 1rem;
  color: #333;
}

@media (max-width: 768px) {
  .masthead h1 {
    font-size: 2rem;
  }
  .tech-logo {
    width: 36px;
    height: 36px;
  }
  #services .service-box {
    padding: 18px 8px 12px 8px;
  }
  .portfolio-icon-box {
    padding: 18px 8px 12px 8px;
    min-height: 220px;
  }
  .portfolio-icon-box i.fa {
    font-size: 2.5rem !important;
  }
}