/* Privacy Policy & Terms of Service Styles */

.privacy-terms-container {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.privacy-terms-header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.privacy-terms-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.privacy-terms-content {
  padding: 60px 0;
  background-color: white;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 50px;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #3498db;
}

.policy-section h2 {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
  position: relative;
}

.policy-section h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #3498db;
}

.policy-subsection {
  margin-bottom: 30px;
}

.policy-subsection h3 {
  color: #34495e;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

.policy-subsection h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #3498db;
  border-radius: 50%;
}

.policy-subsection p {
  margin-bottom: 15px;
  text-align: justify;
  color: #555;
}

.policy-subsection ul {
  margin: 15px 0;
  padding-left: 25px;
}

.policy-subsection li {
  margin-bottom: 8px;
  color: #555;
  position: relative;
}

.policy-subsection li::marker {
  color: #3498db;
}

.policy-subsection strong {
  color: #2c3e50;
  font-weight: 600;
}

.policy-subsection a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.policy-subsection a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.back-to-top {
  text-align: center;
  margin: 40px 0;
}

.btn-back-to-top {
  display: inline-block;
  padding: 12px 30px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-back-to-top:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.privacy-terms-footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 0;
}

.privacy-terms-footer p {
  margin: 5px 0;
  opacity: 0.9;
}

.navigation-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
}

.nav-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f8f9fa;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.nav-link:hover {
  background-color: #3498db;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .privacy-terms-header {
    padding: 40px 0;
  }

  .privacy-terms-header h1 {
    font-size: 2rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }

  .privacy-terms-content {
    padding: 40px 0;
  }

  .policy-section {
    padding: 25px;
    margin-bottom: 30px;
  }

  .policy-section h2 {
    font-size: 1.6rem;
  }

  .policy-subsection h3 {
    font-size: 1.1rem;
  }

  .content-wrapper {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .privacy-terms-header h1 {
    font-size: 1.8rem;
  }

  .policy-section {
    padding: 20px;
    border-left-width: 3px;
  }

  .policy-section h2 {
    font-size: 1.4rem;
  }

  .policy-subsection h3 {
    font-size: 1rem;
    padding-left: 15px;
  }

  .policy-subsection h3::before {
    width: 6px;
    height: 6px;
  }

  .navigation-links {
    flex-direction: column;
    gap: 15px;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }
}

/* Print Styles */
@media print {
  .privacy-terms-header,
  .privacy-terms-footer,
  .back-to-top {
    display: none;
  }

  .policy-section {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .policy-section h2 {
    color: #000;
  }

  .policy-subsection a {
    color: #000;
    text-decoration: underline;
  }
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
.btn-back-to-top:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

/* Animation for sections */
.policy-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.policy-section:nth-child(2) {
  animation-delay: 0.1s;
}

.policy-section:nth-child(3) {
  animation-delay: 0.2s;
}

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