@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;700&family=Inter:wght@400;700&display=swap");

:root {
  --primary-color: #fe9907;
  --secondary-color: #d93646;
  --text-color: #454545;
  --bg-color: #f7fafc;
}

/* Enable smooth scrolling for all anchor links */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Arabic", "Inter", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  direction: rtl;
}

/* Adjust scroll position to account for the sticky header */
section {
  scroll-margin-top: 100px;
}

[dir="ltr"] body {
  direction: ltr;
}

.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

/* Custom animation for the hero section */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.scroll-top-btn {
  display: none; /* Hidden by default */
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 20px;
  left: 20px;
  z-index: 99;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.scroll-top-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color);
}

#features,
#testimonials {
  background-color: white;
}

#educational {
  background-color: var(--bg-color);
}
