 /* حل خاص لأجهزة iOS */
      @supports (-webkit-appearance: none) {
        .background-water {
          display: none !important;
        }
        body {
          background: linear-gradient(
            135deg,
            #00195e 0%,
            #004cb7 50%,
            #31abfd 100%
          ) !important;
          background-attachment: scroll !important;
        }
      }

      /* حل نهائي قوي لمشكلة الآيفون */
      @supports (-webkit-touch-callout: none) {
        .background-water {
          display: none !important;
          opacity: 0 !important;
          visibility: hidden !important;
          pointer-events: none !important;
        }
      }

      /* حل إضافي لأجهزة iOS تحديداً */
      @media screen and (-webkit-min-device-pixel-ratio: 1) {
        body {
          background: linear-gradient(
            135deg,
            #00195e 0%,
            #004cb7 50%,
            #31abfd 100%
          ) !important;
          background-size: cover !important;
          background-repeat: no-repeat !important;
          background-attachment: scroll !important;
        }
        .background-water {
          display: none !important;
        }
      }

      /* حل لـ Safari على iPhone */
      @media screen and (-webkit-min-device-pixel-ratio: 2) {
        body {
          -webkit-background-size: cover !important;
          background-size: cover !important;
        }
      }

      /* حل شامل لجميع الأجهزة المحمولة */
      @media (hover: none) and (pointer: coarse) {
        .background-water {
          display: none !important;
          opacity: 0 !important;
          visibility: hidden !important;
        }
      }

      /* حل مخصص للآيفون باستخدام user agent */
      @media only screen and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) {
        .background-water {
          display: none !important;
          opacity: 0 !important;
          visibility: hidden !important;
        }
      }

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root Variables */
:root {
  /* Colors */
  --primary-dark: #00195e;
  --primary-medium: #004cb7;
  --primary-light: #31abfd;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #ff4757;
  --text-dark: #333;
  --text-medium: #666;
  --text-light: #888;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;

  /* Fonts - Unified IBM Plex Sans Arabic for both languages */
  --font-primary: "IBM Plex Sans Arabic", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", sans-serif;
  --font-english: "IBM Plex Sans Arabic", sans-serif;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.4s ease;
}

/* ===== FONT OPTIMIZATION - UNIFIED IBM PLEX SANS ARABIC ===== */
/* Force IBM Plex Sans Arabic everywhere EXCEPT icons */

/* Apply to all elements except Font Awesome icons */
*:not([class*="fa-"]):not(i):not(.fab):not(.fas):not(.far):not(.fal):not(.fad),
*:not([class*="fa-"])::before,
*:not([class*="fa-"])::after {
  font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
}

/* Specific elements that need the font */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
input,
button:not([class*="fa"]),
select,
textarea {
  font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Override any inherited fonts for specific classes */
.nav-item,
.header-cta,
.lang-toggle,
.mobile-nav-item,
.privacy-title,
.privacy-content,
.section-content,
.info-card,
.form-input,
.btn-submit,
.modal-content,
.footer-section {
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
}

/* Body Base Styles */
body {
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
  line-height: 1.7;
  color: var(--text-dark);
  overflow-x: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 50%,
    var(--primary-light) 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  position: relative;
}

/* PROTECT Font Awesome icons - CRITICAL */
i,
.fa,
.fas,
.far,
.fal,
.fab,
.fad,
[class^="fa-"],
[class*=" fa-"],
.last-updated i,
.info-card i,
.sharing-item i,
.security-icon i,
.right-item i,
.contact-item i {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}

/* Body Base Styles */
body {
  line-height: 1.7;
  color: var(--text-dark);
  overflow-x: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 50%,
    var(--primary-light) 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  position: relative;
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 25, 94, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--primary-light),
    var(--primary-medium),
    var(--primary-dark)
  );
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--primary-light),
    var(--primary-dark),
    var(--primary-medium)
  );
  box-shadow: 0 0 10px rgba(49, 171, 253, 0.5);
}

/* ===== BACKGROUND & DECORATIVE ELEMENTS ===== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  top: 20%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(49, 171, 253, 0.15),
    rgba(0, 25, 94, 0.15)
  );
  border-radius: 50%;
  animation-delay: 0s;
}

.shape-2 {
  top: 60%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(0, 76, 183, 0.15),
    rgba(49, 171, 253, 0.15)
  );
  border-radius: 20px;
  animation-delay: 2s;
}

.shape-3 {
  bottom: 20%;
  left: 20%;
  width: 120px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(0, 25, 94, 0.15),
    rgba(0, 76, 183, 0.15)
  );
  border-radius: 30px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Side Strips */
.side-strip {
  position: fixed;
  top: 0;
  width: 12px;
  height: 100vh;
  z-index: 999;
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 50%,
    var(--primary-light) 100%
  );
  animation: stripPulse 3s ease-in-out infinite alternate;
}

.side-strip.left {
  left: 0;
  border-radius: 0 20px 20px 0;
}

.side-strip.right {
  right: 0;
  border-radius: 20px 0 0 20px;
}

@keyframes stripPulse {
  0% {
    box-shadow: inset 0 0 20px rgba(49, 171, 253, 0.3),
      0 0 15px rgba(0, 25, 94, 0.5);
  }
  100% {
    box-shadow: inset 0 0 30px rgba(49, 171, 253, 0.6),
      0 0 25px rgba(0, 76, 183, 0.7);
  }
}

.bottom-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 25%,
    var(--primary-light) 50%,
    var(--primary-medium) 75%,
    var(--primary-dark) 100%
  );
  z-index: 999;
  box-shadow: 0 -2px 20px rgba(49, 171, 253, 0.4),
    0 -4px 10px rgba(0, 76, 183, 0.3);
}

/* ===== HEADER STYLES (IDENTICAL TO INDEX) ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 25, 94, 0.1);
  transition: all var(--transition-medium);
  border-bottom: 4px solid transparent;
  background-clip: padding-box;
}

header::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 25%,
    var(--primary-light) 50%,
    var(--primary-medium) 75%,
    var(--primary-dark) 100%
  );
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-medium);
}

.logo img {
  height: 150px;
  width: auto;
}

.logo:hover {
  transform: scale(1.05);
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-direction: row;
}

/* RTL Navigation */
html[dir="rtl"] .nav-menu {
  direction: rtl;
}

.nav-item {
  text-decoration: none;
  color: var(--text-medium);
  font-size: 16px;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all var(--transition-medium);
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-dark);
  background: rgba(0, 25, 94, 0.1);
  transform: translateY(-2px);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 15px rgba(0, 25, 94, 0.3);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 25, 94, 0.4);
}

.lang-toggle {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(49, 171, 253, 0.3);
  min-width: 65px;
  justify-content: center;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(49, 171, 253, 0.4);
}

.lang-toggle i {
  font-size: 12px;
}

#currentLang {
  font-weight: 700;
  font-size: 12px;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition-medium);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 25, 94, 0.1);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-item {
  display: block;
  padding: 15px 20px;
  color: var(--text-medium);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-bottom: 1px solid rgba(0, 25, 94, 0.1);
  transition: all var(--transition-medium);
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}

html[dir="rtl"] .mobile-nav-item {
  text-align: right;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--primary-dark);
  background: rgba(0, 25, 94, 0.05);
}

.mobile-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  ) !important;
  color: white !important;
  border-radius: 10px !important;
  margin-top: 10px !important;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 60px;
}

/* ===== PRIVACY POLICY CONTAINER ===== */
.privacy-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 25, 94, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.6s ease-out;
  position: relative;
}

.privacy-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(49, 171, 253, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.privacy-container:hover::before {
  left: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== PRIVACY HEADER ===== */
.privacy-header {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.12)"/></svg>')
    repeat;
  opacity: 0.3;
}

.privacy-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.privacy-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.last-updated i {
  color: var(--primary-light);
}

/* ===== QUICK NAVIGATION ===== */
.quick-nav {
  background: var(--bg-light);
  padding: 30px 40px;
  border-bottom: 1px solid rgba(0, 25, 94, 0.1);
}

.quick-nav h3 {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.nav-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.nav-links li {
  background: white;
  border-radius: 10px;
  transition: all var(--transition-medium);
  box-shadow: 0 2px 10px rgba(0, 25, 94, 0.05);
}

.nav-links li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 25, 94, 0.1);
}

.nav-links a {
  display: block;
  padding: 15px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-medium);
}

.nav-links a:hover {
  color: var(--primary-dark);
}

/* ===== PRIVACY CONTENT ===== */
.privacy-content {
  padding: 40px;
}

.privacy-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.privacy-section h2 {
  color: var(--primary-dark);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-light);
  position: relative;
}

.privacy-section h3 {
  color: var(--primary-medium);
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 15px;
}

.section-content {
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.8;
}

.section-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.section-content ul {
  margin: 20px 0;
  padding-left: 25px;
}

html[dir="rtl"] .section-content ul {
  padding-left: 0;
  padding-right: 25px;
}

.section-content li {
  margin-bottom: 12px;
  line-height: 1.7;
  position: relative;
}

.section-content li::marker {
  color: var(--primary-light);
}

/* ===== INFO GRID ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.info-card {
  background: white;
  padding: 30px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 25, 94, 0.08);
  transition: all var(--transition-medium);
  border: 1px solid rgba(0, 25, 94, 0.05);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 25, 94, 0.15);
}

.info-card i {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 20px;
  display: block;
}

.info-card h4 {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.info-card p {
  color: var(--text-medium);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== SHARING LIST ===== */
.sharing-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 25px 0;
}

.sharing-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--bg-light);
  border-radius: 15px;
  border-left: 4px solid var(--primary-light);
}

html[dir="rtl"] .sharing-item {
  border-left: none;
  border-right: 4px solid var(--primary-light);
}

.sharing-item i {
  font-size: 1.5rem;
  color: var(--primary-medium);
  margin-top: 5px;
  flex-shrink: 0;
}

.sharing-content h4 {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.sharing-content p {
  color: var(--text-medium);
  margin: 0;
}

/* ===== SECURITY FEATURES ===== */
.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 25, 94, 0.08);
  transition: all var(--transition-medium);
}

.security-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 25, 94, 0.12);
}

.security-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-icon i {
  font-size: 1.5rem;
  color: white;
}

.security-content h4 {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.security-content p {
  color: var(--text-medium);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ===== RIGHTS LIST ===== */
.rights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.right-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 25, 94, 0.08);
  transition: all var(--transition-medium);
  border-left: 3px solid var(--primary-light);
}

html[dir="rtl"] .right-item {
  border-left: none;
  border-right: 3px solid var(--primary-light);
}

.right-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 25, 94, 0.12);
}

html[dir="rtl"] .right-item:hover {
  transform: translateX(-5px);
}

.right-item i {
  font-size: 1.3rem;
  color: var(--primary-medium);
  flex-shrink: 0;
}

.right-content h4 {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.right-content p {
  color: var(--text-medium);
  font-size: 14px;
  margin: 0;
}

.rights-contact {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin-top: 30px;
  border: 2px dashed var(--primary-light);
}

.rights-contact p {
  color: var(--primary-dark);
  font-weight: 600;
  margin: 0;
}

/* ===== COOKIES TYPES ===== */
.cookies-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.cookie-type {
  padding: 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0, 25, 94, 0.08);
  transition: all var(--transition-medium);
}

.cookie-type:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 25, 94, 0.12);
}

.cookie-type h4 {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cookie-type p {
  color: var(--text-medium);
  font-size: 14px;
  margin: 0;
}

/* ===== CONTACT INFO ===== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 25, 94, 0.08);
  transition: all var(--transition-medium);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 25, 94, 0.12);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.contact-content h4 {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-content p {
  color: var(--text-medium);
  margin: 0;
  font-weight: 500;
}

.response-time {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin-top: 25px;
}

.response-time p {
  margin: 0;
  font-weight: 600;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  backdrop-filter: blur(10px);
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.7);
  opacity: 0;
  transition: all var(--transition-medium);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 30px;
  border-radius: 20px 20px 0 0;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

html[dir="rtl"] .modal-close {
  left: auto;
  right: 15px;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-title {
  font-size: clamp(1.5rem, 3vw, 24px);
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-subtitle {
  font-size: clamp(0.9rem, 2vw, 16px);
  opacity: 0.9;
}

.modal-body {
  padding: 30px 20px;
}

/* Service Info */
.service-info {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 15px;
  margin: 10px 0 20px;
  text-align: center;
}

.service-info h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-info p {
  color: var(--text-medium);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

html[dir="rtl"] .form-label {
  text-align: right;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color var(--transition-fast);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-dark);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 25, 94, 0.3);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.loading-spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: none;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 20px 40px;
  border-radius: 15px;
  z-index: 3000;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 25, 94, 0.3);
}

.success-message h3 {
  margin-bottom: 10px;
}

/* ===== FOOTER STYLES (IDENTICAL TO INDEX) ===== */
footer {
  background: linear-gradient(
    135deg,
    rgba(0, 25, 94, 0.98) 0%,
    rgba(0, 76, 183, 0.95) 50%,
    rgba(49, 171, 253, 0.92) 100%
  );
  backdrop-filter: blur(20px);
  color: white;
  padding: 80px 20px 40px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid rgba(255, 255, 255, 0.2);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(49, 171, 253, 0.9) 25%,
    rgba(255, 255, 255, 1) 50%,
    rgba(49, 171, 253, 0.9) 75%,
    rgba(255, 255, 255, 0.8) 100%
  );
  background-size: 200% 100%;
  animation: footerGradientFlow 4s linear infinite;
  box-shadow: 0 2px 15px rgba(255, 255, 255, 0.4);
}

@keyframes footerGradientFlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.12)"/><circle cx="90" cy="10" r="0.8" fill="rgba(255,255,255,0.06)"/><circle cx="10" cy="90" r="1.2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  opacity: 0.3;
  pointer-events: none;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-section {
  transition: transform var(--transition-medium);
}

.footer-section:hover {
  transform: translateY(-5px);
}

.footer-logo {
  text-align: left;
  margin-bottom: 30px;
}

html[dir="rtl"] .footer-logo {
  text-align: right;
}

.footer-logo img {
  height: 140px;
  width: auto;
  filter: brightness(1.3) contrast(1.1);
  transition: transform var(--transition-medium);
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-section h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 15px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.5));
  border-radius: 2px;
}

html[dir="rtl"] .footer-section h3::after {
  right: 0;
  left: auto;
}

.footer-section p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  text-align: justify;
  font-size: 16px;
  font-weight: 400;
}

.footer-section p strong {
  color: white;
  font-weight: 700;
  display: block;
  margin-top: 20px;
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-services {
  list-style: none;
  padding: 0;
}

.footer-services li {
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  transition: all var(--transition-medium);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-services li:last-child {
  border-bottom: none;
}

html[dir="rtl"] .footer-services li {
  padding-left: 0;
  padding-right: 30px;
  text-align: right;
}

.footer-services li::before {
  content: "→";
  color: white;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 18px;
  transition: transform var(--transition-medium);
}

html[dir="rtl"] .footer-services li::before {
  content: "←";
  left: auto;
  right: 0;
}

.footer-services li:hover {
  color: white;
  padding-left: 35px;
}

html[dir="rtl"] .footer-services li:hover {
  padding-left: 0;
  padding-right: 35px;
}

.footer-services li:hover::before {
  transform: translateX(5px);
}

html[dir="rtl"] .footer-services li:hover::before {
  transform: translateX(-5px);
}

.footer-services li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--transition-medium);
  font-weight: 500;
}

.footer-services li a:hover {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-section p i {
  color: white;
  margin-right: 12px;
  width: 25px;
  text-align: center;
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

html[dir="rtl"] .footer-section p i {
  margin-right: 0;
  margin-left: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  margin-bottom: 10px;
  font-weight: 500;
}

.novay-link {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all var(--transition-medium);
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: inline-block;
}

.novay-link:hover {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.novay-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.7));
  transition: width var(--transition-medium);
  border-radius: 2px;
}

.novay-link:hover::after {
  width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1200px) {
  .footer-content {
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: 80px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .side-strip {
    width: 8px;
  }

  .bottom-strip {
    height: 8px;
  }

  .header-content {
    padding: 0 15px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-section:first-child {
    grid-column: 1 / -1;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .security-features {
    grid-template-columns: 1fr;
  }

  .rights-list {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-content {
    height: 70px;
    padding: 0 15px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .lang-toggle {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 55px;
  }

  .lang-toggle i {
    font-size: 10px;
  }

  #currentLang {
    font-size: 11px;
  }

  .logo img {
    height: 120px;
  }

  /* Main */
  .main-container {
    padding: 90px 15px 40px;
  }

  .privacy-header {
    padding: 40px 20px;
  }

  .quick-nav {
    padding: 25px 20px;
  }

  .privacy-content {
    padding: 25px 20px;
  }

  .nav-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .sharing-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .security-features {
    grid-template-columns: 1fr;
  }

  .security-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .rights-list {
    grid-template-columns: 1fr;
  }

  .cookies-types {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-section:first-child {
    grid-column: auto;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  html[dir="rtl"] .footer-section h3::after {
    right: 50%;
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-services li {
    text-align: center;
    padding-left: 0;
  }

  html[dir="rtl"] .footer-services li {
    padding-right: 0;
    text-align: center;
  }

  .footer-services li::before {
    display: none;
  }

  .footer-services li:hover {
    padding-left: 0;
  }

  html[dir="rtl"] .footer-services li:hover {
    padding-right: 0;
  }

  .footer-section p {
    text-align: center;
  }

  .footer-section p i {
    margin-right: 8px;
    float: none;
  }

  html[dir="rtl"] .footer-section p i {
    margin-left: 8px;
    margin-right: 0;
    float: none;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .logo img {
    height: 100px;
  }

  .privacy-header {
    padding: 30px 15px;
  }

  .quick-nav {
    padding: 20px 15px;
  }

  .privacy-content {
    padding: 20px 15px;
  }

  footer {
    padding: 60px 20px 30px;
  }

  .footer-section h3 {
    font-size: 20px;
  }

  .footer-section p {
    font-size: 14px;
  }
}

/* RTL Specific Adjustments */
html[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .form-input {
  text-align: right;
}

html[dir="rtl"] .footer-bottom {
  text-align: center;
  direction: rtl;
}

html[dir="rtl"] .footer-section {
  text-align: right;
}

@media (max-width: 768px) {
  html[dir="rtl"] .footer-section {
    text-align: center;
  }

  html[dir="rtl"] .footer-logo {
    text-align: center;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo img,
  .footer-logo img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-shape {
    animation: none;
  }

  .side-strip {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .side-strip,
  .bottom-strip,
  .bg-animation,
  header,
  .modal-overlay,
  .quick-nav {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .privacy-container {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  .privacy-header {
    background: linear-gradient(
      135deg,
      var(--primary-dark),
      var(--primary-medium)
    ) !important;
    -webkit-print-color-adjust: exact;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* GPU Acceleration for Animations */
.privacy-container,
.info-card,
.security-item,
.right-item,
.contact-item {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Focus Indicators */
*:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

button:focus,
.btn-submit:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

/* Screen Reader Only Content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-dark: #000;
    --primary-medium: #333;
    --primary-light: #666;
    --text-dark: #000;
    --text-medium: #333;
    --text-light: #666;
  }

  .privacy-container,
  .modal-content {
    border: 2px solid #000;
  }
}

/* Reduced Transparency for Accessibility */
@media (prefers-reduced-transparency: reduce) {
  header,
  footer,
  .privacy-container {
    backdrop-filter: none;
  }

  header {
    background: rgb(255, 255, 255);
  }

  footer {
    background: rgb(0, 25, 94);
  }
}

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}

/* ===== UTILITY CLASSES ===== */

/* Text Utilities */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

/* Margin Utilities */
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: var(--spacing-sm);
}
.mb-2 {
  margin-bottom: var(--spacing-md);
}
.mb-3 {
  margin-bottom: var(--spacing-lg);
}

/* Display Utilities */
.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}

/* ===== FINAL OVERRIDES ===== */

/* Ensure consistency across all browsers */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove any lingering water background elements */
body::before,
body::after,
html::before,
html::after {
  content: none !important;
}

/* Ensure proper stacking context */
.bg-animation {
  isolation: isolate;
}

/* Force hardware acceleration on mobile */
@media (max-width: 768px) {
  .privacy-container,
  .modal-content {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
}

/* End of CSS File */

