/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container for Centering Content */
.container {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Header Styles */
header {
  background-color: #2c3e50;
  padding: 20px 0;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  /* In RTL the first element appears on the right */
}
.header-logo {
  max-height: 60px;
  width: auto;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
}
.nav-links li a {
  color: #ecf0f1;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}
.nav-links li a:hover {
  background-color: #34495e;
}

/* Main Content Styles */
main {
  padding: 40px 0;
  background-color: #f7f7f7;
}
.intro h2 {
  color: #2c3e50;
  margin-bottom: 15px;
}
p {
  font-family: 'Arial', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}
.custom-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Bullet List Style */
.custom-bullet {
  list-style: none;
  margin: 20px 0;  /* Increased vertical spacing around the list */
  padding: 0 0 0 20px;
}
.custom-bullet li {
  position: relative;
  margin-bottom: 15px; /* More space between items */
  padding-right: 20px; /* Adjust for RTL layout */
  transition: color 0.3s, border-color 0.3s;
}
.custom-bullet li:hover {
  color: #3498db;
}
.custom-bullet li::before {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #3498db;
  border-radius: 50%;
  position: absolute;
  right: 0px; /* Position bullet on the right for RTL */
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s, transform 0.3s;
}
.custom-bullet li:hover::before {
  background-color: #2980b9;
  transform: translateY(-50%) scale(1.2);
}


/* Numbered List Style */
.custom-numbered {
  list-style: none;
  counter-reset: custom-counter;
  margin: 20px 0;  /* Increased vertical spacing around the list */
  padding: 0 0 0 20px;
}
.custom-numbered li {
  counter-increment: custom-counter;
  margin-bottom: 15px; /* More space between items */
  padding-right: 50px; /* Space reserved for the number badge */
  position: relative;
  transition: color 0.3s;
}
.custom-numbered li:hover {
  color: #e74c3c;
}
.custom-numbered li::before {
  content: counter(custom-counter);
  position: absolute;
  right: 0; /* Place the badge on the right in RTL layout */
  top: 50%;
  transform: translateY(-50%);
  background-color: #e74c3c;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
}
.custom-numbered li:hover::before {
  background-color: #c0392b;
  transform: translateY(-50%) scale(1.1);
}


/* Table Style */
/* Modern Table Style */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}
.custom-table thead {
  background-color: #3498db;
}
.custom-table th {
  color: #fff;
  padding: 12px;
  text-align: center;
  border-right: 1px solid #fff;
}
.custom-table th:last-child {
  border-right: none;
}
.custom-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}
.custom-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}
.custom-table tbody tr:nth-child(even) {
  background-color: #fff;
}
.custom-table tbody tr:hover {
  background-color: #eaeaea;
}


/* Footer Styles */
footer {
  background-color: #2c3e50;
  padding: 20px 0;
  color: #ecf0f1;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-links a {
  color: #ecf0f1;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #3498db;
}
.responsible-gambling {
  display: flex;
  gap: 15px;
}
.footer-logo {
  width: 50px;
  height: auto;
  transition: transform 0.3s;
}
.footer-logo:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 10px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .custom-paragraph {
    font-size: 1rem;
  }
  .custom-table th, .custom-table td {
    font-size: 0.9rem;
  }
}



/* FAQ Styles */
/* Minimalistic FAQ Section Styles */
.faq-section {
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
  color: #333;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #2c3e50;
}

.faq-container {
  border-top: 1px solid #ddd;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s;
}

.faq-item.active {
  background-color: #f9f9f9;
}

.faq-question {
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  font-size: 1.1rem;
}

.faq-question::before {
  content: '+';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::before {
  content: '-';
  transform: translateY(-50%);
}

.faq-answer {
  padding: 0 20px 15px;
  font-size: 1rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}


/* Option A: Apply to every image on your page */
img {
  max-width: 100%; /* Prevents the image from exceeding its container’s width */
  height: auto;    /* Maintains the aspect ratio */
  display: block;  /* Centers image if you set margin: 0 auto; */
  margin: 0 auto;  /* (Optional) centers image horizontally */
}

/* Option B: Create a specific class to apply to particular images */
.content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
