/* Custom styles for NDS.Live landing page */

:root {
  --primary-blue: #00668f;
  --primary-blue-dark: #004d6b;
  --primary-blue-light: #0080b3;
  --nds-red: #d8232a;
  --nds-red-dark: #b01e24;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* NDS Blue color classes */
.nds-text-primary {
  color: var(--primary-blue);
}

.nds-bg-primary {
  background-color: var(--primary-blue);
}

.nds-bg-primary-dark {
  background-color: var(--primary-blue-dark);
}

.nds-bg-gradient {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
}

.nds-hover-text-primary:hover {
  color: var(--primary-blue);
}

.nds-hover-bg-dark:hover {
  background-color: var(--primary-blue-dark);
}

.nds-bg-red {
  background-color: var(--nds-red);
}

.nds-hover-bg-red-dark:hover {
  background-color: var(--nds-red-dark);
}

/* Card hover effects */
.benefit-card,
.tool-card,
.news-card {
  transition: all 0.3s ease;
}

.benefit-card:hover,
.tool-card:hover,
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Image styling */
.benefit-image,
.tool-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.member-logo {
  width: 100%;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.member-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .benefit-image,
  .tool-image {
    height: 120px;
  }

  .member-logo {
    height: 60px;
  }
}

/* Icon styling for benefits without images */
.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* Technical features section */
.technical-feature-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-color: rgb(75, 85, 99); /* gray-600 */
}

.technical-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 102, 143, 0.3), 0 10px 10px -5px rgba(0, 102, 143, 0.2);
  border-color: var(--primary-blue);
}

.technical-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.technical-feature-card:hover::before {
  opacity: 1;
}
