/*! Tailwind CSS - Custom build for Arcuity Brand System */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --arcuity-blue: #0055A4;
  --arcuity-deep-blue: #003366;
  --arcuity-light-blue: #4A90E2;
  --arcuity-charcoal: #333333;
  --arcuity-light-gray: #F5F7FA;
  --status-green: #4A90E2;
  --status-orange: #F5F7FA;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', -apple-system, 'Segoe UI', sans-serif;
  background-color: var(--arcuity-light-gray);
  color: var(--arcuity-charcoal);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--arcuity-blue);
  line-height: 1.2;
}

h1 { font-size: 2.25rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.875rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1rem; line-height: 1.6; }
a { color: var(--arcuity-blue); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--arcuity-light-blue); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.gap-0 { gap: 0; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.w-full { width: 100%; }
.w-1/2 { width: 50%; }
.mx-auto { margin: 0 auto; }
.ms-auto { margin-left: auto; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding: 0 1rem; }
.px-6 { padding: 0 1.5rem; }
.py-4 { padding: 1rem 0; }
.py-8 { padding: 2rem 0; }
.py-12 { padding: 3rem 0; }
.py-16 { padding: 4rem 0; }
.py-20 { padding: 5rem 0; }
.py-32 { padding: 8rem 0; }

.border { border: 1px solid var(--arcuity-light-gray); }
.border-t { border-top: 1px solid var(--arcuity-light-gray); }
.rounded-lg { border-radius: 0.5rem; }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

.bg-white { background-color: white; }
.bg-arcuity-blue { background-color: var(--arcuity-blue); }
.bg-arcuity-deep-blue { background-color: var(--arcuity-deep-blue); }
.bg-arcuity-light-gray { background-color: var(--arcuity-light-gray); }
.bg-transparent { background-color: transparent; }
.bg-none { background: none; }
.bg-light { background-color: #f8f9fa; }
.bg-dark { background-color: var(--arcuity-charcoal); }

.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-arcuity-deep-blue { --tw-gradient-from: var(--arcuity-deep-blue); --tw-gradient-stops: var(--tw-gradient-from); }
.to-arcuity-blue { --tw-gradient-to: var(--arcuity-blue); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }

.text-white { color: white; }
.text-arcuity-blue { color: var(--arcuity-blue); }
.text-arcuity-charcoal { color: var(--arcuity-charcoal); }
.text-muted { color: var(--arcuity-light-blue); }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }
.opacity-95 { opacity: 0.95; }

.font-montserrat { font-family: 'Montserrat', sans-serif; }
.font-open-sans { font-family: 'Open Sans', sans-serif; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.hidden { display: none; }
.block { display: block; }
.grid { display: grid; }
.transition { transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-primary { background-color: var(--arcuity-blue); color: white; }
.btn-primary:hover { background-color: var(--arcuity-light-blue); box-shadow: 0 4px 12px rgba(0,85,164,0.3); }

.btn-secondary { background-color: white; color: var(--arcuity-blue); border: 2px solid var(--arcuity-blue); }
.btn-secondary:hover { background-color: var(--arcuity-blue); color: white; }

.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: box-shadow 0.3s;
}

.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }

/* Bootstrap compatibility */
.row { display: flex; flex-wrap: wrap; margin: -0.5rem; }
.row > * { padding: 0.5rem; }
.col-md-6 { flex: 0 0 50%; }
.col-md-4 { flex: 0 0 33.333%; }
.col-md-3 { flex: 0 0 25%; }
.col-md-12 { flex: 0 0 100%; }
.col-6 { flex: 0 0 50%; }
.col-12 { flex: 0 0 100%; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.no-gutters > * { padding: 0; }

/* Slick carousel */
.slick-slide { outline: none; }
.slick-dots { display: flex; justify-content: center; padding: 0; margin: 0; list-style: none; }
.slick-dots li { margin: 0 0.5rem; }
.slick-dots li button { width: 12px; height: 12px; border-radius: 50%; border: none; background: var(--arcuity-light-gray); cursor: pointer; padding: 0; }
.slick-dots li.slick-active button { background-color: var(--arcuity-blue); }

@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.875rem; }
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
  .md\:py-24 { padding: 6rem 0; }
  .md\:py-32 { padding: 8rem 0; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
}

/* CRITICAL: Override any dark backgrounds with brand light gray */
body, .ar-hero-typewriter, .sr-cover, .sr-multicol-media, .widget_1615404860052, .widget_1615404472216,
section, div[style*="background"], .bg-dark, .bg-gray-800, .bg-gray-900 {
  background-color: #F5F7FA !important;
  background-image: none !important;
}

/* Preserve white and blue backgrounds */
.bg-white, .bg-arcuity-blue, .bg-arcuity-deep-blue,
section.bg-white, section.bg-arcuity-blue, footer {
  background-color: inherit !important;
}

/* Force hero gradient if it has special class */
.hero, .hero-section {
  background: linear-gradient(to right, #003366, #0055A4) !important;
}
