
/* === SDI Refinement Layer — Wow Factor Polish === */

/* Better section spacing */
section { padding-top: 4rem !important; padding-bottom: 4rem !important; }
section:first-of-type { padding-top: 0 !important; }

/* Improved hero */
h1 { letter-spacing: -0.02em; line-height: 1.05; }
h1 em, h1 strong { 
  background: linear-gradient(135deg, #FF8A3D, #FFB87A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

/* Gradient CTA buttons */
.btn, button[type="submit"], a[href*="application"]:not([href*="http"]) {
  background: linear-gradient(135deg, #062845 0%, #0d3a5e 100%) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
}
.btn::before, button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,138,61,0.3), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before, button[type="submit"]:hover::before { left: 100%; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,40,69,0.3); }

/* Programme number badges */
[class*="programme"] .number, .programme-number {
  background: linear-gradient(135deg, #062845, #FF8A3D);
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

/* Client logos marquee polish */
[class*="client"], [class*="partner"] {
  filter: grayscale(0.8) brightness(0.9);
  opacity: 0.65;
  transition: all 0.3s ease;
}
[class*="client"]:hover, [class*="partner"]:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

/* Stats card refinement */
.stat, [class*="stat"] {
  background: linear-gradient(135deg, rgba(6,40,69,0.03), rgba(255,138,61,0.05));
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(6,40,69,0.08);
}

/* Method steps — numbered circles */
.method-step, [class*="method-step"] {
  position: relative;
}
.method-step .step-number, .method-step .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #062845, #FF8A3D);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}

/* Newsletter card polish */
[class*="newsletter"], form[action*="newsletter"] {
  background: linear-gradient(135deg, #062845, #0d3a5e);
  color: #F5F3EF;
  border-radius: 16px;
  padding: 2rem;
}
[class*="newsletter"] input, form[action*="newsletter"] input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}
[class*="newsletter"] input::placeholder { color: rgba(255,255,255,0.5); }

/* Card shadows — softer, more premium */
.card, [class*="card"] {
  box-shadow: 0 2px 8px rgba(6,40,69,0.06);
  border-radius: 12px;
}

/* Link hover — smooth underline */
a:not([href^="#"]):not([href^="tel"]):not([href^="mailto"]):not([href^="http"]) {
  position: relative;
  text-decoration: none;
}
a:not([href^="#"]):not([href^="tel"]):not([href^="mailto"]):not([href^="http"])::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #FF8A3D;
  transition: width 0.3s ease;
}
a:not([href^="#"]):not([href^="tel"]):not([href^="mailto"]):not([href^="http"]):hover::after {
  width: 100%;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F4F1EA; }
::-webkit-scrollbar-thumb { background: #062845; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #FF8A3D; }

/* Selection color */
::selection { background: rgba(255,138,61,0.25); color: #062845; }

/* Dark section text refinement */
section[class*="dark"], section[style*="background:#06"], section[style*="background: #06"] {
  color: #F5F3EF;
}
section[class*="dark"] h2, section[style*="background:#06"] h2 {
  color: white;
}

/* Mobile nav improvements */
@media (max-width: 768px) {
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.5rem !important; }
  section { padding: 2rem 1rem !important; }
  .stat { margin-bottom: 1rem; }
  #sdi-wa-float { width: 48px; height: 48px; bottom: 16px; left: 16px; }
}

/* Loading skeleton for images */
img { background: linear-gradient(90deg, #F4F1EA, #E8E5DE, #F4F1EA); background-size: 200% 100%; }
img.loaded { background: transparent; }

/* Focus visible — accessibility */
*:focus-visible {
  outline: 3px solid #FF8A3D;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print styles */
@media print {
  #sdi-wa-float, nav, footer { display: none !important; }
  section { page-break-inside: avoid; }
}
