/* Resets & Global */
* {
  box-sizing: border-box;
  margin: 0; }

h1,
h2,
h3 {
  font-weight: 600; }

ul {
  padding: 0; }

li {
  list-style: none; }

/* END: Resets & Global */
/* Valriables */
/* END: Valriables */
body {
  background: #f4f4f4;
  color: #111;
  font-family: "Montserrat", Arial, sans-serif;
  min-height: 100vh; }

.container {
  display: flex;
  align-items: space-around;
  justify-content: space-evenly; }

.card {
  width: 800px;
  margin-top: 100px;
  max-width: calc(100% - 30px);
  overflow: hidden;
  display: flex;
  color: white;
  background: #000629;
  box-shadow: 0 10px 15px #464667;
  border-radius: 6px; }
  .card__image {
    flex: 1;
    width: 50%;
    padding-top: 50%;
    display: inline-block;
    background-image: url("./profi.png");
    background-size: cover;
    background-position: 40% 50%; }
  .card__info {
    flex: 1;
    width: 50%;
    vertical-align: middle;
    align-items: center;
    background: #000629;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    height: 100%;
    align-self: center; }
    .card__info h1 {
      font-size: 40px;
      margin: 0;
      margin-bottom: 10px; }
    .card__info h2 {
      font-weight: 400;
      font-size: 24px;
      margin-bottom: 10px; }
  .card__info-container {
    margin: 32px; }
  .card__pills label {
    color: #111;
    background-color: #fff;
    list-style: none;
    display: inline-block;
    border-radius: 15px;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    margin-right: 5px;
    text-transform: uppercase;
    transition: 0.2s ease all;
    font-size: 12px;
    font-weight: 800;
    vertical-align: middle;
    cursor: pointer; }
    .card__pills label:hover {
      color: #0019a9;
      transform: translateY(-2px); }
  .card__links {
    margin-top: 10px; }
    .card__links a {
      color: white;
      padding: 5px;
      transition: 0.4s ease all;
      display: inline-block;
      text-decoration: none;
      font-size: 14px; }
      .card__links a.social-link {
        font-size: 20px; }
  @media (max-width: 767px) {
    .card {
      position: absolute;
      margin: 0 auto;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      display: block; }
      .card__image {
        padding-top: 75%; }
      .card__info {
        text-align: center; }
      .card__image, .card__info {
        flex: 0;
        width: 100%;
        height: auto; }
      .card__pills {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap; }
        .card__pills label {
          width: calc(50% - 15px);
          text-align: center;
          margin-top: 14px; }
      .card__links {
        text-align: center;
        margin-top: 10px; }
        .card__links a {
          font-size: 18px; }
      .card__social-icons {
        display: flex;
        justify-content: space-between; }
        .card__social-icons a.social-link {
          font-size: 28px;
          margin: 10px; }
      .card__info-container {
        margin: 18px; } }

.radio-box__input {
  display: none; }

.radio-box__info {
  position: absolute;
  width: 50%;
  left: -100%;
  transition: 0.4s ease left;
  background: #ededed;
  color: #000629;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  height: 100%;
  z-index: 1; }
  .radio-box__info p {
    margin: 1em 0; }

.radio-box__info--default {
  display: none; }

.radio-box__input:checked + .radio-box__info {
  left: 0; }

.radio-box__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: 0.3s ease all; }
  .radio-box__close:hover {
    box-shadow: 2px 2px 2px inset rgba(50, 50, 50, 0.23), -2px -2px 2px inset white; }
  .radio-box__close:before, .radio-box__close:after {
    position: absolute;
    transform: rotate(45deg);
    content: "";
    display: block;
    width: 16px;
    height: 1px;
    background: #111;
    top: 50%;
    left: 4px; }
  .radio-box__close:after {
    transform: rotate(-45deg); }

  .authority-section {
    position: relative;
    margin-top: calc(100px);
    padding: 0 15px 40px;
    color: #1d2235; }

  .authority-section__inner {
    width: 800px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    background: linear-gradient(170deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid #d8deef;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(17, 34, 84, 0.12);
    padding: 24px; }

  .authority-lead {
    font-size: 18px;
    line-height: 1.55;
    max-width: 65ch;
    margin-bottom: 16px; }

  .authority-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 0 18px; }

  .authority-highlights li {
    list-style: none;
    background: #e9eefc;
    border: 1px solid #cfd9f7;
    color: #0c1e66;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px; }

  .experience-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 8px; }

  .experience-item {
    margin: 0;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #dbe3fa;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 38, 110, 0.06); }

  .experience-item--lead {
    background: #eefbf1;
    border-color: #ccebd3;
    box-shadow: 0 4px 12px rgba(19, 96, 39, 0.08); }

  .experience-item__year {
    margin: 0 0 4px;
    font-weight: 800;
    color: #0025cc;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase; }

  .experience-item__role {
    margin: 0 0 6px;
    font-weight: 700;
    color: #17234f;
    line-height: 1.4; }

  .experience-item__stack {
    margin: 0;
    color: #3d4f88;
    font-size: 13px;
    line-height: 1.4; }

  .teaching-panel {
    border-left: 4px solid #0f2fc9;
    background: #eff4ff;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px; }

  .teaching-panel p:last-child {
    margin-bottom: 0; }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; }

  .product-card {
    background: #ffffff;
    border: 1px solid #dbe3fa;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(16, 38, 110, 0.06); }

  .product-card h4 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #101f53; }

  .product-card p {
    margin-bottom: 8px; }

  .authority-section h2,
  .authority-section h3 {
    color: #000629;
    margin-bottom: 10px; }

  .authority-section h3 {
    margin-top: 18px; }

  .authority-section p {
    line-height: 1.6;
    margin-bottom: 10px; }

  .authority-section a {
    color: #0025cc;
    text-decoration: none;
    font-weight: 700; }

  .authority-section a:hover {
    text-decoration: underline; }

@media (max-width: 768px) {
  .radio-box__info {
      width: 100%; }
    .authority-section {
      margin-top: calc(100vh + 15px);
      padding-bottom: 20px; }
    .authority-section__inner {
      padding: 18px; }
    .authority-lead {
      font-size: 16px; }
    .experience-list,
    .products-grid {
      grid-template-columns: 1fr; }
    .authority-highlights li {
      width: 100%;
      border-radius: 10px; } }
