:root {
  --primary-color: #3498db;
  --secondary-color: #2980b9;
  --text-color: #2c3e50;
  --background-color: #ecf0f1;
  --accent-color: #e74c3c;
  --section-bg-color: #ffffff;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.policy-page {
  padding: clamp(3rem, 6vw, 5rem) 15px;
}

.policy-head {
  max-width: 620px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.policy-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0d97e9;
  background: rgba(13, 151, 233, 0.1);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.subheading {
text-align: center;
font-family: 'Barlow', sans-serif;
font-weight: 700;
font-size: clamp(2rem, 5vw, 3rem);
line-height: 1.1;
letter-spacing: -0.02em;
color: #0f172a;
  }

.subheading span {
    color: #0D97E9;
}

.policy-main {
  max-width: 1320px;
  margin: 0 auto;
}

@media (min-width: 1400px) {
  .policy-main {
    max-width: 1480px;
  }
}

.policy-commitment {
  background: linear-gradient(135deg, #0d97e9 0%, #0b7bc7 100%);
  color: #fff;
  border-radius: 22px;
  padding: 2.25rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 18px 44px rgba(13, 151, 233, 0.28);
}

.policy-commitment h3 {
  color: #fff !important;
  margin-bottom: 0.6rem;
}

.policy-commitment p {
  opacity: 0.94;
  margin: 0;
}

.policy-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(13, 151, 233, 0.14);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}

.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(13, 151, 233, 0.16);
  border-color: rgba(13, 151, 233, 0.32);
}

.policy-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: #0d97e9;
}

.policy-card p {
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}


@keyframes move-background {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(113px, 113px);
  }
}

.header-content {
  position: relative;
  z-index: 2;
}

h1 {
  font-family: 'Barlow', sans-serif;
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
}

.section {
  background-color: var(--section-bg-color);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

h2 {
  font-family: 'Barlow', sans-serif;
  color: var(--secondary-color);
  font-size: 1.40rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

h2::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: px;
  background-color: var(--secondary-color);
  margin-right: 10px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

p, ul {
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.last-updated {
  font-style: italic;
  text-align: right;
  color: #7f8c8d;
  margin-top: 2rem;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  transition: background-color 0.3s;
}

#back-to-top:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}


/* Keep policy cards compact on wide screens: 3 per row */
@media (min-width: 1200px) {
  .policy-grid > [class*="col-"] {
    flex: 0 0 auto;
    width: 33.3333%;
  }
}
