/* ---------------------------
   General Reset
   --------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------------------------
   Root Variables
   --------------------------- */
   :root {
    --primary-color: #1C453D;
    --accent-color: #27DE7D;
    --text-dark: #191C19;
    --text-light: #fff;
    --text-muted: #454744;
    --border-color: #0D322D;
    --bg-light: #F8FDFB;
    --transition: all 0.3s ease;
  }
  

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6; 
}

::-webkit-scrollbar-thumb {
  background: #10b981; 
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #059669;
}



body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-display: swap;
  }

/* Navbar Styles */
/* RTL Support */
[dir="rtl"] .btn.primary:hover {
  transform: scale(1.1) translateX(5px);
}

[dir="ltr"] .btn.primary:hover {
  transform: scale(1.1) translateX(-5px);
}



/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #1a472a, #2d5a40);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: all 0.5s ease-in-out;
}

/* Loading Content Container */
.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

/* Spinner Container */
.spinner-container {
  position: relative;
  width: 80px;
  height: 80px;
}

/* Main Spinner */
.spinner {
  width: 80px;
  height: 80px;
  border: 4px solid transparent;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Inner Spinner */
.spinner-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 4px solid transparent;
  border-top: 4px solid #4CAF50;
  border-right: 4px solid #4CAF50;
  border-radius: 50%;
  animation: spin-reverse 0.8s linear infinite;
}

/* Loading Progress Bar */
.loading-progress {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 3px;
  animation: progress 2s ease-in-out infinite;
}

/* Loading Text */
.loading-text {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loading-dots {
  display: inline-block;
  width: 20px;
  text-align: left;
}

/* Hidden State */
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-screen.hidden .loading-content {
  transform: translateY(-20px);
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes progress {
  0% {
      width: 0%;
      left: 0;
  }
  50% {
      width: 100%;
      left: 0;
  }
  100% {
      width: 100%;
      left: 100%;
  }
}

@keyframes dots {
  0%, 20% {
      content: ".";
  }
  40% {
      content: "..";
  }
  60%, 100% {
      content: "...";
  }
}

.loading-dots::after {
  content: "";
  animation: dots 1.5s infinite;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .spinner-container {
      width: 60px;
      height: 60px;
  }
  
  .spinner {
      width: 60px;
      height: 60px;
  }
  
  .spinner-inner {
      width: 40px;
      height: 40px;
  }
  
  .loading-progress {
      width: 150px;
  }
  
  .loading-text {
      font-size: 1rem;
  }
}


/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Navbar */
.navbar {
  width: 100%;
  background-color: var(--primary-color);
  position: relative;
  z-index: 1000;
}

/* Logo */
.logo img {
  height: 48px;
  width: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  padding: 12px 24px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.btn.primary {
  background-color: var(--accent-color);
  color: #0F120F;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn.secondary {
  border: 2px solid var(--border-color);
  color: var(--text-light);
}

.btn.secondary:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Language Switcher */
.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 500;
  padding: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.language-switch:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.language-switch img {
  height: 24px;
  width: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.language-switch:hover img {
  transform: scale(1.1);
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  padding: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
  flex-direction: column;
  gap: 16px;
}

/* Mobile Menu Animation */
.mobile-menu.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

/* RTL Support */
.rtl .mobile-menu {
  text-align: right;
}

.rtl .language-switch {
  flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .container {
    height: 64px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .mobile-menu .btn {
    width: 100%;
    opacity: 0;
    transform: translateY(-10px);
    animation: slideIn 0.3s ease forwards;
  }
  
  .mobile-menu .language-switch {
    width: 100%;
    justify-content: center;
    padding: 12px;
    margin-top: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }
  
  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .mobile-menu.show .btn:nth-child(1) { animation-delay: 0.1s; }
  .mobile-menu.show .btn:nth-child(2) { animation-delay: 0.2s; }
  .mobile-menu.show .language-switch { animation-delay: 0.3s; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Privacy Policy */
/* Animations */

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
      transform: scale(0.9);
  }
  to {
      transform: scale(1);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

/* Content Container */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Styles */
.content-section {
  margin-bottom: 60px;
  transition: transform 0.3s ease;
}

.content-section:hover {
  transform: scale(1.05);
}

/* Title Styles */
.main-title {
  font-size: 3.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
 padding-top: 60px;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #191C19;
}

.notes-title {
  color: #775E00;
  text-decoration: underline;
}

/* Text Styles */
.main-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.8;
  color: rgb(69 71 68);
}

p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* List Styles */
.platform-list,
.behavior-list,
.violation-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: rgb(69 71 68);
}

.platform-list li,
.behavior-list li,
.violation-list li {
  font-size: 1.25rem;
  margin-bottom: 15px;
  line-height: 1.8;
}

.behavior-list li {
  margin-bottom: 20px;
}

/* Payment Section */
.payment-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgb(69 71 68);
}

/* Violation Section */
.violation-text {
  font-size: 1.25rem;
  margin-top: 25px;
  line-height: 1.8;
  color: rgb(69 71 68);
}

/* Notes Section */
.notes-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgb(69 71 68);
}

/* Animation Delays with Scale */
.content-section:nth-child(1) {
  animation: fadeIn 0.8s ease-out forwards,
           scaleIn 0.5s ease-out forwards;
  animation-delay: 0.2s;
}

.content-section:nth-child(2) {
  animation: fadeIn 0.8s ease-out forwards,
           scaleIn 0.5s ease-out forwards;
  animation-delay: 0.4s;
}

.content-section:nth-child(3) {
  animation: fadeIn 0.8s ease-out forwards,
           scaleIn 0.5s ease-out forwards;
  animation-delay: 0.6s;
}

.content-section:nth-child(4) {
  animation: fadeIn 0.8s ease-out forwards,
           scaleIn 0.5s ease-out forwards;
  animation-delay: 0.8s;
}

.content-section:nth-child(5) {
  animation: fadeIn 0.8s ease-out forwards,
           scaleIn 0.5s ease-out forwards;
  animation-delay: 1s;
}

.content-section:nth-child(6) {
  animation: fadeIn 0.8s ease-out forwards,
           scaleIn 0.5s ease-out forwards;
  animation-delay: 1.2s;
}

/* Hover Effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-title {
      font-size: 2.2rem;
  }

  .section-title {
      font-size: 1.8rem;
  }

  p, .platform-list li, .behavior-list li, .violation-list li {
      font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  body {
      padding: 20px;
  }

  .main-title {
      font-size: 2rem;
  }

  .section-title {
      font-size: 1.6rem;
  }

  p, .platform-list li, .behavior-list li, .violation-list li {
      font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .main-title {
      font-size: 1.8rem;
  }

  .section-title {
      font-size: 1.4rem;
  }

  p, .platform-list li, .behavior-list li, .violation-list li {
      font-size: 1rem;
  }
}








/* Footer */
.footer {
  margin-top: 2rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 0.5rem;
}

/* شاشات صغيرة */
@media (min-width: 320px) and (max-width: 479px) {
  .footer {
      margin-top: 2.5rem;
      padding: 1.5rem 0.75rem;
  }
}

/* شاشات متوسطة */
@media (min-width: 480px) and (max-width: 639px) {
  .footer {
      margin-top: 3rem;
      padding: 2rem 1rem;
  }
}

/* شاشات كبيرة */
@media (min-width: 640px) and (max-width: 1023px) {
  .footer {
      margin-top: 6rem;
      padding: 3rem 1.25rem;
  }
}

/* شاشات كبيرة جداً */
@media (min-width: 1024px) {
  .footer {
      margin-top: 8rem;
      padding: 4rem 1.5rem;
  }
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  width: 90%;
}

.footer-header {
  text-align: center;
  margin-bottom: 1rem;
}

/* شاشات صغيرة */
@media (min-width: 320px) and (max-width: 479px) {
  .footer-header {
      margin-bottom: 1.25rem;
  }
}

/* شاشات متوسطة وكبيرة */
@media (min-width: 480px) {
  .footer-header {
      margin-bottom: 2rem;
  }
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* شاشات صغيرة */
@media (min-width: 320px) and (max-width: 479px) {
  .footer-title {
      font-size: 1.4rem;
  }
}

/* شاشات متوسطة */
@media (min-width: 480px) and (max-width: 639px) {
  .footer-title {
      font-size: 1.6rem;
  }
}

/* شاشات كبيرة */
@media (min-width: 640px) {
  .footer-title {
      font-size: 1.875rem;
      margin-bottom: 1rem;
  }
}

.footer-support {
  font-size: 0.7rem;
}

/* شاشات صغيرة */
@media (min-width: 320px) and (max-width: 479px) {
  .footer-support {
      font-size: 0.75rem;
  }
}

/* شاشات متوسطة وكبيرة */
@media (min-width: 480px) {
  .footer-support {
      font-size: 0.875rem;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* شاشات كبيرة */
@media (min-width: 640px) {
  .footer-content {
      flex-direction: row;
      justify-content: space-between;
      gap: 0;
  }
}

.footer-logo {
  height: 40px;
  width: auto;
}

/* شاشات متوسطة وكبيرة */
@media (min-width: 480px) {
  .footer-logo {
      height: 48px;
  }
}

.footer-copyright {
  font-size: 0.7rem;
  order: 3;
}

/* شاشات متوسطة وكبيرة */
@media (min-width: 480px) {
  .footer-copyright {
      font-size: 0.875rem;
      order: 2;
  }
}

.footer-button {
  order: 2;
  width: 100%;
}

/* شاشات كبيرة */
@media (min-width: 640px) {
  .footer-button {
      order: 3;
      width: auto;
  }
}

.footer-button a {
  display: inline-block;
  width: 100%;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.8rem;
  background-color: var(--border-color);
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}















/* شاشات صغيرة */
@media (min-width: 320px) and (max-width: 479px) {
  .footer-button a {
      padding: 0.65rem 1.3rem;
      font-size: 0.85rem;
      text-align: center;
  }
}

/* شاشات متوسطة */
@media (min-width: 480px) and (max-width: 639px) {
  .footer-button a {
      padding: 0.7rem 1.4rem;
      font-size: 0.9rem;
      text-align: center;
  }
}

/* شاشات كبيرة */
@media (min-width: 640px) {
  .footer-button a {
      width: auto;
      font-size: 1rem;
      padding: 0.85rem 1.75rem;
  }
}

.footer-button a:hover {
  border-color: var(--accent-color);
}