main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 290px;
  background: #f3f3f3;
  overflow: hidden;
}

.picture .title-picture {
  width: 1860px;
  height: auto;
  display: block;
}

.main-content {
  max-width: 1200px;
  width: 90%;
  padding-top: 50px;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
}

.main-content2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 30px;
}

.main-content3 {
  max-width: 1200px;
  width: 90%;
  padding-top: 50px;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
}

.profile-link {
  color: #51b9ea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.profile-link:hover {
  color: #004499;
}

.profile-link:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
  border-radius: 2px;
}

.left-side {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  padding-right: 40px;
  width: 70%;
}

.right-side {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  padding-right: 30px;
  width: 30%;
}

h1 {
  color: black;
  font-family: "Roboto", Sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
}

h2 {
  font-size: 38px;
  color: #51b9ea;
}

h3 {
  font-size: 30px;
  color: black;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  hyphens: auto;
  overflow-wrap: break-word;
}

p {
  font-size: 19px;
  padding-left: 5px;
  padding-right: 5px;
}

li {
  font-size: 19px;
}

.blue {
  color: #51b9ea;
  font-weight: 550;
}

.gray {
  color: gray;
}

.contact-button {
  display: inline-block;
  margin-top: 50px;
  background-color: #e30613;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  height: 60px;
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.rows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.row {
  position: relative;
  padding: 10px 66px;
  background: rgba(255, 255, 255, 0.02);
  gap: 20px;
  max-width: 1300px;
  width: 100%;
}

.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.row-header h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}
.row-header .count {
  color: var(--muted);
  font-size: 0.9rem;
}

.track {
  display: flex;
  gap: var(--gap);
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  max-height: 500px;
}

.track::-webkit-scrollbar {
  display: none;
}

.card,
.card1,
.card2 {
  flex: 0 0 auto;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: white;
  padding: 0 20px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.card1:hover,
.card2:hover {
  transform: scale(1.02);
}

.card {
  width: calc((100% - 2 * var(--gap, 20px)) / 3);
  min-width: 310px;
  max-width: 400px;
  height: auto;
}

.card1 {
  width: calc((100% - 2 * var(--gap, 20px)) / 3);
  min-width: 310px;
  max-width: 400px;
  height: auto;
}

.card2 {
  width: calc((100% - 2 * var(--gap, 20px)) / 3);
  min-width: 310px;
  max-width: 400px;
  height: auto;
}

.card img,
.card1 img,
.card2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certificate-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #51baeb;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

.certificate-modal.active {
  opacity: 1;
  visibility: visible;
}

.certificate-modal img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  background: white;
  padding: 20px;
  cursor: default;
  animation: modalZoom 0.3s ease;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #333;
  font-weight: bold;
}

.modal-nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.modal-prev {
  left: 40px;
}

.modal-next {
  right: 40px;
}

.btn-arrow {
  --size: 36px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  border: none;
  background: #51baeb;
  color: #e6eef6;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  transition: transform 0.12s ease, background 0.12s;
}
.btn-arrow:active {
  transform: translateY(-50%) scale(0.96);
}
.btn-arrow[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.btn-left {
  left: 10px;
}
.btn-right {
  right: 10px;
}

.arrow {
  width: 14px;
  height: 14px;
  display: block;
  transform: translateX(0);
}

@media (max-width: 1450px) {
  .row {
    width: 700px;
  }
}

@media (max-width: 1200px) {
  .picture {
    width: 100%;
    height: 272px;
  }

  .picture .title-picture {
    width: 1760px;
  }

  .left-side {
    width: 600px;
  }

  .right-side {
    width: 300px;
  }
}

@media (max-width: 1120px) {
  .picture {
    width: 100%;
    height: 260px;
  }

  .picture .title-picture {
    width: 1670px;
  }
}

@media (max-width: 1060px) {
  .picture {
    width: 100%;
    height: 240px;
  }

  .picture .title-picture {
    width: 1570px;
  }

  .main-content {
    height: 550px;
    height: 950px;
  }

  .left-side {
    width: 550px;
  }

  .right-side {
    width: 300px;
  }

  h1,
  h2 {
    font-size: 34px;
  }
}

@media (max-width: 1015px) {
  .picture {
    width: 100%;
    height: 220px;
  }

  .picture .title-picture {
    width: 1470px;
  }

  .left-side {
    width: 530px;
    padding-right: 20px;
  }

  .right-side {
    width: 280px;
    padding-left: 20px;
  }

  h1,
  h2 {
    font-size: 32px;
  }
}

@media (max-width: 986px) {
  .main-content {
    height: 970px;
  }
}

@media (max-width: 973px) {
  .main-content {
    height: 990px;
  }
}

@media (max-width: 966px) {
  .main-content {
    height: 1010px;
  }
}

@media (max-width: 935px) {
  .picture {
    width: 100%;
    height: 210px;
  }

  .picture .title-picture {
    width: 1370px;
  }

  .left-side {
    width: 530px;
    padding-right: 10px;
  }

  .right-side {
    width: 280px;
    padding-left: 10px;
  }

  .right-foot {
    display: none;
  }

  h1,
  h2 {
    font-size: 30px;
  }
}

@media (max-width: 875px) {
  .picture {
    width: 100%;
    height: 194px;
  }

  .picture .title-picture {
    width: 570px;
  }

  .main-content {
    height: 1020px;
  }

  .left-side {
    width: 480px;
  }

  .right-side {
    width: 280px;
  }

  h1,
  h2 {
    font-size: 28px;
  }

  .certificate-modal img {
    max-width: 90%;
    max-height: 85vh;
    padding: 10px;
  }
}

@media (max-width: 850px) {
  .row {
    width: 350px;
  }

  .main-content {
    height: 1040px;
  }
}

@media (max-width: 815px) {
  .picture {
    width: 100%;
    height: 177px;
  }

  .picture .title-picture {
    width: 1170px;
  }

  .left-side {
    width: 430px;
  }

  .right-side {
    width: 280px;
  }

  .certificate-modal img {
    max-width: 70%;
    max-height: 85vh;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .modal-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }

  @keyframes modalZoom {
    from {
      transform: scale(0.8);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }

  .btn-arrow {
    --size: 36px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    border: none;
    background: #51baeb;
    color: #e6eef6;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    transition: transform 0.12s ease, background 0.12s;
  }
  .btn-arrow:active {
    transform: translateY(-50%) scale(0.96);
  }
  .btn-arrow[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
  }
  .btn-left {
    left: 10px;
  }
  .btn-right {
    right: 10px;
  }

  .arrow {
    width: 14px;
    height: 14px;
    display: block;
    transform: translateX(0);
  }

  .main-content {
    height: 1040px;
    width: 95%;
    padding-top: 50px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .left-side {
    width: 700px;
  }

  .right-side {
    width: 700px;
    display: flex;
    align-items: center;
  }

  .contact-button {
    margin-top: 10px;
  }

  h2 {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  h3 {
    text-align: center;
  }

  .picture .title-picture {
    width: 1470px;
  }

  .certificate-modal img {
    max-width: 70%;
    max-height: 85vh;
    padding: 10px;
  }
}

@media (max-width: 732px) {
  .main-content {
    height: 1060px;
  }
}

@media (max-width: 670px) {
  .main-content {
    height: 1090px;
  }
}

@media (max-width: 643px) {
  .main-content {
    height: 1110px;
  }
}

@media (max-width: 596px) {
  .main-content {
    height: 1140px;
  }
}

@media (max-width: 589px) {
  .main-content {
    height: 1210px;
  }
}

@media (max-width: 580px) {
  .left-side {
    width: 500px;
  }
}

@media (max-width: 571px) {
  .main-content {
    height: 1230px;
  }
}

@media (max-width: 534px) {
  .main-content {
    height: 1260px;
  }
}

@media (max-width: 503px) {
  .main-content {
    height: 1280px;
  }
}

@media (max-width: 500px) {
  .row {
    width: 300px;
  }

  .card {
    min-width: 260px;
  }

  .card1 {
    min-width: 260px;
  }

  .card2 {
    min-width: 260px;
  }
}

@media (max-width: 497px) {
  .main-content {
    height: 1310px;
  }
}

@media (max-width: 490px) {
  .main-content {
    height: 1330px;
  }
}

@media (max-width: 462px) {
  .main-content {
    height: 1350px;
  }

  .certificate-modal img {
    max-width: 90%;
    max-height: 85vh;
    padding: 10px;
  }
}

@media (max-width: 450px) {
  .row {
    width: 250px;
  }

  .card {
    min-width: 210px;
  }

  .card1 {
    min-width: 210px;
  }

  .card2 {
    min-width: 210px;
  }
}

@media (max-width: 438px) {
  .main-content {
    height: 1410px;
  }
}

@media (max-width: 422px) {
  .main-content {
    height: 1460px;
  }
}

@media (max-width: 404px) {
  .main-content {
    height: 1490px;
  }
}

@media (max-width: 400px) {
  .row {
    width: 200px;
  }

  .card {
    min-width: 160px;
  }

  .card1 {
    min-width: 160px;
  }

  .card2 {
    min-width: 160px;
  }
}

@media (max-width: 394px) {
  .main-content {
    height: 1510px;
  }
}



@media (max-width: 366px) {
  .main-content {
    height: 1600px;
  }
}

@media (max-width: 360px) {
  .main-content {
    height: 1620px;
  }
}

@media (max-width: 349px) {
  .main-content {
    height: 1650px;
  }
}

@media (max-width: 336px) {
  .main-content {
    height: 1690px;
  }
}
