
*, *::before, *::after { box-sizing: border-box; padding: 0; margin: 0; border: 0;}
.center {text-align: center;}
.centerBlock { display: block; margin-left: auto; margin-right: auto; background-size: contain;}
.fit { padding: 2rem; max-width: 100%; height: auto; display: block;}
.secondary { color: gray;}
.padding { padding: 1rem;}
.paddingHorizontal { padding-left: 1rem; padding-right: 1rem;}
.btn{ cursor: pointer; background-color: #000000; color: #ffffff; font-size: large; border-radius: 2rem; padding: .5rem; padding-right: 4rem; padding-left: 4rem;}
.btn2 {cursor: pointer; background-color: #25D366; color: #ffffff; font-size: large; border-radius: 2rem; padding: .5rem; padding-right: 4rem; padding-left: 4rem; }
.bold { font-weight: bolder;}
.card { max-width: fit-content; margin-inline: auto; }
.card2 { max-width: fit-content; margin-inline: auto; min-width: 300px; min-height: 200px; border-radius: 1rem; }
.vertical { display: flex; align-items: center; gap: 1rem;}
.responsive-img {
  max-width: 600px;   /* Never exceed 600px */
  width: 100%;        /* Scale down if screen < 600px */
  height: auto;       /* Maintain aspect ratio */
  display: block;     /* Remove inline spacing */
  margin: 0 auto;     /* Center horizontally */
  padding: 2rem;
}
footer{ display: flex; justify-content: space-between; background-color: #222; color: #ffffff; padding: 1rem; }
footer a{ text-decoration: none; color: #ffffff; }
.rounded { border-radius: 3rem;}
.secondaryBox {
   background-color: rgba(128, 128, 128, 0.05); border-radius: 1rem;
   
   max-width: 500px;   /* Never exceed 600px */
   width: 100%;        /* Scale down if screen < 600px */


   margin: 1rem;
  }
.container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  margin: 0; /* Removes default body margin */
}

.astyle {
  text-decoration: none; background-color: #000000; color: #ffffff; font-size: large; border-radius: 2rem; padding: .5rem; padding-right: 4rem; padding-left: 4rem; 
}
.astyle2 {
  text-decoration: none; background-color: #25D366; color: #ffffff; font-size: large; border-radius: 2rem; padding: .5rem; padding-right: 4rem; padding-left: 4rem; 
}
a { cursor: pointer;}

@font-face {
  font-family: 'Noto Sans Arabic';
  src: url('./NotoSansArabic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Noto Sans Arabic Bold';
  src: url('./NotoSansArabic-Bold.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
.noto {
  font-family: 'Noto Sans Arabic', sans-serif;
}
.notoBold {
  font-family: 'Noto Sans Arabic Bold', sans-serif;
}


.green{
  color: #009879;
}

@keyframes subtleFlip {
    0% {
      opacity: 0;
      transform: perspective(500px) rotateX(15deg) scale(0.95);
    }
    100% {
      opacity: 1;
      transform: perspective(500px) rotateX(0deg) scale(1);
    }
  }
  
  /* Apply animation only once on load */
  .flip-image {
    opacity: 0; /* Start hidden */
    animation: subtleFlip 1.0s ease-out 0.1s forwards;
  }

  details {
  width: 80%;
  margin: 0 auto ;
  background: rgba(128, 128, 128, 0.05);
  margin-bottom: .5rem;
  box-shadow: 0 .1rem 1rem -.5rem rgba(0,0,0,.4);
  border-radius: 5px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

summary {
  padding: 1rem;
  display: block;
  background: rgba(128, 128, 128, 0.05);
  padding-left: 2.2rem;
  position: relative;
  cursor: pointer;
  user-select: none;
}

summary:before {
  content: '';
  border-width: .4rem;
  border-style: solid;
  border-color: transparent transparent transparent #000000;
  position: absolute;
  top: 50%; /* Center vertically relative to summary */
  left: 1rem;
  transform: translateY(-50%) rotate(0); /* Adjust for true centering */
  transform-origin: .2rem 50%;
  transition: .25s transform ease;
}

/* THE MAGIC 🧙‍♀️ */
details[open] > summary:before {
  transform: rotate(90deg);
}


details summary::-webkit-details-marker {
  display:none;
}

details > p {
  padding-bottom: 1rem;
  margin-bottom: 0;
  margin: 1rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 5px 15px -3px rgba(0,0,0,0.1);
}
.topButton { text-decoration: none; background-color: #000000; color: #ffffff; padding: 0.7rem; border-radius: 0.6rem; margin-left: 1rem; 

  /* animation: wiggle 2.5s ease infinite; */
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  20% { transform: rotate(-2deg); }
  40% { transform: rotate(2deg); }
  60% { transform: rotate(-2deg); }
  80% { transform: rotate(2deg); }
}




/* Base table styles */
/* .responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9em;
  font-family: sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.responsive-table thead tr {
  background-color: #2c3e50;
  color: #ffffff;
  text-align: left;
}

.responsive-table th,
.responsive-table td {
  padding: 12px 15px;
}

.responsive-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.responsive-table tbody tr:nth-of-type(even) {
  background-color: #f8f9fa;
}

.responsive-table tbody tr:last-of-type {
  border-bottom: 2px solid #2c3e50;
} */

/* Vertical stacking for mobile */
/* @media screen and (max-width: 768px) {
  .responsive-table {
    border: 0;
  }
  
  .responsive-table thead {
    display: none;
  }
  
  .responsive-table tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .responsive-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
  }
  
  .responsive-table td:last-child {
    border-bottom: 0;
  }
  
  .responsive-table td::before {
    content: attr(data-label);
    font-weight: bold;
    text-transform: capitalize;
    margin-right: 1rem;
    color: #2c3e50;
  }
} */

/* Centered Responsive Table */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.responsive-table thead tr {
  background-color: #000000;
  color: #ffffff;
  text-align: center; /* Center header text */
}

.responsive-table th,
.responsive-table td {
  padding: 12px 15px;
  text-align: center; /* Center cell content */
  vertical-align: middle; /* Vertical center */
}

.responsive-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.responsive-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.responsive-table tbody tr:last-of-type {
  border-bottom: 2px solid #000000;
}

.responsive-table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}

/* Mobile stacked version with centered content */
@media screen and (max-width: 600px) {
  .responsive-table {
    border: 0;
  }
  
  .responsive-table thead {
    display: none;
  }
  
  .responsive-table tr {
    margin-bottom: 10px;
    display: block;
    border-bottom: 2px solid #ddd;
    text-align: center; /* Center the entire row content */
  }
  
  .responsive-table td {
    display: block;
    text-align: center; /* Center cell text */
    font-size: 13px;
    border-bottom: 1px dotted #ccc;
    position: relative;
    padding-left: 50%; /* Create space for labels */
  }
  
  .responsive-table td:last-child {
    border-bottom: 0;
  }
  
  .responsive-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    padding-right: 10px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left; /* Left-align just the labels */
  }
}












/* General Form Styling */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.form-title {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555555;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #357ab8;
}

/* Optional: Add a small fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-container {
    animation: fadeIn 0.5s ease-out;
}

/* Thank You Message (Hidden by Default) */
.thank-you-message {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
    display: none; /* Hidden until form submits */
}

.thank-you-message h3 {
    color: #4a90e2;
    font-size: 22px;
    margin-bottom: 10px;
}

.thank-you-message p {
    color: #555555;
    font-size: 16px;
}