
html {
  scroll-behavior: smooth;
}


::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-200);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* Page Title Section */
.page-title {
  background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-200) 100%);
  padding: 120px 0 var(--space-6) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(166,123,91,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(166,123,91,0.05)"/><circle cx="50" cy="10" r="1" fill="rgba(166,123,91,0.03)"/><circle cx="10" cy="60" r="1" fill="rgba(166,123,91,0.03)"/><circle cx="90" cy="40" r="1" fill="rgba(166,123,91,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.page-title h1 {
  font-size: 3rem;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 2;
}

.page-title .lead {
  font-size: 1.3rem;
  color: var(--neutral-700);
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Terms Content */
.legal-terms-content {
  background: var(--neutral-200);
}

.legal-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(166, 123, 91, 0.08);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.legal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(166, 123, 91, 0.15);
}

.legal-card:nth-child(1) { animation-delay: 0.1s; }
.legal-card:nth-child(2) { animation-delay: 0.2s; }
.legal-card:nth-child(3) { animation-delay: 0.3s; }
.legal-card:nth-child(4) { animation-delay: 0.4s; }
.legal-card:nth-child(5) { animation-delay: 0.5s; }
.legal-card:nth-child(6) { animation-delay: 0.6s; }
.legal-card:nth-child(7) { animation-delay: 0.7s; }
.legal-card:nth-child(8) { animation-delay: 0.8s; }
.legal-card:nth-child(9) { animation-delay: 0.9s; }

.legal-card-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.legal-card-header i {
  font-size: 1.5rem;
  opacity: 0.9;
}

.legal-card-header h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.legal-card-body {
  padding: var(--space-4);
}

.legal-card-body p {
  color: var(--neutral-700);
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0;
}

/* Contact CTA Section */
.contact-cta {
  background: white;
  border-top: 1px solid var(--neutral-300);
}

.contact-header {
  text-align: center;
}

.contact-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.contact-info-card {
  background: var(--neutral-100);
  padding: var(--space-4);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(166, 123, 91, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.contact-details p {
  margin-bottom: var(--space-1);
  color: var(--neutral-700);
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Alert styling */
.alert-info {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--neutral-800);
  border-radius: var(--border-radius);
}

.alert-info .fas {
  color: var(--accent);
}


/* Responsive Design */
@media (max-width: 1199px) {
  .page-title h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 991px) {
  .page-title h1 {
    font-size: 2.2rem;
  }
  
  .page-title .lead {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  :root {
    --space-6: 2.5rem;
    --space-5: 2rem;
  }
  
  .page-title {
    padding: 100px 0 var(--space-4) 0;
  }
  
  .page-title h1 {
    font-size: 1.8rem;
  }
  
  .page-title .lead {
    font-size: 1.1rem;
  }
  
  .legal-card-header h2 {
    font-size: 1.2rem;
  }
  
  .legal-card-body {
    padding: var(--space-3);
  }
  
  .contact-info-card {
    padding: var(--space-3);
  }
  
  
  .brand-text {
    display: none;
  }
  
}


.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-1) !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-3 { margin-bottom: var(--space-3) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-5 { margin-bottom: var(--space-5) !important; }

.mt-4 { margin-top: var(--space-4) !important; }
.mt-5 { margin-top: var(--space-5) !important; }

.rounded-lg {
  border-radius: calc(var(--border-radius) * 1.5) !important;
}

/* Loading States and Micro-interactions */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.social-link:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(217, 198, 165, 0.25) !important;
}

/* Print styles */
@media print {
  .contact-cta{
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .page-title,
  .legal-terms-content {
    background: white !important;
    padding: 1rem 0 !important;
  }

}