/* Bootstrap 5 - via CDN in HTML */
/* Custom Styles for Dev87 */

:root {
  --color-primary: #2a2a2a;
  --color-secondary: #5a5a5a;
  --color-accent: #003d82;
  --color-light-bg: #fafafa;
  --color-dark-text: #1a1a1a;
  --color-muted-text: #666666;
  --color-border: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-light-bg);
  color: var(--color-dark-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--color-dark-text);
}

p {
  color: var(--color-muted-text);
}

/* Navigation */
nav {
  background-color: white;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

nav .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary) !important;
}

nav .navbar-brand span {
  color: var(--color-accent);
}

nav a {
  color: var(--color-dark-text) !important;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-accent) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-light-bg) 0%, white 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310419663028333298/EtTSz57SDikMorMqYmK9f6/hero-dev87-main-FpokDWFVCMHGAMPrPHX4n2.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-muted-text);
}

.divider-line {
  width: 3rem;
  height: 0.25rem;
  background-color: var(--color-accent);
  margin: 0 auto 1rem;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--color-muted-text);
}

/* Service Cards */
.service-card {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(0, 61, 130, 0.1);
  transform: translateY(-4px);
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  background-color: rgba(0, 61, 130, 0.1);
  color: var(--color-accent);
  padding: 0.375rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Process Steps */
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-accent);
  color: white;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.95rem;
}

/* Product Cards */
.product-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-tagline {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.product-content p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background-color: rgba(42, 42, 42, 0.05);
  color: var(--color-primary);
  padding: 0.375rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.product-link:hover {
  color: var(--color-primary);
}

/* Differentials */
.differential-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.differential-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.differential-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.differential-item p {
  font-size: 0.95rem;
}

/* Sections */
section {
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
}

section.bg-light {
  background-color: rgba(0, 61, 130, 0.05);
}

/* Footer */
footer {
  background-color: rgba(0, 61, 130, 0.05);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer a {
  color: var(--color-muted-text);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--color-accent);
}

footer .footer-section {
  margin-bottom: 2rem;
}

footer .footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--color-muted-text);
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-accent {
  color: var(--color-accent);
}

.text-muted {
  color: var(--color-muted-text);
}

.border-accent {
  border-color: var(--color-accent) !important;
}

.bg-light-accent {
  background-color: rgba(0, 61, 130, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item h3 {
    font-size: 1.75rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .process-step {
    gap: 1rem;
  }

  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}
