 /*.quality{
  font-family: "Comfortaa", sans-serif;
}
.main-wrapper {
  width: 90%;
  max-width: 900px;
  margin: 3em auto;
  text-align: center;
}
.quality-badge {
  position: relative;
  margin: 1.5em 3em;
  width: 4em;
  height: 6.2em;
  border-radius: 10px;
  display: inline-block;
  top: 0;
  transition: all 0.2s ease;
}
.quality-badge:before,
.quality-badge:after {
  position: absolute;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  background: inherit;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.quality-badge:before {
  transform: rotate(60deg);
}
.quality-badge:after {
  transform: rotate(-60deg);
}
.quality-badge:hover {
  top: -4px;
}
.quality-badge .circle {
  width: 60px;
  height: 60px;
  position: absolute;
  background: #fff;
  z-index: 10;
  border-radius: 50%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.quality-badge .circle i.fa {
  font-size: 2em;
  margin-top: 8px;
}
.quality-badge .font {
  display: inline-block;
  margin-top: 1em;
}
.quality-badge .ribbon {
  position: absolute;
  border-radius: 4px;
  padding: 5px 5px -4px;
  width: 100px;
  z-index: 11;
  color: #fff;
  bottom: 12px;
  left: 50%;
  margin-left: -55px;
  height: 15px;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.27);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  background: linear-gradient(to bottom right, #555 0%, #333 100%);
  cursor: default;
}
.yellowq {
  background: linear-gradient(to bottom right, #ffeb3b 0%, #fbc02d 100%);
  color: #ffb300;
}
.orangeq {
  background: linear-gradient(to bottom right, #ffc107 0%, #f57c00 100%);
  color: #f68401;
}
.pinkq {
  background: linear-gradient(to bottom right, #f48fb1 0%, #d81b60 100%);
  color: #dc306f;
}
.redq {
  background: linear-gradient(to bottom right, #f4511e 0%, #b71c1c 100%);
  color: #c62828;
}
.purpleq {
  background: linear-gradient(to bottom right, #ab47bc 0%, #4527a0 100%);
  color: #7127a8;
}
.tealq {
  background: linear-gradient(to bottom right, #4db6ac 0%, #00796b 100%);
  color: #34a297;
}
.blueq {
  background: linear-gradient(to bottom right, #4fc3f7 0%, #2196f3 100%);
  color: #259af3;
}
.blue-darkq {
  background: linear-gradient(to bottom right, #1976d2 0%, #283593 100%);
  color: #1c68c5;
}
.greenq {
  background: linear-gradient(to bottom right, #cddc39 0%, #8bc34a 100%);
  color: #7cb342;
}
.green-darkq {
  background: linear-gradient(to bottom right, #4caf50 0%, #1b5e20 100%);
  color: #00944a;
}
.silverq {
  background: linear-gradient(to bottom right, #e0e0e0 0%, #bdbdbd 100%);
  color: #9e9e9e;
}
.goldq {
  background: linear-gradient(to bottom right, #e6ce6a 0%, #b7892b 100%);
  color: #b7892b;
}

.main-wrapper .row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;

}

.main-wrapper .col {
  display: flex;
  flex-direction: column;
  flex-grow: 2;
  justify-content: space-around;
  width: 100%;
    border: #00796b solid 2px;
  padding: 0 3rem;
}



.quality-pair-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin: 3em auto;
  max-width: 1000px;
  padding: 0 1em;
}

.quality-block {
  width: 260px;
  text-align: center;
  font-family: "Comfortaa", sans-serif;
}

.quality-block .description {
  margin-top: 1em;
  font-size: 0.95em;
  line-height: 1.5em;
  color: #333;
}*/

/* Base Font and Container */
body {
  font-family: "Comfortaa", sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #333;
}

.main-wrapper {
  width: 90%;
  max-width: 80rem;
  margin: 3em auto;
  padding: 0 1em;
  text-align: center;
}

/* Wrapper for all paired blocks */
.quality-pair-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin: 3em auto;
  max-width: 80rem;
  padding: 0 1em;
}

/* Each badge + description block */
.quality-block {
  width: 260px;
  text-align: center;
  font-family: "Comfortaa", sans-serif;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1.5em 1em 2em;
  transition: transform 0.3s ease;
}

.quality-block:hover {
  transform: translateY(-6px);
}

/* Badge styling */
.quality-badge {
  position: relative;
  margin: 0 auto 1em;
  width: 4em;
  height: 6.2em;
  border-radius: 10px;
  display: inline-block;
  top: 0;
  transition: all 0.2s ease;
}

.quality-badge:before,
.quality-badge:after {
  position: absolute;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  background: inherit;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.quality-badge:before {
  transform: rotate(60deg);
}

.quality-badge:after {
  transform: rotate(-60deg);
}

.quality-badge:hover {
  top: -4px;
}

.quality-badge .circle {
  width: 60px;
  height: 60px;
  position: absolute;
  background: #fff;
  z-index: 10;
  border-radius: 50%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.quality-badge .circle i.fa {
  font-size: 2em;
  margin-top: 8px;
}

.quality-badge .ribbon {
  position: absolute;
  border-radius: 4px;
  padding: 5px 5px -4px;
  width: 100px;
  z-index: 11;
  color: #fff;
  bottom: 12px;
  left: 50%;
  margin-left: -55px;
  height: 15px;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.27);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  background: linear-gradient(to bottom right, #555 0%, #333 100%);
  cursor: default;
}

/* Description text */
.quality-block .description {
  margin-top: 0.8em;
  font-size: 0.95em;
  line-height: 1.4em;
  color: #444;
  min-height: 70px;
}

/* Colors for badges */
.yellowq {
  background: linear-gradient(to bottom right, #ffeb3b 0%, #fbc02d 100%);
  color: #ffb300;
}
.orangeq {
  background: linear-gradient(to bottom right, #ffc107 0%, #f57c00 100%);
  color: #f68401;
}
.pinkq {
  background: linear-gradient(to bottom right, #f48fb1 0%, #d81b60 100%);
  color: #dc306f;
}
.redq {
  background: linear-gradient(to bottom right, #f4511e 0%, #b71c1c 100%);
  color: #c62828;
}
.purpleq {
  background: linear-gradient(to bottom right, #ab47bc 0%, #4527a0 100%);
  color: #7127a8;
}
.tealq {
  background: linear-gradient(to bottom right, #4db6ac 0%, #00796b 100%);
  color: #34a297;
}
.blueq {
  background: linear-gradient(to bottom right, #4fc3f7 0%, #2196f3 100%);
  color: #259af3;
}
.blue-darkq {
  background: linear-gradient(to bottom right, #1976d2 0%, #283593 100%);
  color: #1c68c5;
}
.greenq {
  background: linear-gradient(to bottom right, #cddc39 0%, #8bc34a 100%);
  color: #7cb342;
}
.green-darkq {
  background: linear-gradient(to bottom right, #4caf50 0%, #1b5e20 100%);
  color: #00944a;
}
.silverq {
  background: linear-gradient(to bottom right, #e0e0e0 0%, #bdbdbd 100%);
  color: #9e9e9e;
}
.goldq {
  background: linear-gradient(to bottom right, #e6ce6a 0%, #b7892b 100%);
  color: #b7892b;
}

/* Responsive adjustments */

/* Tablets and small desktops */
@media (max-width: 900px) {
  .quality-block {
    width: 45%;
    margin-bottom: 2em;
  }
}

/* Mobile phones */
@media (max-width: 600px) {
  .quality-pair-wrapper {
    gap: 1.5em;
    padding: 0 0.5em;
  }
  
  .quality-block {
    width: 100%;
    margin-bottom: 2.5em;
  }

  .quality-badge {
    width: 5em;
    height: 7.5em;
  }
  
  .quality-badge .circle {
    width: 70px;
    height: 70px;
  }

  .quality-badge .circle i.fa {
    font-size: 2.5em;
    margin-top: 10px;
  }

  .quality-badge .ribbon {
    width: 110px;
    font-size: 15px;
    bottom: 15px;
    margin-left: -55px;
  }
}
