  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  a {
      text-decoration: none;
  }

  a:visited {
      color: none;
  }

  @font-face {
      src: url("../fonts/Heebo.woff2") format("woff2"),
          url("../fonts/Heebo.woff") format("woff");
      font-family: "Heebo";
      font-style: normal;
      font-weight: 400;
      font-display: swap;
  }

  body {
      font-family: "Heebo", sans-serif;
      -ms-word-wrap: break-word;
      word-wrap: break-word;
      font-weight: 400;
      line-height: 1.625;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      padding: 2rem;
      background-color: #f5f5f5;
      color: #333;
  }

  .container {
      width: 1200px;
      margin: 0 auto;
      position: relative;
  }

  .header {
      display: flex;
      padding: 20px 15px;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      gap: 5px;
  }

  .logo {
      transform: scale(0.8);
  }

  .ix {
      margin-top: -15px;
      color: #aaa;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-weight: bold;
  }

  .header h1 {
      color: #818181;
      text-align: center;
  }




  .content {
      display: flex;
      flex-direction: column;
      gap: 20px;

  }

  .backtomain {
      position: fixed;
      left: 120px;
      top: 50px;
      background: #01aaff;
      color: white;
      padding: 10px;
      border-radius: 30px;
      cursor: pointer;
      border: 2px solid #fff;

  }

  .backtomain:hover {
      background: #1aa6dd;

  }

  .backtomain a {
      color: white;
  }

  .backtomain a:visited {
      color: white;
  }


  .title {
      position: relative;
      padding: 0 20px 0 0;
  }

  .title:after {
      position: absolute;
      content: "";
      right: 0;
      top: 0;
      bottom: 0;
      width: 8px;
      border-radius: 2px;
      background: #0af;

  }

  .box {
      display: flex;
      background: white;
      width: 100%;
      gap: 10px;
      padding: 15px;
      border-radius: 30px;
      align-items: center;
  }

  .box span {
    font-size: 1.2rem;
    font-weight: bold;
  }

  .box>*:not(:first-child) {
      border-right: 1px solid #d2d2d2;
      padding-right: 10px;
  }


  form {
      width: 100%;
      margin: 0 auto;
      background: #fff;
      padding: 1.5rem;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      margin-top: 20px;
  }

  input,
  textarea,
  button {
      width: 100%;
      padding: 0.75rem;
      margin-top: 1rem;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      box-sizing: border-box;
  }

  button {
      color: white;

  }

  textarea {
      font-family: inherit;
      font-size: inherit;
      resize: vertical;
  }

  #myForm button {
      background-color: #0af;
      color: white;
      border: none;
      cursor: pointer;
      transition: all .5s ease;
  }

  #myForm button:hover {
      background-color: rgb(0, 110, 255);

  }

  .note {
    margin-top: 10px;
    padding: 10px;
    font-weight: bold;
    font-size: 1.1rem;
  }

  .tour-options {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin: 15px 0 5px 0;
      font-weight: bold;
  }

  .tour-btn {
      align-items: center;
      cursor: pointer;
      user-select: none;
      background: #eee;
      border-radius: 6px;
      padding: 8px 16px;
      font-weight: 500;
      transition: background-color 0.3s ease, color 0.3s ease;
      white-space: nowrap;
  }

  .tour-btn input[type="checkbox"] {
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
      margin: 0;
  }

  .tour-btn:has(input[type="checkbox"]:checked),
  .tour-btn.selected {
      background: #28c92d;
      color: white;
  }

  .tour-btn input[type="checkbox"]:checked+* {
      color: white;
  }

  button:disabled {
      background-color: #aaa;
      cursor: not-allowed;
  }

  .tour-date {
      margin-top: 8px;
      font-size: 0.9em;
      direction: rtl;
  }

  .tour-date label {
      display: block;
      margin-bottom: 4px;
  }

  .terms-container {
      margin-top: 1rem;
      font-size: 0.95rem;
      line-height: 1.5;
  }

  .terms-label {
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }

  .terms-label input[type="checkbox"] {
      width: 20px;
      height: 20px;
      margin: 0;
  }

  .terms-label a {
      color: #007bff;
      text-decoration: underline;
      cursor: pointer;
  }

  .loading-container {
      display: none;
      text-align: center;
      margin-top: 2rem;
  }

  .spinner {
      margin: 0 auto 1rem;
      border: 4px solid #eee;
      border-top: 4px solid #0af;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
  }

  @keyframes spin {
      to {
          transform: rotate(360deg);
      }
  }

  #loadingText {
      font-size: 1rem;
      opacity: 0.7;
      transition: opacity 0.5s ease;
  }


  .titletour {
      background: #01aaff;
      inline-size: max-content;
      border-radius: 30px 30px 0 0;
      padding: 15px 20px 30px 20px;
      margin-top: 20px;
      color: white;
      border: #ffffff 3px solid;
  }

  .titletour h2 {
      margin: 0;
      padding: 0;
  }

  .itemtour {
      position: relative;
      margin-top: -45px;
      display: flex;
      width: 100%;
      align-items: center;
      background: #fff;
      padding: 10px 15px 5px 15px;
      border-radius: 30px;
      gap: 20px;
  }

  .tour-image {
      transition: opacity 0.5s ease-in-out;
      opacity: 1;
  }

  .tour-image.fade-out {
      opacity: 0;
  }

  .shadowBox {
      -webkit-box-shadow: 0px 10px 13px -7px #e8e8e8, 0px 4px 8px 1px rgba(228, 228, 228, 0.22);
      box-shadow: 0px 10px 13px -7px #d1d1d1, 0px 4px 8px 1px rgba(213, 213, 213, 0.22);
  }

  .content p {
      font-size: 1.1rem;
  }

  .content img {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      margin-bottom: 10px;
  }

  .grey-bg {
      background: #efefef;
  }

  .details {
      display: flex;
      flex-direction: row;
      gap: 10px;
      align-items: flex-start;
      flex: 0 0 300px;
  }

  .icons {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      background: #efefef;
      border-radius: 30px;
      padding: 10px 10px;
      gap: 20px;
  }

  .icon {
      font-size: 25px;
      color: #2db8f0;
      text-align: center;
  }

  .texts {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 20px;
      padding-top: 15px;
  }

  .texts span {
      font-size: 16px;
      line-height: 1.5;
      text-align: right;
  }

  .buttonreg {
      position: absolute;
      width: 210px;
      height: 50px;
      left: 20px;
      top: -15px;
      text-align: center;
      background: #afafaf;
      transform: translateY(-50%);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      border-radius: 30px;
      transition: background-color 0.3s, transform 0.2s ease;
      cursor: pointer;
      user-select: none;
      padding-right: 5px;
      border: none;
  }


  .buttonreg.selected {
      background-color: #28c92d;
      transform: translateY(-50%) scale(1.03);
  }

  .modal-overlay {
      position: fixed;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.5);
      /* Semi-transparent background */
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10000;
  }

  .hidden {
      display: none !important;
  }

  .modal-box {
      background-color: white;
      padding: 2rem;
      border-radius: 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 90%;
      width: 320px;
      gap: 1rem;
      text-align: center;
  }

  .modal-message {
      color: #666;
      font-size: 1rem;
  }

  /* Close Button */
  .modal-box .close {
      position: absolute;
      top: 1rem;
      left: 1rem;
      font-size: 1.5rem;
      cursor: pointer;
  }

  .footer {
      border-top: 2px solid #ccc;
      border-radius: 30px 30px 0 0;
      margin-top: 30px;
      padding-top: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
  }

  .footer ul {
      list-style: none;

  }

  .footer ul li {
      display: inline-block;
      margin-right: 20px
  }

  .footer ul li a {
      color: #666;
      text-decoration: none;

  }

  .footer ul li a:hover {
      color: #2db8f0;
  }

  @media (max-width: 1024px) {
      .container {
          width: 100%;
          padding: 0 1rem;
      }

      .itemtour {
          flex-direction: column;
          align-items: flex-start;
          padding: 20px;
      }

      .itemtour img {
          width: 100%;
          max-width: 300px;
          height: auto;
          margin: 0 auto 15px;
      }

      .details {
          flex-direction: column;
          width: 100%;
          flex: 1;
          width: 100%;
          margin-top: 10px;
          justify-content: space-around;
      }

      .icons span:not(:last-child) {
          border-left: 1px #dcdcdc solid;
      }

      .icons,
      .texts {
          align-items: start;
          justify-content: space-around;
          flex: 1;
          text-align: center;
          gap: 10px;
          flex-direction: row;
          width: 100%;

      }

      .icons span,
      .texts span {
          width: 25%;
          display: block;
          line-height: 1;
      }

      .texts span {
          text-align: center;
      }

      .buttonreg {
          position: static;
          width: 100%;
          transform: none;
          margin-top: 10px;
      }

      .tour-btn {
          flex: 1 1 45%;
      }
  }

  @media (max-width: 768px) {
      body {
          padding: 1rem;
      }

      .titletour {
          padding: 10px 15px 25px 15px;
      }

      form {
          padding: 1rem;
      }

      input,
      textarea,
      button {
          font-size: 0.95rem;
      }

      .tour-options {
          flex-direction: column;
          align-items: flex-start;
      }

      .buttonreg.selected {
          transform: translateY(-10%) scale(1.03);
      }

      .backtomain {
          padding: 5px;
          left: 20px;
          top: 200px;
          font-size: 0.9rem;
      }

      .tour-btn {
          width: 100%;
      }

      .modal-box {
          padding: 1.5rem;
          width: 90%;
      }

      .spinner {
          width: 32px;
          height: 32px;
      }

      .footer ul li {
          display: block;
          margin: 5px 0;
      }

      .modal-content {
          width: 100%;
          padding: 1.5rem;
      }
  }

  @media (max-width: 480px) {

      h1,
      h2 {
          font-size: 1.3rem;
      }

      .header h1 {
          font-size: 1.5rem;
      }

      p,
      span,
      input,
      textarea,
      button {
          font-size: 0.9rem;
      }

      .box {
          flex-direction: column;
          align-items: flex-start;
      }

      .box p {
          border: none !important;
          font-size: 1rem;
      }

      .buttonreg {
          height: auto;
          padding: 10px;
      }


      .spinner {
          width: 30px;
          height: 30px;
      }

      .logo {
          transform: scale(0.7);
      }

      .footer {
          text-align: center;
      }
  }

  @media (hover: hover) and (pointer: fine) {
      .buttonreg:hover {
          background: #28c92d;
      }
  }