* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

header {
  background: #ffffff;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 3px solid #f2c14e;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

header img {
  max-width: 220px;
  margin-bottom: 15px;
}

header h1 {
  margin-top: 10px;
  color: #111;
  letter-spacing: 2px;
}

header h2 {
  color: #111;
  letter-spacing: 2px;
  font-size: 25px;
  margin-top: -12px;
  margin-bottom: 0;
}

header p {
  color: #555;
  margin: 0;
}

section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  color: #111;
  margin-bottom: 20px;
  text-align: center;
  font-size: 35px;
}

.center-text {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card h3 {
  color: #f2c14e;
  margin-top: 0;
}

.cta {
  background: #f2c14e;  /*linear-gradient(135deg, #f2c14e, #ffda6a);*/
  color: #000;
  text-align: center;
  padding: 60px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 10px rgba(0,0,0,0.08);
  margin-bottom: 35px;
}

.cta h2 {
  color: #000;
}

.cta a {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 35px;
  background: #2f3440;
  color: #f2c14e;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
}

.footer {
  background: #2f3440;
  color: #dcdcdc;
  margin-top: 60px;
  border-top: 3px solid #f2c14e;
  box-shadow: 0 -20px 25px rgba(0,0,0,0.08);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.footer-left {
  max-width: 400px;
  float: left;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-left p {
  margin: 8px 0;
  color: #cfd3da;
}

.footer-mid {
  max-width: 400;
  float: left;
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 400px;
  float: left
}

.footer-bottom {
  background: #ffffff;
  color: #555;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  clear: both;
}

.footer-box {
  background: #2f3440;
  color: #dcdcdc;
  text-align: center;
  margin-bottom: 50px;
}

.box-dofinansowanie {
  background: #f2c14e;
  color: #000;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 10px rgba(0,0,0,0.08);
  margin-top: 40px;
}

.box-dofinansowanie span {
  text-align: left;
  margin-left: 20px;
}

.box-dofinansowanie p, h1 {
  text-align: center;
}

.box-dofinansowanie img {
  max-width:1000px; 
  border-radius: 12px; 
  margin:20px
}

@media (max-width: 768px) {
  h2 {
    font-size: 28px;
  }

  section {
    padding: 40px 15px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    margin-bottom: 30px;
  }

  .footer-mid {
    margin-bottom: 30px;
  }

  .cta {
    border-radius: 0;
    margin: 0;
	margin-bottom: 30px;
  }

  .box-dofinansowanie img {
	max-width: 330px;
  }

  .box-dofinansowanie {
    border-radius: 0;
    margin: 0;
  }

  .cta a {
    display: block;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .services {
    grid-template-columns: 1fr;
  }

  
}