/* Additional styles for the site */

.hero-slider {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(81, 194, 179, 0.1), rgba(88, 91, 94, 0.1));
  z-index: 1;
}

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

.about-section {
  background-color: var(--dtc-light);
}

.services-section {
  background-color: var(--dtc-bg);
}

.testimonials-section {
  background-color: var(--dtc-light);
}

.contact-section {
  background: linear-gradient(135deg, var(--dtc-charcoal), var(--dtc-charcoal));
  color: white;
}

.contact-section .section-title h2 {
  color: white;
}

.contact-section .divider {
  background-color: var(--dtc-primary);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-control,
.contact-form .form-select {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--dtc-primary);
  color: white;
}

.contact-form .form-label {
  color: white;
}

/* Feature boxes */
.feature-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--dtc-light);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-box:hover {
  border-color: var(--dtc-primary);
  transform: translateY(-5px);
}

.feature-box-icon {
  font-size: 3rem;
  color: var(--dtc-primary);
  margin-bottom: var(--spacing-lg);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(81, 194, 179, 0.1), rgba(188, 199, 200, 0.1));
  border-radius: 0.5rem;
}

.feature-box h4 {
  color: var(--dtc-charcoal);
  margin-bottom: var(--spacing-md);
}

.feature-box p {
  color: var(--dtc-text-light);
  margin-bottom: 0;
}

/* Scroll animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonial slider */
.testimonial-carousel {
  position: relative;
}

.testimonial-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.testimonial-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--dtc-primary);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav button.active {
  background-color: var(--dtc-primary);
}

/* Pricing table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.pricing-table thead {
  background-color: var(--dtc-primary);
  color: white;
}

.pricing-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--dtc-border);
}

.pricing-table tbody tr:hover {
  background-color: var(--dtc-bg);
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background-color: var(--dtc-primary);
  color: white;
}

.badge-secondary {
  background-color: var(--dtc-charcoal);
  color: white;
}

.badge-light {
  background-color: var(--dtc-bg);
  color: var(--dtc-charcoal);
}

/* Loading animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--dtc-border);
  border-top-color: var(--dtc-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* Print styles */
@media print {
  .navbar,
  .footer-section,
  .contact-section {
    display: none;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
  :root {
    --dtc-primary: #3a9186;
    --dtc-charcoal: #1a1a1a;
    --dtc-text-dark: #000000;
    --dtc-text-light: #333333;
  }
}
