/* Local utility layer replacing tailwind CDN for this project pages */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --tw-ring-color: rgba(59, 130, 246, 0.5);
}

/* Layout */
.container { width: 100%; margin-left: auto; margin-right: auto; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }
.z-\[9999\] { z-index: 9999; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }
.max-w-md { max-width: 28rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Flex/Grid helpers */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Spacing */
.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.m-0 { margin: 0; }
.m-4 { margin: 1rem; }
.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-14 { margin-bottom: 3.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

/* 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; }
.font-black { font-weight: 900; }
.leading-relaxed { line-height: 1.625; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }

/* Colors */
.text-white { color: #fff; }
.text-black { color: #000; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-primary { color: #00a0e4; }
.bg-white { background-color: #fff; }
.bg-black { background-color: #000; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-blue-100 { background-color: #dbeafe; }
.bg-red-500 { background-color: #ef4444; }

/* Borders / radius / shadows */
.border { border-width: 1px; border-style: solid; border-color: #e5e7eb; }
.border-2 { border-width: 2px; border-style: solid; border-color: #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-b-2 { border-bottom: 2px solid #e5e7eb; }
.border-t { border-top: 1px solid #e5e7eb; }
.border-t-2 { border-top: 2px solid #e5e7eb; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-600 { border-color: #4b5563; }
.border-blue-200 { border-color: #bfdbfe; }
.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; }
.shadow { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* Effects */
.transition-all { transition-property: all; transition-duration: .3s; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: .2s; }
.duration-300 { transition-duration: .3s; }
.transform { transform: translateZ(0); }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .5; } }

/* Hover/interactive */
.hover\:text-white:hover { color: #fff; }
.hover\:text-primary:hover { color: #00a0e4; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:opacity-90:hover { opacity: .9; }
.cursor-pointer { cursor: pointer; }

/* Responsive */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .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\:mb-3 { margin-bottom: 0.75rem; }
  .md\:mb-6 { margin-bottom: 1.5rem; }
  .md\:mb-8 { margin-bottom: 2rem; }
  .md\:mb-10 { margin-bottom: 2.5rem; }
  .md\:mb-14 { margin-bottom: 3.5rem; }
  .md\:mt-8 { margin-top: 2rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .md\:py-18 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .md\:pb-12 { padding-bottom: 3rem; }
  .md\:w-12 { width: 3rem; }
  .md\:h-12 { height: 3rem; }
  .md\:w-16 { width: 4rem; }
  .md\:h-16 { height: 4rem; }
  .md\:w-24 { width: 6rem; }
  .md\:h-24 { height: 6rem; }
}
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Extended utilities used across pages/components */
.w-4 { width: 1rem; } .h-4 { height: 1rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-8 { width: 2rem; } .h-8 { height: 2rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-12 { width: 3rem; } .h-12 { height: 3rem; }
.w-16 { width: 4rem; } .h-16 { height: 4rem; }
.w-20 { width: 5rem; } .h-20 { height: 5rem; }
.w-24 { width: 6rem; } .h-24 { height: 6rem; }
.h-32 { height: 8rem; } .h-40 { height: 10rem; } .h-48 { height: 12rem; }
.h-2 { height: .5rem; } .h-0\.5 { height: .125rem; }
.bottom-4 { bottom: 1rem; } .bottom-6 { bottom: 1.5rem; }
.left-6 { left: 1.5rem; } .left-1\/2 { left: 50%; } .inset-0 { inset: 0; }
.col-span-1 { grid-column: span 1 / span 1; } .col-span-2 { grid-column: span 2 / span 2; }
.mb-12 { margin-bottom: 3rem; }
.text-yellow-400 { color: #facc15; }
.bg-green-100 { background-color: #dcfce7; } .bg-yellow-100 { background-color: #fef9c3; }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.focus\:outline-none:focus { outline: none; }
.focus\:border-transparent:focus { border-color: transparent; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--tw-ring-color); }
.focus\:ring-primary:focus { --tw-ring-color: rgba(0, 160, 228, 0.45); }

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex-row { flex-direction: row; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 1024px) {
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* QA patch: additional utilities found in templates */
.animate-bounce { animation: bounce 1s infinite; }
.animate-fade-in-up { animation: fade-in-up .7s ease both; }
.aspect-video { aspect-ratio: 16 / 9; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-opacity-90 { --tw-bg-opacity: .9; }
.bg-primary { background-color: #00a0e4; }
.border-primary-blue { border-color: #00a0e4; }
.border-white\/50 { border-color: rgba(255,255,255,.5); }
.flex-shrink-0 { flex-shrink: 0; }
.items-baseline { align-items: baseline; }
.leading-none { line-height: 1; }
.max-w-xs { max-width: 20rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.mt-1 { margin-top: .25rem; }
.mt-3 { margin-top: .75rem; }
.mt-12 { margin-top: 3rem; }
.overflow-x-auto { overflow-x: auto; }
.pb-3 { padding-bottom: .75rem; }
.pb-20 { padding-bottom: 5rem; }
.pt-2 { padding-top: .5rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.right-6 { right: 1.5rem; }
.top-24 { top: 6rem; }
.rounded-full { border-radius: 9999px; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.text-blue-800 { color: #1e40af; }
.text-red-600 { color: #dc2626; }
.text-transparent { color: transparent; }
.w-0 { width: 0; }
.w-1 { width: .25rem; }
.w-5 { width: 1.25rem; }
.w-64 { width: 16rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.h-\[20vh\] { height: 20vh; }
.h-\[33vh\] { height: 33vh; }
.h-\[40vh\] { height: 40vh; }

.from-white { --tw-gradient-from: #fff; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }
.from-yellow-400 { --tw-gradient-from: #facc15; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250,204,21,0)); }
.from-blue-600 { --tw-gradient-from: #2563eb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37,99,235,0)); }
.from-blue-700 { --tw-gradient-from: #1d4ed8; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(29,78,216,0)); }
.from-black\/70 { --tw-gradient-from: rgba(0,0,0,.7); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0,0,0,0)); }
.from-black\/80 { --tw-gradient-from: rgba(0,0,0,.8); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0,0,0,0)); }
.via-white { --tw-gradient-stops: var(--tw-gradient-from), #fff, var(--tw-gradient-to, rgba(255,255,255,0)); }
.via-black\/50 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0,0,0,.5), var(--tw-gradient-to, rgba(0,0,0,0)); }
.via-black\/60 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0,0,0,.6), var(--tw-gradient-to, rgba(0,0,0,0)); }
.to-blue-200 { --tw-gradient-to: #bfdbfe; }
.to-blue-400 { --tw-gradient-to: #60a5fa; }
.to-blue-800 { --tw-gradient-to: #1e40af; }
.to-blue-900 { --tw-gradient-to: #1e3a8a; }
.to-black\/70 { --tw-gradient-to: rgba(0,0,0,.7); }
.to-black\/80 { --tw-gradient-to: rgba(0,0,0,.8); }

.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.hover\:bg-opacity-20:hover { opacity: .2; }
.hover\:text-gray-700:hover { color: #374151; }
.hover\:text-primary:hover { color: #00a0e4; }
.hover\:text-white:hover { color: #fff; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-blue-500\/25:hover { box-shadow: 0 10px 25px rgba(59,130,246,.25); }
.hover\:shadow-blue-700\/25:hover { box-shadow: 0 10px 25px rgba(29,78,216,.25); }

.focus\:outline-none:focus { outline: none; }
.focus\:border-transparent:focus { border-color: transparent; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--tw-ring-color); }
.focus\:ring-primary:focus { --tw-ring-color: rgba(0,160,228,.45); }

@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:bottom-8 { bottom: 2rem; }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-10 { gap: 2.5rem; }
  .md\:gap-16 { gap: 4rem; }
  .md\:gap-20 { gap: 5rem; }
  .md\:h-3 { height: .75rem; }
  .md\:h-6 { height: 1.5rem; }
  .md\:h-8 { height: 2rem; }
  .md\:h-10 { height: 2.5rem; }
  .md\:h-44 { height: 11rem; }
  .md\:h-\[25vh\] { height: 25vh; }
  .md\:h-\[40vh\] { height: 40vh; }
  .md\:h-\[50vh\] { height: 50vh; }
  .md\:w-6 { width: 1.5rem; }
  .md\:w-8 { width: 2rem; }
  .md\:mb-4 { margin-bottom: 1rem; }
  .md\:mb-12 { margin-bottom: 3rem; }
  .md\:mb-16 { margin-bottom: 4rem; }
  .md\:mr-6 { margin-right: 1.5rem; }
  .md\:mt-2 { margin-top: .5rem; }
  .md\:mt-16 { margin-top: 4rem; }
  .md\:p-4 { padding: 1rem; }
  .md\:p-5 { padding: 1.25rem; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:pt-8 { padding-top: 2rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
  .md\:py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
  .md\:space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
  .md\:space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
  .md\:text-sm { font-size: .875rem; line-height: 1.25rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
  .lg\:h-\[47vh\] { height: 47vh; }
  .lg\:max-w-5xl { max-width: 64rem; }
  .lg\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
}

/* Final residual utility aliases (ensure exact selector coverage) */
.focus\:border-transparent:focus { border-color: transparent; }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--tw-ring-color); }
.focus\:ring-primary:focus { --tw-ring-color: rgba(0,160,228,.45); }
.gap-12 { gap: 3rem; }
.h-\[20vh\] { height: 20vh; }
.h-\[33vh\] { height: 33vh; }
.h-\[40vh\] { height: 40vh; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-opacity-20:hover { opacity: .2; }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:shadow-blue-500\/25:hover { box-shadow: 0 10px 25px rgba(59,130,246,.25); }
.hover\:shadow-blue-700\/25:hover { box-shadow: 0 10px 25px rgba(29,78,216,.25); }
.hover\:text-gray-700:hover { color: #374151; }
.hover\:text-primary:hover { color: #00a0e4; }
.hover\:text-white:hover { color: #fff; }
.hover\:underline:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .md\:h-\[25vh\] { height: 25vh; }
  .md\:h-\[40vh\] { height: 40vh; }
  .md\:h-\[50vh\] { height: 50vh; }
  .md\:space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
  .md\:space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
  .md\:space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
}
@media (min-width: 1024px) {
  .lg\:h-\[47vh\] { height: 47vh; }
}
