/**
 * DCBW Consulting - Custom Professional Styling
 * 
 * Professional consulting website styles
 * Emphasises credibility, expertise, and modern development
 */

/* ==============================================
   CUSTOM PROPERTIES & THEMING
   ============================================== */
:root {
  /* Professional colour palette */
  --dcbw-primary: #2563eb;      /* Professional blue */
  --dcbw-primary-dark: #1e40af;
  --dcbw-primary-light: #60a5fa;
  --dcbw-accent: #10b981;        /* Success green */
  --dcbw-secondary: #6366f1;     /* Purple accent */
  --dcbw-warning: #f59e0b;
  --dcbw-danger: #ef4444;
  
  /* Professional gradients */
  --dcbw-gradient-primary: linear-gradient(135deg, var(--dcbw-primary) 0%, var(--dcbw-secondary) 100%);
  --dcbw-gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --dcbw-gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(99, 102, 241, 0.95) 100%);
  
  /* Spacing */
  --dcbw-section-padding: 5rem 2rem;
  --dcbw-card-padding: 2rem;
  
  /* Shadows */
  --dcbw-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --dcbw-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --dcbw-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --dcbw-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

  /* Accent text colours (theme-specific) */
  --dcbw-accent-text: var(--dcbw-primary);
  --dcbw-accent-bold: var(--dcbw-primary-dark);
}

/* ==============================================
   NAVBAR & FOOTER OVERRIDES
   ============================================== */
/* Default navbar - dark background, light text */
.navbar {
  background: #1e293b !important;
  border-bottom: 1px solid #334155 !important;
}

.navbar a,
.navbar .navbar-brand,
.navbar .navbar-brand-link,
.navbar .navbar-brand-text,
.navbar .navbar-link,
.navbar .navbar-item {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar a:hover,
.navbar .navbar-link:hover {
  color: white !important;
}

/* Active menu item underline - covers all Domma navbar structures */
.navbar .nav-item.active > a,
.navbar .nav-item.active > .navbar-link,
.navbar .navbar-item.active > a,
.navbar .navbar-item.active,
.navbar a.active,
#main-nav .nav-item.active > a,
#main-nav .navbar-item.active > a,
#main-nav .navbar-item.active,
#main-nav a.active {
  color: white !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: white !important;
}

.navbar .navbar-brand-link {
  text-decoration: none !important;
}

.navbar .navbar-item:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Make navbar logo white */
.navbar .navbar-brand img,
.navbar-brand img {
  filter: brightness(0) invert(1);
  height: 32px;
  width: auto;
}

/* Keep footer dark on light theme */
/* Footer styling - consistent across themes */
.footer-professional,
.footer {
  background: #1e293b !important;
  color: #94a3b8 !important;
}

.footer-professional a,
.footer a {
  color: #cbd5e1 !important;
}

.footer-professional a:hover,
.footer a:hover {
  color: #ffffff !important;
}

/* ==============================================
   BUTTON STYLES
   ============================================== */
.btn {
  text-decoration: none !important;
  display: inline-block;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--dcbw-primary);
  border-color: var(--dcbw-primary);
  color: white !important;
  text-decoration: none !important;
}

.btn-primary:hover {
  background-color: var(--dcbw-primary-dark);
  border-color: var(--dcbw-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-light {
  background-color: white;
  border-color: white;
  color: var(--dcbw-primary) !important;
  text-decoration: none !important;
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--dcbw-primary);
  color: var(--dcbw-primary) !important;
  text-decoration: none !important;
}

.btn-outline:hover {
  background-color: var(--dcbw-primary);
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white !important;
  text-decoration: none !important;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
}

/* ==============================================
   HERO SECTION
   ============================================== */
.hero-professional {
  background: var(--dcbw-gradient-primary);
  color: white;
  padding: 4rem 2rem;
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* REMOVED: Rotating glow pseudo-element - using bg-ambient-float-blobs instead */

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-image-inset {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 220px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-inset:hover {
  transform: scale(1.05) rotate(2deg);
}

.hero-image-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero-image-inset {
    width: 150px;
    height: 150px;
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-image-inset {
    display: none;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 800px;
}

.hero-description {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  max-width: 700px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==============================================
   WHY DCBW SECTION - STATS CARDS
   ============================================== */
.why-stats-card {
  position: relative;
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-stats-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-stats-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 100%);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-stats-card:hover .why-stats-card-bg {
  transform: scale(1.05);
}

.why-stats-card:hover .why-stats-card-overlay {
  opacity: 0.9;
}

.why-stats-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.why-stats-card-content {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 140px;
  text-align: center;
}

.why-stats-card-content h2 {
  color: var(--dcbw-accent-text) !important;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.why-stats-card-content p {
  color: var(--dm-text-secondary) !important;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

/* ==============================================
   CREDIBILITY METRICS
   ============================================== */
.metrics-bar {
  background: white;
  padding: 2rem;
  margin: -2rem 2rem 0;
  border-radius: 12px;
  box-shadow: var(--dcbw-shadow-xl);
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.metric-item {
  padding: 1rem;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dcbw-accent-text);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dm-text-secondary);
  font-weight: 500;
}

/* ==============================================
   DOMMA CARD TEXT OVERRIDES
   ============================================== */
/* Override Domma's hardcoded gray card text with semantic variables */
.card-title {
  color: var(--dm-text) !important;
}

.card-subtitle {
  color: var(--dm-text-secondary) !important;
}

.card-text {
  color: var(--dm-text-secondary) !important;
}

.card-footer {
  background-color: transparent !important;
  border-top-color: var(--dm-border) !important;
}

.card-header {
  background-color: transparent !important;
  border-bottom-color: var(--dm-border) !important;
  color: var(--dm-text) !important;
}

/* Override links to use theme-aware colors with better contrast */
a:not(.btn):not(.navbar-brand):not(.navbar-link) {
  color: var(--dm-primary) !important;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(var(--dm-primary-rgb, 96, 165, 250), 0.3);
  text-underline-offset: 2px;
}

a:not(.btn):not(.navbar-brand):not(.navbar-link):hover {
  color: var(--dm-primary-hover) !important;
  text-decoration-color: var(--dm-primary-hover);
}

/* Ensure headings use proper text color */
h1, h2, h3, h4, h5, h6 {
  color: var(--dm-text);
}

/* Paragraph text */
p {
  color: var(--dm-text-secondary);
}

/* Labels and small text */
label, small {
  color: var(--dm-text-secondary);
}

/* Form inputs */
input, textarea, select {
  color: var(--dm-text);
  background-color: var(--dm-card-bg);
  border-color: var(--dm-border);
}

input::placeholder,
textarea::placeholder {
  color: var(--dm-text-muted);
}

/* Badges */
.badge {
  background-color: var(--dm-primary);
  color: white;
}

/* List items */
li {
  color: var(--dm-text-secondary);
}

/* Strong and emphasis */
strong, b {
  color: var(--dm-text);
}

/* ==============================================
   SERVICES CARDS
   ============================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--dm-card-bg);
  border: 1px solid var(--dm-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--dcbw-gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dcbw-shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--dcbw-gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dm-text);
}

.service-description {
  color: var(--dm-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.tech-badge {
  background: var(--dm-gray-100);
  color: var(--dm-text);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ==============================================
   SECTOR EXPERTISE
   ============================================== */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* Responsive adjustments for sectors */
@media (max-width: 1200px) {
  .sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sector-grid {
    grid-template-columns: 1fr;
  }
}

.sector-card {
  text-align: center;
  padding: 2rem;
  background: var(--dm-card-bg);
  border-radius: 12px;
  border: 1px solid var(--dm-border);
  transition: all 0.3s ease;
}

.sector-card:hover {
  background: var(--dcbw-gradient-primary);
  color: white;
  transform: translateY(-6px);
  box-shadow: var(--dcbw-shadow-lg);
}

.sector-card:hover .sector-icon {
  background: white;
  color: var(--dcbw-primary);
  transform: scale(1.05);
}

.sector-card:hover .sector-projects {
  color: rgba(255, 255, 255, 0.9);
}

.sector-icon {
  width: 80px;
  height: 80px;
  background: var(--dm-gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--dcbw-primary);
  transition: all 0.3s ease;
}

.sector-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sector-projects {
  font-size: 0.875rem;
  color: var(--dm-text-secondary);
  transition: all 0.3s ease;
}

/* ==============================================
   TECHNOLOGY SHOWCASE
   ============================================== */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-category {
  background: var(--dm-card-bg);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--dm-border);
}

.tech-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--dcbw-accent-text);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--dm-gray-50);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: var(--dm-gray-100);
  transform: translateX(6px);
}

.tech-name {
  font-weight: 500;
  color: var(--dm-text);
}

.tech-experience {
  font-size: 0.875rem;
  color: var(--dm-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.experience-bar {
  width: 60px;
  height: 4px;
  background: var(--dm-gray-200);
  border-radius: 2px;
  overflow: hidden;
}

.experience-fill {
  height: 100%;
  background: var(--dcbw-gradient-primary);
  border-radius: 2px;
}

/* ==============================================
   PORTFOLIO/CASE STUDIES
   ============================================== */
.portfolio-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background: var(--dm-gray-100);
  border: 1px solid var(--dm-border);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: var(--dm-gray-200);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
  background: var(--dcbw-primary);
  color: white;
  border-color: var(--dcbw-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--dm-card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--dm-border);
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dcbw-shadow-lg);
}

.portfolio-header {
  background: var(--dcbw-gradient-primary);
  color: white;
  padding: 1.5rem;
}

.portfolio-sector {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.portfolio-body {
  padding: 1.5rem;
}

.portfolio-challenge {
  color: var(--dm-text);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.portfolio-results {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.result-badge {
  background: var(--dcbw-accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==============================================
   AVAILABILITY INDICATOR
   ============================================== */
.availability-status {
  color: var(--dm-gray-900);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--dm-gray-100);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dcbw-accent);
  animation: pulse 2s infinite;
}

.availability-status.available .availability-dot {
  background: var(--dcbw-accent);
}

.availability-status.busy .availability-dot {
  background: var(--dcbw-warning);
}

.availability-status.unavailable .availability-dot {
  background: var(--dcbw-danger);
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ==============================================
   SECTION STYLING
   ============================================== */
.section {
  padding: var(--dcbw-section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: var(--dcbw-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dm-text);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--dm-text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==============================================
   PROFESSIONAL FOOTER
   ============================================== */
.footer-professional {
  background: var(--dcbw-gradient-dark);
  color: var(--dm-gray-400);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
}

/* Footer content now uses Domma Grid classes directly in HTML */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  width: 32px;
  height: 32px;
}

.footer-description {
  line-height: 1.6;
  opacity: 0.8;
}

.footer-column h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--dm-gray-400);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--dcbw-primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 768px) {
  .hero-title {
    color: white;
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-logo {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    color: white;
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .services-grid,
  .sector-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================
   ANIMATIONS
   ============================================== */
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

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

@keyframes heroRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Apply rotating background to jumbotrons too */
.jumbotron-primary {
  position: relative;
  overflow: hidden;
}

.jumbotron-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  animation: heroRotate 30s linear infinite;
}

.jumbotron-primary .container {
  position: relative;
  z-index: 1;
}

.stagger-delay-1 { animation-delay: 0.1s; }
.stagger-delay-2 { animation-delay: 0.2s; }
.stagger-delay-3 { animation-delay: 0.3s; }
.stagger-delay-4 { animation-delay: 0.4s; }

/* ==============================================
   ADDITIONAL HOMEPAGE STYLES
   ============================================== */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--dm-gray-50);
}

.section-badge {
  display: inline-block;
  background: var(--dcbw-primary);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dm-text);
}

.section-description {
  font-size: 1.125rem;
  color: var(--dm-text-secondary);
  margin-bottom: 2rem;
}

/* Service Cards for Homepage */
.service-card {
  background: var(--dm-card-bg);
  border: 1px solid var(--dm-border);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dcbw-shadow-lg);
}

.service-icon {
  margin-bottom: 1.5rem;
  color: var(--dcbw-primary);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dm-text);
}

.service-description {
  color: var(--dm-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: var(--dcbw-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--dcbw-primary-dark);
  text-decoration: none;
  transform: translateX(4px);
}

/* Stat Cards */
.stat-card {
  background: white;
  border: 1px solid var(--dm-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dcbw-shadow-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dcbw-accent-text);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dm-text-secondary);
}

/* Feature Cards */
.feature-card {
  background: white;
  border: 1px solid var(--dm-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dcbw-shadow-md);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dm-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Technology Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.tech-category h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dm-text);
}

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

.tech-tag {
  display: inline-block;
  background: var(--dm-gray-100);
  color: var(--dm-text);
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--dcbw-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

/* CTA Section */
.cta-section {
  background: var(--dcbw-gradient-primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

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

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Text utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.g-4 { gap: 1.5rem; }

/* Additional utilities */
.py-5 { 
  padding-top: 3rem !important; 
  padding-bottom: 3rem !important;
}
.bg-light {
  background-color: var(--dm-gray-50) !important;
}
.bg-primary {
  background-color: var(--dcbw-primary) !important;
}
.text-white {
  color: white !important;
}
.text-muted {
  color: var(--dm-text-secondary) !important;
}
.text-primary {
  color: var(--dcbw-primary) !important;
}
.lead {
  font-size: 1.25rem;
  font-weight: 300;
}
.d-flex {
  display: flex !important;
}
.flex-wrap {
  flex-wrap: wrap !important;
}
.justify-content-center {
  justify-content: center !important;
}
.gap-2 {
  gap: 0.5rem !important;
}
.gap-3 {
  gap: 1rem !important;
}
.me-2 {
  margin-right: 0.5rem !important;
}
.mb-2 {
  margin-bottom: 0.5rem !important;
}
.mb-3 {
  margin-bottom: 1rem !important;
}
.mt-3 {
  margin-top: 1rem !important;
}
.small {
  font-size: 0.875rem;
}
.text-uppercase {
  text-transform: uppercase !important;
}
.h-100 {
  height: 100% !important;
}

/* Responsive column fixes */
@media (max-width: 768px) {
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* ==============================================
   CONTACT PAGE STYLES
   ============================================== */

/* Contact page container */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Contact grid - two column layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Contact form card */
.contact-form-card {
  height: fit-content;
}

.contact-form-card .card-header {
  padding: 2rem 2rem 0;
}

.contact-form-card .card-body {
  padding: 2rem;
}

/* Contact info section - uses row/col grid */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Contact info cards */
.contact-card {
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
  margin-bottom: 1rem;
  color: var(--dcbw-primary);
}

.contact-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dm-text);
}

.contact-card-content {
  color: var(--dm-text-secondary);
  line-height: 1.6;
}

.contact-card-content a {
  color: var(--dcbw-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card-content a:hover {
  color: var(--dcbw-primary-dark);
  transform: translateX(2px);
}

.contact-card-content small {
  font-size: 0.875rem;
  opacity: 0.8;
  display: block;
  margin-top: 0.25rem;
}

/* Availability card special styling */
.availability-card {
  background: var(--dcbw-gradient-primary) !important;
  color: white;
  padding: 2rem 1.5rem;
}

.availability-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Form styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dm-text);
}

.required {
  color: var(--dcbw-danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--dm-border);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--dm-card-bg);
  color: var(--dm-text);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--dcbw-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dm-border);
  margin-top: 1rem;
}

.form-note {
  font-size: 0.875rem;
  color: var(--dm-text-secondary);
}

/* Success and error messages */
.success-message,
.error-message {
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
}

.success-message {
  background: #f0fdf4;
  border: 1px solid #10b981;
  color: #065f46;
}

.error-message {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* Responsive contact card spacing */
@media (max-width: 767px) {
  .contact-info-section .mb-4 {
    margin-bottom: 1.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  /* Tablet: ensure proper spacing for 2-column layout */
  .contact-info-section .row {
    margin-bottom: 1rem;
  }
}