@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-VariableFont_wdth\,wght.ttf') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('woff2');
  font-weight: 400;
  font-style: normal;
}

html, body {
  max-width: 100%;
  margin: 0;
  font-family: 'roboto' , 'IBM Plex Sans Arabic', sans-serif;
  direction: rtl;
  overflow-x: hidden;
  box-sizing: border-box;
}

header {
  background-color: #fff;
  padding: 15px 0;
  position: relative;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 50px;
}

.logs {
  display: flex;
  gap: 25px;
}

.header-logo {
  flex: 1; 
  display: flex;
  justify-content: center;
}

.header-btn .ticket {
  background: #b55412;
  padding: 8px 20px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 15px;
  cursor: pointer;
  color: white;
  border: none;
  transition: 0.3s;
}

.header-btn .ticket:hover {
  background: #a14e00;
}

nav ul {
  border-radius: 10px;
  background-color: #b55412;
  box-shadow: 0px 8px 3px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 10px;
  margin: 20px auto;
  max-width: 600px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
  color: black;
}

.trap {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(45deg, #ffcd73, #fcb661, #faa653, #f68d3e);
  color: #4a2c1a;
  background-size: 200% 200%;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  margin-top: 20px;
}

.trap .inner {
  display: inline-flex;
  align-items: center;
  gap: 80px; 
  animation: scroll 15s linear infinite;
}

.trap .loca,
.trap .clock,
.trap .bus,
.trap .visited,
.trap .open{
  gap: 5px;
  display: flex;
  align-items: center;
  text-align: center;
}
.trap i {
  color:black;
  margin-left: 6px;
}

@keyframes scroll {
  100% {
    transform: translateX(110%); 
  }
  0% {
    transform: translateX(-105%); 
  }
}

form {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 0;
  background-color: #fff7f3;
  border-radius: 20px;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.field-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.field-column {
  flex: 1;
  min-width: 250px;
}


.name-inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.name-inputs input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input:focus {
  border-color: #e06623;
  box-shadow: 0 0 6px rgba(224, 102, 35, 0.5);
  transition: all 0.3s ease;
}

input[type="text"]
{
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-left: 5px;
}

input[type="tel"]
{
  width: 95%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding-left: 10px
}

input[type="email"]{
  width: 98%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding-left: 10px
}

input:hover {
  border-color: #e0a062;
  box-shadow: 0 2px 8px rgba(224, 102, 35, 0.2);
}

.work-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #b55412;
  color: white;
  padding: 0px 20px;
  border-radius: 10px;
  margin: 20px 0;
  font-size: 14px;
}

.checkbox-wrapper {
  display: flex;
  justify-content: space-between;
  direction: rtl; 
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  margin: 20px 0;
}

.checkbox-ar {
  display: grid;
  flex-direction: column;
  grid-template-columns: repeat(2,1fr);
  gap: 10px 20px;
  width: 45%;
  text-align: right;
  order: 1; 
}

.checkbox-en {
  display: grid;
  flex-direction: column;
  grid-template-columns: repeat(2,1fr);
  gap: 10px 20px;
  width: 45%;
  text-align: left;
  order: 2; 
}

.checkbox-ar label,
.checkbox-en label {
  display: flex;
  align-items: center;
  font-size: 13px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.checkbox-ar label:hover,
.checkbox-en label:hover {
  background-color: #fff2eb;
  transform: scale(1.02);
}

.write input {
  width: 98%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
}


.submit-buttons {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.submit-buttons button {
  background-color: #b55412;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.submit-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(180, 150, 100, 0.25);
}

.english {
  direction: ltr;
  text-align: left;
}

input, button, label {
  transition: all 0.3s ease;
}

.motex-footer {
  background-color: #2A1510;
  padding: 40px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.header-cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  width: 350px;
  height: 80px;
}

.top-button button {
  background-color: #b55412;
  color: white;
  border: none;
  padding: 14px 35px;
  font-size: 18px;
  border-radius: 25px;
  cursor: pointer;
  margin-bottom: 30px;
}

.top-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.top-logos img {
  max-height: 60px;
}

.event-date {
  font-size: 20px;
  margin-bottom: 40px;
}

.event-date h2 {
  font-size: 28px;
  margin: 5px 0;
}
.ticket1 {
  background: #b55412;
  padding: 10px 40px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  color: white;
  border: none  ;
  margin-left: 100px;
  animation: pulse 2s infinite;
}

.columns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  text-align: right;
  margin-top: 90px;
  color: white;
  margin-right: 50px;
  flex: 0 1 250px;
  padding: 0 20px; 
}

.column:not(:last-child) {
  border-left: 1px solid white; 
} 

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.ticket1:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 15px rgba(180, 150, 100, 0.25);
}

.column {
  flex: 0 1 250px;
}
.column h4{
  font-size: 24px;
  margin-bottom: 15px;
}

.column h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.column p {
  font-size: 18px;
  margin: 6px 0;
}

.columns a {
  color: inherit; 
  text-decoration: none; 
  cursor: pointer; 
}

.columns a:hover {
  text-decoration: underline; 
  color: #e06623; 
}

.copyright {
  margin-top: 40px;
  font-size: 14px;
  color: #ccc;
  text-align: center;
}
.date h2{
  color: white;
  margin-top: 30px;
  margin-right: 60px;
}

.icons {
  display: flex;
  flex-direction: column; 
  gap: 10px; 
}

.icons a {
  color: white;
  font-size: 18px; 
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px; 
  white-space: nowrap; 
}

.icons a:hover {
  color: #e06623;
}

.icons a i {
  font-size: 24px; 
}

@media screen and (max-width: 768px) {

  .checkbox-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
  }


  .field-row {
    flex-direction: column;
  }

  .work-title {
    text-align: center;
  }

  .submit-buttons {
    align-items: center;
  }

  .logs {
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 480px) {
    .header-container {
    flex-direction: column;  
    align-items: center;
    margin: 0 15px;
    gap: 15px;
  }

  .header-logo img {
    width: 200px;   
    height: auto;
  }

  .header-btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .header-btn .ticket {
    width: 60%;  
    font-size: 16px;
  }

  .logs {
    gap: 15px;
    flex-wrap: wrap; 
    justify-content: center;
  }

  .logs img {
    width: 35px;
    height: 35px;
  }

  .trap{
    margin-top: 80px;
  }

  .copyright {
    font-size: 14px;
    margin-top: 30px;
  }

  @keyframes scroll-mobile {
    100%   { transform: translateX(100%); }
    0% { transform: translateX(-50%); }
  }

  .trap .inner {
    animation: scroll-mobile 10s linear infinite;
  }

  .trap p {
    font-size: 16px; 
  }

  .trap i {
    font-size: 16px; 
  }

  form{
    margin-top: -50px;
  }

  .work-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #b55412;
    color: white;
    padding: 0px 20px;border-radius: 10px;
    margin: 20px -15px;
    font-size: 13px;
  }
  
  .logs {
    position: absolute;
    margin-top: 120px;
    margin-right: 20px ;
  }
  
  .logs a {
    display: inline-block;
    margin-left: 5px;
  }
  
  .logs img {
    vertical-align: middle;
  }

  nav ul{
    border-radius: 10px;
    background-color: #b55412;
    box-shadow: 0px 8px 3px rgba(0, 0, 0, 0.1);
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    margin: 80px auto;
    max-width: 600px;
    font-size: 14px;
    margin-top: 10px;
  }

  .checkbox-wrapper {
    justify-content: center !important; 
    padding: 0 10px;
    margin: 10px auto !important; 
    gap: 10px;
  }

  .checkbox-ar,
  .checkbox-en {
    width: 48% !important; 
    grid-template-columns: 1fr 1fr; 
  }

  .motex-footer {
    padding: 20px 10px;
  }

  .header-cont {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .logo img {
    margin-right: 35px !important; 
    max-width: 80%;
    height: auto;
  }

  .button-wrapper {
    margin-left: 0 !important;
  }
  
  .ticket1{
    margin-right: 100px;
  }

  .date h2 {
    font-size: 16px;
    margin-right: 0 !important;
    text-align: center;
  }

  .columns {
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
  }

  .column {
    flex: none;
    width: 70%;
    border: none;
    padding: 10px 0;
    position: relative; border-right: none !important;
    border-left: none !important;
    
  }

  .column:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white; 
  }

  .column h4 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .column p, .column a {
    font-size: 16px;
  }

.icons {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    gap: 10px; 
  }

  .icons a {
    display: flex;
    align-items: center;
    color: white; 
    font-size: 16px;
    text-decoration: none;
    gap: 8px; 
    position: relative;
    left: 25px;
  }

  .icons a i {
    font-size: 20px; 
    color: white;
  }
}