/* Auxiliary Pages CSS - About, Privacy Policy, Terms of Service, Cookie Policy */

.policy-page {
  min-height: 500px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #f1f5f9 100%);
}

.policy-content {
  background: var(--bg-white);
  padding: calc(var(--spacing-unit) * 8);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  line-height: 1.8;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.policy-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
}

.policy-content h2 {
  color: var(--primary-color);
  margin-top: calc(var(--spacing-unit) * 4);
  margin-bottom: calc(var(--spacing-unit) * 2);
  font-weight: 700;
  font-size: 1.5rem;
}

.policy-content h3 {
  color: var(--primary-color);
  margin-top: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  font-weight: 600;
  font-size: 1.25rem;
}

.policy-content p {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: calc(var(--spacing-unit) * 2);
  padding-left: calc(var(--spacing-unit) * 3);
  color: var(--text-secondary);
}

.policy-content li {
  margin-bottom: calc(var(--spacing-unit) * 1);
  line-height: 1.7;
}

.policy-content strong {
  color: var(--primary-color);
  font-weight: 600;
}

.policy-content a {
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(6, 182, 212, 0.3);
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.policy-content a:hover {
  color: var(--accent-secondary);
  text-decoration-color: var(--accent-secondary);
}

/* About page specific styles */
.about-blocks {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.about-block {
  background: var(--bg-white);
  padding: calc(var(--spacing-unit) * 8);
  border-radius: var(--border-radius);
  margin-bottom: calc(var(--spacing-unit) * 6);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-color), var(--accent-secondary));
}

.about-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.about-block h2 {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 4);
  font-weight: 800;
  font-size: 2rem;
  position: relative;
}

.about-block h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
  border-radius: 2px;
}

.about-block p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 400;
}

/* About page specific enhancements */
.team-photo,
.office-photo {
  margin: calc(var(--spacing-unit) * 4) 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.team-photo:hover,
.office-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.team-photo img,
.office-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-photo img:hover,
.office-photo img:hover {
  transform: scale(1.03);
}

.about-illustration {
  margin: calc(var(--spacing-unit) * 4) 0;
  display: flex;
  justify-content: center;
}

.about-illustration svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

/* Enhanced responsive design for pages */
@media (max-width: 768px) {
  .policy-content {
    padding: calc(var(--spacing-unit) * 4);
  }

  .about-block {
    padding: calc(var(--spacing-unit) * 5);
    margin-bottom: calc(var(--spacing-unit) * 4);
  }

  .about-block h2 {
    font-size: 1.75rem;
  }

  .about-block p {
    font-size: 16px;
  }

  .team-photo img,
  .office-photo img {
    height: 200px;
  }

  .about-illustration svg {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .policy-content {
    padding: calc(var(--spacing-unit) * 3);
  }

  .about-block {
    padding: calc(var(--spacing-unit) * 4);
  }

  .about-block h2 {
    font-size: 1.5rem;
  }

  .team-photo img,
  .office-photo img {
    height: 180px;
  }
}