/* ============================================
   Himalaya Mines – Privacy Policy Stylesheet
   Color palette extracted from company logo:
   - Deep Teal:    #0d4f4f
   - Emerald:      #1a8a6e
   - Jade:         #2ec4a0
   - Gold Accent:  #c5a04e
   - Dark Gold:    #a07d3a
   - Charcoal:     #1e2a2a
   - Slate:        #2d3e3e
   - Light BG:     #f4f7f6
   - Soft Divider: #d6dfd9
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f4f7f6;
  color: #2d3e3e;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(160deg, #0d4f4f 0%, #1a3a3a 50%, #0d4f4f 100%);
  padding: 52px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 220%;
  background: radial-gradient(ellipse at 50% 30%, rgba(197, 160, 78, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.header-logo {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(197, 160, 78, 0.3);
  position: relative;
  z-index: 1;
}

.header-app-name {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.header-app-name span {
  color: #c5a04e;
}

.header-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* ---------- Gold divider under header ---------- */
.header-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, #c5a04e, transparent);
}

/* ---------- Main Content ---------- */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 28px 64px;
}

/* ---------- Effective Date ---------- */
.effective-date {
  display: inline-block;
  background: linear-gradient(135deg, #e8f5f0, #dceee6);
  color: #0d4f4f;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(26, 138, 110, 0.2);
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

/* ---------- Intro Paragraph ---------- */
.intro-text {
  font-size: 1.05rem;
  color: #3a5050;
  line-height: 1.85;
  margin-bottom: 16px;
}

.intro-consent {
  font-size: 0.97rem;
  color: #4a6060;
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #d6dfd9;
}

/* ---------- Section Block ---------- */
.policy-section {
  margin-bottom: 12px;
  padding: 32px 0;
  border-bottom: 1px solid #e4ebe7;
}

.policy-section:last-child {
  border-bottom: none;
}

/* ---------- Section Heading ---------- */
.section-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0d4f4f;
  margin-bottom: 18px;
  padding-left: 16px;
  border-left: 4px solid #c5a04e;
  line-height: 1.4;
}

/* ---------- Section Content ---------- */
.section-content p {
  font-size: 1rem;
  color: #3a5050;
  line-height: 1.8;
  margin-bottom: 14px;
}

.section-content p:last-child {
  margin-bottom: 0;
}

/* ---------- Bullet Lists ---------- */
.section-content ul {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}

.section-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  font-size: 0.97rem;
  color: #3d5454;
  line-height: 1.7;
}

.section-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #1a8a6e, #2ec4a0);
  border-radius: 50%;
}

/* ---------- Highlight Box (for contact section) ---------- */
.contact-box {
  background: linear-gradient(135deg, #f0f7f4, #e7f0eb);
  border: 1px solid rgba(26, 138, 110, 0.15);
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 8px;
}

.contact-box p {
  margin-bottom: 6px !important;
  font-size: 1rem;
  color: #2d3e3e;
}

.contact-box .company-name {
  font-weight: 700;
  color: #0d4f4f;
  font-size: 1.05rem;
}

.contact-box a {
  color: #1a8a6e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-box a:hover {
  color: #c5a04e;
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1e2a2a;
  padding: 36px 24px;
  text-align: center;
  border-top: 3px solid #c5a04e;
}

.footer-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.footer-email a {
  color: #2ec4a0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-email a:hover {
  color: #c5a04e;
}

.footer-updated {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
}

/* ---------- Back-to-Top Button ---------- */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d4f4f, #1a8a6e);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(13, 79, 79, 0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  box-shadow: 0 6px 24px rgba(13, 79, 79, 0.45);
  background: linear-gradient(135deg, #1a8a6e, #2ec4a0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .site-header {
    padding: 40px 20px 36px;
  }

  .header-logo {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  .header-app-name {
    font-size: 1.35rem;
  }

  .header-title {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
  }

  .policy-container {
    padding: 32px 20px 48px;
  }

  .section-heading {
    font-size: 1.15rem;
  }

  .contact-box {
    padding: 22px 20px;
  }

  #back-to-top {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 32px 16px 30px;
  }

  .header-logo {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .header-app-name {
    font-size: 1.2rem;
  }

  .header-title {
    font-size: 0.85rem;
  }

  .policy-container {
    padding: 24px 16px 40px;
  }

  .effective-date {
    font-size: 0.82rem;
    padding: 6px 16px;
  }

  .section-heading {
    font-size: 1.08rem;
    padding-left: 14px;
  }

  .section-content ul li {
    padding-left: 24px;
    font-size: 0.93rem;
  }
}
