:root {
  --primary: #2196f3;
  --primary-dark: #1565c0;
  --bg-light: #f8f9fa;
  --text-dark: #1c1c1c;
  --text-gray: #5f6368;
  --white: #fff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .12);
  --radius: 16px;
  --success: #28a745;
  --warning: #ffc107;
  --info: #17a2b8
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body {
  font-family: Tajawal, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.8;
  padding-bottom: 60px;
  scroll-behavior: smooth
}

.header {
  background: linear-gradient(135deg, var(--primary-dark) 0, var(--primary) 100%);
  padding: 40px 20px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  animation: float 20s linear infinite;
  pointer-events: none
}

@keyframes float {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(-100px)
  }
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2
}

.header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px
}

.header h1 i {
  margin-left: 10px;
  animation: pulse 2s infinite
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.1)
  }
}

.header p {
  font-size: 14px;
  opacity: .95
}

.container {
  max-width: 900px;
  margin: -30px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 10
}

.policy-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  animation: slideUp .5s ease-out
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.update-date {
  background: var(--bg-light);
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 30px;
  border-right: 4px solid var(--primary)
}

.update-date i {
  color: var(--primary);
  margin-left: 5px
}

h2 {
  color: var(--primary-dark);
  font-size: 22px;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
  position: relative
}

h2:first-of-type {
  margin-top: 0
}

h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 60px;
  height: 2px;
  background: var(--primary)
}

h2 i {
  margin-left: 8px
}

h3 {
  color: var(--primary);
  font-size: 18px;
  margin: 20px 0 10px;
  font-weight: 700
}

h3 i {
  margin-left: 5px
}

p {
  margin-bottom: 15px;
  color: #444;
  text-align: justify
}

strong {
  color: var(--primary-dark);
  font-weight: 700
}

.intro {
  background: linear-gradient(135deg, rgba(33, 150, 243, .08) 0, rgba(25, 118, 210, .04) 100%);
  padding: 20px;
  border-radius: 10px;
  border-right: 4px solid var(--primary);
  margin-bottom: 25px
}

.intro p {
  margin-bottom: 0;
  font-weight: 500;
  text-align: center
}

ul {
  margin-right: 25px;
  margin-bottom: 20px
}

li {
  margin-bottom: 12px;
  color: #444;
  line-height: 1.9
}

li::marker {
  color: var(--primary)
}

.highlight-box {
  background: #fff3cd;
  border-right: 4px solid var(--warning);
  padding: 18px;
  border-radius: 8px;
  margin: 20px 0;
  transition: transform .3s ease
}

.highlight-box:hover {
  transform: translateX(-3px)
}

.highlight-box p {
  margin-bottom: 0;
  color: #856404
}

.highlight-box.final-note {
  background: linear-gradient(135deg, rgba(33, 150, 243, .1) 0, rgba(25, 118, 210, .05) 100%);
  border-right-color: var(--primary)
}

.highlight-box.final-note p {
  color: var(--primary-dark)
}

.info-box {
  background: #d1ecf1;
  border-right: 4px solid var(--info);
  padding: 18px;
  border-radius: 8px;
  margin: 20px 0;
  transition: transform .3s ease
}

.info-box:hover {
  transform: translateX(-3px)
}

.info-box p {
  margin-bottom: 0;
  color: #0c5460
}

.success-box {
  background: #d4edda;
  border-right: 4px solid var(--success);
  padding: 18px;
  border-radius: 8px;
  margin: 20px 0;
  transition: transform .3s ease
}

.success-box:hover {
  transform: translateX(-3px)
}

.success-box p {
  margin-bottom: 0;
  color: #155724
}

.contact-section {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 10px;
  margin-top: 30px;
  text-align: center;
  border: 2px dashed var(--primary)
}

.contact-section h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
  margin-top: 0
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  margin: 5px;
  box-shadow: 0 4px 12px rgba(33, 150, 243, .3)
}

.contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(33, 150, 243, .4)
}

.contact-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-gray);
  font-style: italic
}

.footer {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  margin-top: 40px;
  border-top: 1px solid #eee
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px
}

.footer p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 5px;
  text-align: center
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600
}

.footer a:hover {
  text-decoration: underline
}

.footer .fa-heart {
  color: var(--primary);
  animation: heartbeat 1.5s infinite
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1)
  }

  25% {
    transform: scale(1.2)
  }

  50% {
    transform: scale(1)
  }
}

.back-home {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
  z-index: 1000;
  opacity: .9
}

.back-home:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, .4);
  opacity: 1
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease-out
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0)
}

@media (max-width:768px) {
  .header h1 {
    font-size: 24px
  }

  .policy-card {
    padding: 25px 20px
  }

  h2 {
    font-size: 20px
  }

  h3 {
    font-size: 17px
  }

  .back-home {
    bottom: 20px;
    left: 20px;
    padding: 10px 15px;
    font-size: 14px
  }

  .back-home span {
    display: none
  }

  .contact-btn {
    width: 100%;
    margin: 5px 0
  }
}

@media print {

  .back-home,
  .contact-btn {
    display: none !important
  }

  body {
    background: #fff;
    padding-bottom: 0
  }

  .policy-card {
    box-shadow: none
  }
}
body {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

img {
  pointer-events: none;
}