/* ============================================================
   FISDeaf Production CSS — compiled from all 7 HTML files
   Replaces Tailwind CDN (350KB JS) with static CSS (~25KB)
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background-color: #F8F9FA; color: #1A1A1A; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---- Layout ---- */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ---- Position ---- */
.sticky { position: sticky; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }

/* ---- Z-index ---- */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ---- Flexbox ---- */
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* ---- Grid ---- */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---- Gap ---- */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* ---- Width ---- */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }

/* ---- Height ---- */
.h-2 { height: 0.5rem; }
.h-5 { height: 1.25rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-64 { height: 16rem; }
.h-full { height: 100%; }

/* ---- Max Width ---- */
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

/* ---- Margin ---- */
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-4 { margin-left: 1rem; }
.ml-5 { margin-left: 1.25rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.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-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* ---- Padding ---- */
.p-2 { padding: 0.5rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pl-10 { padding-left: 2.5rem; }

/* ---- Space Y ---- */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }

/* ---- Typography ---- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.whitespace-nowrap { white-space: nowrap; }
.line-clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Text Colors ---- */
.text-white { color: #ffffff; }
.text-white\/90 { color: rgba(255,255,255,0.9); }
.text-slate-400 { color: #94a3b8; }
.text-emerald-500 { color: #10b981; }
.text-red-500 { color: #ef4444; }
.text-\[\#0077CC\] { color: #0077CC; }
.text-\[\#00B2A9\] { color: #00B2A9; }
.text-\[\#3B9EFF\] { color: #3B9EFF; }
.text-\[\#1A1A1A\] { color: #1A1A1A; }
.text-\[\#1A1A1A\]\/60 { color: rgba(26,26,26,0.60); }
.text-\[\#1A1A1A\]\/80 { color: rgba(26,26,26,0.80); }
.text-\[\#1A1A1A\]\/85 { color: rgba(26,26,26,0.85); }
.text-\[\#1A1A1A\]\/90 { color: rgba(26,26,26,0.90); }

/* ---- Background Colors ---- */
.bg-white { background-color: #ffffff; }
.bg-\[\#F8F9FA\] { background-color: #F8F9FA; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-\[\#FF6B5E\] { background-color: #FF6B5E; }
.bg-\[\#3B9EFF\] { background-color: #3B9EFF; }
.bg-\[\#00B2A9\]\/10 { background-color: rgba(0,178,169,0.1); }
.bg-\[#00B2A9\]\/10 { background-color: rgba(0,178,169,0.1); }

/* Gradient helper — combined selectors handle from+to together */
.bg-gradient-to-r.from-\[\#081C38\] { background-image: linear-gradient(to right, #081C38, #153A70); }

/* ---- Borders ---- */
.border { border-width: 1px; border-style: solid; border-color: #e2e8f0; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #e2e8f0; }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: #e2e8f0; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-\[\#00B2A9\] { border-color: #00B2A9; }

/* ---- Border Radius ---- */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

/* ---- Shadows ---- */
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1); }

/* ---- Overflow ---- */
.overflow-hidden { overflow: hidden; }

/* ---- Object Fit ---- */
.object-cover { object-fit: cover; }

/* ---- Opacity ---- */
.opacity-5 { opacity: 0.05; }
.opacity-75 { opacity: 0.75; }
.opacity-80 { opacity: 0.80; }
.opacity-90 { opacity: 0.90; }

/* ---- Pointer / Cursor ---- */
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

/* ---- List ---- */
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.list-outside { list-style-position: outside; }

/* ---- Resize ---- */
.resize-y { resize: vertical; }

/* ---- Transitions ---- */
.transition { transition-property: color, background-color, border-color, opacity, box-shadow, transform; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }

/* ---- Hover States ---- */
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-\[\#E55F53\]:hover { background-color: #E55F53; }
.hover\:bg-\[\#1a7de0\]:hover { background-color: #1a7de0; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1); }
.hover\:text-\[\#3B9EFF\]:hover { color: #3B9EFF; }
.hover\:text-\[\#0077CC\]:hover { color: #0077CC; }
.hover\:text-\[\#005FA3\]:hover { color: #005FA3; }
.hover\:underline:hover { text-decoration-line: underline; }

/* ---- Focus States ---- */
.focus\:outline-none:focus { outline: none; }
.focus\:border-\[\#0077CC\]:focus { border-color: #0077CC; }
.focus\:ring-\[\#0077CC\]:focus { box-shadow: 0 0 0 3px rgba(0,119,204,0.3); }

/* ---- Group Hover ---- */
.group:hover .group-hover\:bg-\[\#00B2A9\] { background-color: #00B2A9; }

/* ---- Prose ---- */
.prose { color: rgba(26,26,26,0.85); }
.prose p { margin-bottom: 1em; }
.prose-lg { font-size: 1.125rem; line-height: 1.75rem; }

/* ============================================================
   Custom Brand Styles
   ============================================================ */

.hero-gradient { background: linear-gradient(135deg, #0A1628 0%, #0D2550 55%, #1a3a6b 100%); }
.footer-gradient { background: linear-gradient(135deg, #0A1628 0%, #0D2550 60%, #1a3a6b 100%); }
.blue-accent { background: linear-gradient(135deg, #0A1628, #1a3a6b); }

.btn-primary { background: #3B9EFF; color: #fff; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: #1a7de0; transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,0.65); color: #fff; text-decoration: none; transition: all 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.card-hover { transition: transform 0.3s, box-shadow 0.3s; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,82,165,0.13); }

.service-card { transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.service-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px -12px rgba(0,51,102,0.15); }

.Family-card { transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.Family-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0,51,102,0.1), 0 8px 10px -6px rgba(0,51,102,0.1); }

.resource-card { transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.resource-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0,51,102,0.1); }

.accent-bar { width: 52px; height: 4px; background: #3B9EFF; border-radius: 2px; margin: 0 auto; }

#mobile-menu { display: none; }
#mobile-menu.open { display: block !important; }

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

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

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:flex-row { flex-direction: row; }
  .md\:p-14 { padding: 3.5rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-left { text-align: left; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:inline-flex { display: inline-flex; }
}
