* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}

body {
     font-family: "Inter", sans-serif;
     padding-top: 120px;
     background-color: #000;
}

.header {
     width: 100%;
     position: relative;
}

.headerbody {
     display: flex;
     justify-content: space-between;
     align-items: center;
}

.header {
     width: 100%;
     display: flex;
     justify-content: center;
     background: black;
     position: fixed;
     top: 0;
     z-index: 1000;
}

.headerbody {
     width: 60%;
     height: 120px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     position: relative;
}

.logo-1 img {
     height: 120px;
}

.burger {
     cursor: pointer;
     display: flex;
     flex-direction: column;
     gap: 5px;
}

.burger span {
     width: 25px;
     height: 3px;
     background: #fff;
     color: #fff;
     display: block;
}

.links {
     position: absolute;
     top: 100%;
     left: 0;
     width: 100%;
     display: flex;
     justify-content: center;
     gap: 30px;
     background: white;
     padding: 15px 0;
     opacity: 0;
     transform: translateY(-10px);
     pointer-events: none;
     transition: all 0.3s ease;
}

.links.active {
     opacity: 1;
     transform: translateY(0);
     pointer-events: auto;
     background-color: #000;
}

.links a {
     text-decoration: none;
     color: #fff;
     font-weight: 500;
}

.training-section {
     width: 100%;
     background: #000;
     display: flex;
     justify-content: center;
     padding: 70px 0;
}

.training-wrapper {
     width: 60%;
     display: flex;
     flex-direction: column;
     gap: 28px;
}

.training-card {
     min-height: 300px;
     background: #111;
     border-radius: 22px;
     overflow: hidden;
     display: grid;
     grid-template-columns: 42% 58%;
     transition: .35s ease;
}

.training-card:hover {
     transform: translateY(-6px);
     box-shadow: 0 25px 45px rgba(255, 255, 255, 0.07);
}

.training-image {
     height: 100%;
}

.training-image img {
     width: 100%;
     filter: brightness(0.8);
     height: 400px;
     object-fit: cover;
}

.training-content {
     padding: 34px;
     display: flex;
     flex-direction: column;
     justify-content: center;
}

.training-content h3 {
     color: #fff;
     font-size: 28px;
     margin-bottom: 16px;
}

.training-content p {
     color: #cfcfcf;
     font-size: 15px;
     line-height: 1.8;
     margin-bottom: 24px;
}

.training-content a {
     width: fit-content;
     padding: 13px 22px;
     background: gray;
     color: #fff;
     text-decoration: none;
     border-radius: 12px;
     font-size: 14px;
     font-weight: 700;
     transition: .3s;
}

.training-content a:hover {
     transform: scale(1.05);
}

.custom-footer {
     width: 100%;
     background-color: #000;
     color: #fff;
     display: flex;
     justify-content: center;
}

.footer-container {
     width: 60%;
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 30px;
}

.footer-column h3 {
     margin-bottom: 15px;
     font-size: 18px;
     text-transform: uppercase;
     color: #fff;
}

.footer-column ul {
     list-style: none;
     padding: 0;
}

.footer-column ul li {
     margin-bottom: 10px;
     font-size: 13px;
}

.footer-column ul li a {
     margin-bottom: 10px;
     color: #fff;
     text-decoration: none;
     transition: color 0.3s ease;
     cursor: pointer;
     font-size: 13px
}

.footer-column ul li a:hover {
     color: gray;
}

.footer-column p.footer-title {
     font-family: "Michroma", sans-serif;
     font-weight: 400;
     font-style: normal;
     font-size: 18px;
     display: flex;
     justify-content: right;
}

.footer-finish {
     padding: 20px 0px;
     width: 100%;
     height: auto;
     text-align: center;
     color: #fff;
     background-color: #000;
     font-size: 12px;
}

@media (max-width: 1600px) {

     .headerbody,
     .training-wrapper,
     .footer-container {
          width: 75%;
     }

}

@media (max-width: 1400px) {

     .training-wrapper,
     .footer-container,
     .headerbody {
          width: 75%;
     }
}

@media (max-width: 1200px) {

     .training-wrapper,
     .footer-container,
     .headerbody {
          width: 90%;
     }

     .training-card {
          grid-template-columns: 45% 55%;
     }
}

@media (max-width: 992px) {

     .training-card {
          grid-template-columns: 1fr;
     }

     .training-image img {
          height: 300px;
     }

     .training-content {
          text-align: center;
          align-items: center;
     }

     .training-content a {
          margin: 0 auto;
     }

     .links {
          gap: 25px;
     }
}

@media (max-width: 768px) {

     .training-wrapper {
          width: 90%;
     }

     .training-content h3 {
          font-size: 22px;
     }

     .training-content p {
          font-size: 14px;
     }

     .training-image img {
          height: 250px;
     }

     .footer-column p.footer-title {
          justify-content: left;
     }

     .headerbody {
          height: 100px;
     }

     .logo-1 img {
          height: 100px;
     }

     body {
          padding-top: 100px;
     }

     .footer-container {
          grid-template-columns: 1fr;
     }

     .links {
          gap: 15px;
     }

}

@media (max-width: 576px) {

     .training-content {
          padding: 22px;
     }

     .training-content h3 {
          font-size: 20px;
     }

     .training-content p {
          font-size: 13px;
     }

     .training-content a {
          width: 100%;
          text-align: center;
     }

          .links {
          display: flex;
          flex-direction: column;
          align-items: left;
          padding-left: 30px
     }

     .links a {
          gap: 20px;
     }
}