/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Header Styling */
header {
  background: linear-gradient(45deg, #34495e, #2c3e50);
  padding: 20px;
  text-align: center;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.nav-menu ul li {
  margin: 0 15px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-menu ul li a:hover {
  color: #3498db;
}

/* Main Content Container */
main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Site Title Styling (moved to main) */
.site-title {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

/* Section Styling */
.section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 5px;
}

/* Paragraph Styling */
.modern-paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.8;
  color: #555;
}

/* Image Styling */
.modern-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
  border: 5px solid #3498db;
}

/* Custom Bullet List Styling */
/* Minimalistic Bullet List for RTL */
.minimal-ul {
  list-style: none;
  padding-right: 1em;
  margin: 20px 0;
  direction: rtl; /* Ensure right-to-left direction */
}

.minimal-ul li {
  position: relative;
  padding-right: 20px; /* Space for bullet on the right */
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
  text-align: right;
}

.minimal-ul li::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #3498db; /* Accent color for bullet */
  border-radius: 50%;
}



/* Custom Numbered List Styling */
/* Minimalistic Numbered List for RTL */
.minimal-ol {
  list-style: none;
  counter-reset: custom-counter;
  padding-right: 1em;
  margin: 20px 0;
  direction: rtl;
}

.minimal-ol li {
  position: relative;
  counter-increment: custom-counter;
  padding-right: 40px; /* Space for number badge */
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
  text-align: right;
}

.minimal-ol li::before {
  content: counter(custom-counter);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: #3498db; /* Accent color */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  font-size: 0.9rem;
}


/* Table Styling */
.modern-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.modern-table th,
.modern-table td {
  border: 1px solid #2c3e50;
  padding: 10px;
  text-align: center;
}

.modern-table th {
  background-color: #3498db;
  color: #fff;
}

/* Pros and Cons Section Styling */
.pros-cons-container {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.pros,
.cons {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  background-color: #ecf0f1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pros h3,
.cons h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-align: center;
  color: #2c3e50;
}

.pros-list,
.cons-list {
  list-style: none;
  padding: 0;
}

.pros-list li,
.cons-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  font-size: 1rem;
}

.pros-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #27ae60;
}

.cons-list li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #e74c3c;
}

/* FAQ Section Styling */
/* FAQ Section Styling */
.faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.faq-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 5px;
}

.faq-item {
  border-bottom: 1px solid #3498db;
  padding: 10px 0;
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.2rem;
  width: 100%;
  text-align: right;
  color: #2c3e50;
  padding: 10px;
  cursor: pointer;
  outline: none;
  position: relative;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

/* Arrow indicator added to show open/close state */
.faq-question::after {
  content: '▼';
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.3s;
}

/* When the FAQ is open, rotate the arrow */
.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 10px;
  margin: 0;
  color: #555;
}


/* Footer Styling */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  margin-bottom: 15px;
}

.footer-nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #3498db;
}

.footer-logos a {
  margin: 0 10px;
}

.footer-logos img {
  width: 40px;
  height: auto;
  transition: transform 0.3s;
}

.footer-logos img:hover {
  transform: scale(1.1);
}

.footer-copy {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu ul {
    flex-direction: column;
  }
  .nav-menu ul li {
    margin: 10px 0;
  }
  main {
    margin: 20px 10px;
  }
  .pros-cons-container {
    flex-direction: column;
  }
}
