 /* Base Styles */
    body {
      font-family: Arial, sans-serif;
    }

    .media-section {
      width: 100%;
      text-align: center;
      padding: 32px 0;
      background-color: #fff;
    }

    .media-title {
      font-size: 32px;
      color: #a18d89;
      font-weight: 400;
      margin-bottom: 8px;
      letter-spacing: 0.03em;
    }

    .media-sub {
      font-size: 15px;
      color: #23272c;
      font-weight: 400;
      margin-bottom: 48px;
      letter-spacing: 0.01em;
    }

    .media-carousel-wrap {
      width: 100%;
      position: relative;
      padding: 0 90px;
      box-sizing: border-box;
      margin-top: 24px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .media-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 240px;
      height: 36px;
      border-radius: 50%;
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
      transition: background 0.15s;
    }

    .media-arrow:active {
      background: #eee;
    }

    .media-arrow-left {
      left: 24px;
    }

    .media-arrow-right {
      right: 24px;
    }

    .media-arrow svg {
      width: 28px;
      height: 28px;
      stroke: #222;
      stroke-width: 2.2;
      fill: none;
      pointer-events: none;
    }

    .media-carousel {
      width: 66vw;
      overflow: hidden;
      position: relative;
      margin: 0 auto;
      box-sizing: border-box;
      display: flex;
      align-items: flex-end;
      min-height: 200px;
    }

    .media-track {
      display: flex;
      align-items: flex-end;
      gap: 28px;
      transition: transform 0.55s cubic-bezier(.82, .09, .43, 1.01);
      will-change: transform;
      padding: 8px 0 18px 0;
    }

    .media-card {
      width: 110px;
      min-width: 110px;
      height: 210px;
      border-radius: 0;
      background: #f3f3f3;
      box-shadow: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      position: relative;
      opacity: 0.44;
      transition: opacity 0.22s cubic-bezier(.63, .02, .51, 1), transform 0.22s cubic-bezier(.66, .2, .36, 1.16);
      overflow: hidden;
      cursor: pointer;
      z-index: 1;
    }

    .media-card:hover,
    .media-card:focus {
      opacity: 1 !important;
      z-index: 2;
    }

    .media-card img {
      width: 100%;
      height: 120px;
      object-fit: cover;
      display: block;
      border-radius: 0;
      pointer-events: none;
      user-select: none;
    }

    .media-card .info {
      width: 100%;
      text-align: center;
      padding-top: 6px;
    }

    .media-card .name {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 2px;
    }

    .media-card .title {
      font-size: 11px;
      color: #555;
    }

    /* Responsive Styles */
    @media (max-width: 1250px) {
      .media-carousel {
        max-width: 900px;
      }

      .media-card {
        width: 90px;
        min-width: 90px;
        height: 170px;
      }

      .media-card img {
        height: 90px;
      }

      .media-track {
        gap: 18px;
      }
    }

    /* Updated Mobile View */
    @media (max-width: 900px) {
      .media-carousel-wrap {
        padding: 0 40px;
        /* Adjust padding to make space for smaller arrows */
      }

      .media-carousel {
        width: 90vw;
        /* Take up more of the viewport */
        min-height: 150px;
      }

      .media-title {
        font-size: 2rem;
      }

      .media-sub {
        font-size: 14px;
      }

      .media-card {
        width: 120px;
        min-width: 120px;
        height: 200px;
        /* Increase card size */
      }

      .media-card img {
        height: 120px;
        /* Increase image size */
      }

      .media-card .name {
        font-size: 15px;
      }

      .media-card .title {
        font-size: 13px;
      }

      .media-arrow {
        width: 40px;
        height: 36px;
      }

      .media-arrow svg {
        width: 24px;
        height: 24px;
      }

      .media-arrow-left {
        left: 5px;
      }

      .media-arrow-right {
        right: 5px;
      }

      .media-track {
        gap: 15px;
      }
    }

    /* Even Smaller Mobile View */
    @media (max-width: 550px) {
      .media-carousel-wrap {
        padding: 0 20px;
      }

      .media-carousel {
        min-height: 120px;
      }

      .media-title {
        font-size: 1.5rem;
      }

      .media-sub {
        font-size: 12px;
      }

      .media-card {
        width: 100px;
        min-width: 100px;
        height: 180px;
      }

      .media-card img {
        height: 100px;
      }

      .media-card .name {
        font-size: 14px;
      }

      .media-card .title {
        font-size: 12px;
      }

      .media-arrow {
        width: 25px;
        height: 25px;
      }

      .media-arrow svg {
        width: 16px;
        height: 16px;
      }

      .media-arrow-left {
        left: 0px;
      }

      .media-arrow-right {
        right: 0px;
      }
    }

    /* Modal Styles */
    #profileModal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.32);
      z-index: 9999;
      align-items: center;
      justify-content: center;
    }

    #profileModalContent {
      background: #fff;
      border-radius: 18px;
      padding: 28px 30px 30px 30px;
      min-width: 300px;
      max-width: 90%;
      /* Adjust max-width for mobile */
      box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      animation: popin 0.24s cubic-bezier(.6, 1.7, .32, 1.17);
      box-sizing: border-box;
      /* Ensures padding is included in width */
    }

    @keyframes popin {
      from {
        transform: scale(0.88);
        opacity: 0;
      }

      to {
        transform: scale(1);
        opacity: 1;
      }
    }

    #profileModalContent button {
      position: absolute;
      top: 10px;
      right: 12px;
      border: none;
      background: none;
      font-size: 1.7rem;
      color: #888;
      cursor: pointer;
      transition: color 0.15s;
    }

    #profileModalContent button:hover {
      color: #333;
    }

    #profileModal img {
      width: 88px;
      height: 88px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid #f5f5f5;
      margin-bottom: 16px;
    }

    #profileModalContent .line {
      width: 48px;
      height: 3px;
      background: #203164;
      margin: 12px 0 8px 0;
      border-radius: 2px;
    }

    #profileModalContent .section-row {
      display: flex;
      justify-content: center;
      width: 100%;
      margin-top: 12px;
      gap: 22px;
      flex-wrap: wrap;
    }

    #profileModalContent .section-col {
      min-width: 120px;
    }

    #profileModalContent ul {
      list-style: none;
      padding-left: 0;
      color: #333;
      font-size: 0.98rem;
      margin: 0;
      text-align: left;
      /* Aligns list items */
    }

    #profileModalContent ul li {
      margin-bottom: 2px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    #profileModalContent ul li::before {
      content: "✔";
      color: #203164;
      font-size: 0.96em;
      margin-right: 5px;
    }

    /* Small screen modal adjustments */
    @media (max-width: 480px) {
      #profileModalContent {
        padding: 20px;
        max-width: 95%;
      }

      #profileModal img {
        width: 70px;
        height: 70px;
      }

      #modalName {
        font-size: 1.1rem !important;
      }

      #modalTitle,
      #modalDetails,
      #profileModalContent ul {
        font-size: 0.9rem !important;
      }
    }