/* Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;  /* <- WHITE BACKGROUND */
  color: #333;
}


/* Header */
.header {
  background-color: #ff6600;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.header h1{
  color: white;
}

.header-logo {
  height: 50px;
  max-width: 200px;
  object-fit: contain;
}




.header-title {
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
}

.language-toggle {
  background: white;
  color: #ff6600;
  border: none;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
  position: absolute;
  right: 2rem;
}

.language-toggle:hover {
  background: #ffe0cc;
}

.rtl .language-toggle {
  right: 2rem;
}

/* Hero section */
.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #ffffff;

}

.hero-section .title {
  font-size: 3rem;
  color: #ff6600;
  margin-bottom: 1rem;
}

.hero-section .subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.hero-section .hero-images {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero-section .hero-image {
  width: 120px;
  height: auto;
}

.hero-section .description {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 2rem auto;
  color: #333;
}
.new-referral-banner {
  width: 100%;
  max-width: 800px;
  margin-top: 2rem;
}

.referral-banner {
  width: 100%;
  max-width: 800px;
  margin-top: 2rem;
}

/* System section  */
.systems-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.system-card {
  background: white;
  border: 2px solid #ff6600;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.system-card.orange {
  background-color: #ff6600;
  color: white;
}

.system-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.system-card h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Cards section */
.cards-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #ffffff;
  flex-wrap: wrap;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  width: 300px;
  text-align: center;
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.card h3 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 0.75rem;
}

.card p {
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}

/* Form section */
.form-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

form {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); /* stronger shadow */
}

form h3, form h4 {
  color: #ff6600;
  margin-bottom: 1rem;
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1.1rem; /* increased for better mobile touch */
}

textarea {
  height: 120px;
}

button[type="submit"] {
  background-color: #ff6600;
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem; /* slightly bigger */
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

button[type="submit"]:hover {
  background-color: #e65c00;
}

button[type="submit"]:active {
  background-color: #cc4e00; /* clicked effect */
}

/* Checkbox group - FIXED */
/* Checkbox group - FINAL RESPONSIVE VERSION */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.95rem;
  white-space: nowrap;
}



/* Footer */
.footer {
  background: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-left {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-center {
  flex: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: left;
}

.footer-center div {
  margin: 0 1rem;
}

.footer-center h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
}

.footer-center p, .footer-center a {
  margin: 0.2rem 0;
  color: #333;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 1rem 0;
}

/* RTL Support */
.rtl {
  direction: rtl;
  text-align: right;
}
/* Fix footer direction only for content part */
.footer-content,
.footer-content *,
.footer-center,
.footer-left {
  direction: ltr !important;
  text-align: left !important;
}

/* Keep the bottom text centered */
.footer-bottom {
  text-align: center;
}
.header {
  background-color: #ff6600;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center; /* ⬅ مهم عشان يحط اللوجو في النص */
  position: relative;
}


.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.logo {
  height: 50px;
  object-fit: contain;
}

.fb-banner {
  width: 100%;
  max-width: 800px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}



/* Responsive tweaks */
@media (max-width: 768px) {
  .cards-section {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 320px;
    margin-bottom: 2rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-center {
    flex-direction: column;
    align-items: center;
  }

  form {
    padding: 1.5rem;
    margin-bottom: 2rem; /* added margin under form on mobile */
  }

  .hero-section .title {
    font-size: 2rem; /* reduced for smaller screens */
  }

  .hero-section .subtitle {
    font-size: 1.5rem;
  }
  
}
