
/* ================================================
   I2AJM - Custom CSS (Complete Site Stylesheet)
   Generated from: i2ajm.org audit
   ================================================ */

/* === BRAND COLORS === */
:root {
  --brand-green: #008751;
  --brand-yellow: #FCD116;
  --brand-red: #CE1126;
  --brand-dark: #1a202c;
}

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === TAILWIND-BASE RESET === */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; line-height: 1.5; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
img, video { display: block; vertical-align: middle; max-width: 100%; overflow-x: hidden; }
a { color: inherit; text-decoration: inherit; }
button, input, textarea { font-family: inherit; font-size: 100%; line-height: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }

/* === ANIMATIONS === */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: 0.5; } }

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* === LAYOUT === */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.contents { display: contents; }

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

.gap-1 { gap: 0.25rem; }
.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-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

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

.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* === SPACING: PADDING === */
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.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; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.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; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-28 { padding-top: 7rem; }
.pt-16 { padding-top: 4rem; }
.pb-20 { padding-bottom: 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; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }
.-mt-4 { margin-top: -1rem; }
.-mt-8 { margin-top: -2rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.m-2 { margin: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* === SPACING: WIDTH === */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-5 { width: 1.25rem; }
.w-10 { width: 2.5rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-96 { width: 24rem; }
.w-\[400px\] { width: 400px; }
.w-\[500px\] { width: 500px; }

/* === SPACING: HEIGHT === */
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-1\.5 { height: 0.375rem; }
.h-5 { height: 1.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-36 { height: 9rem; }
.h-56 { height: 14rem; }
.h-96 { height: 24rem; }
.h-\[400px\] { height: 400px; }
.h-\[500px\] { height: 500px; }
.min-h-screen { min-height: 100vh; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-[700px] { min-height: 700px; }
.min-h-[600px] { min-height: 600px; }
.max-h-full { max-height: 100%; }
.max-h-\[90vh\] { max-height: 90vh; }
.max-w-md { max-width: 28rem; }
.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-full { max-width: 100%; }

/* === POSITION === */
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-6 { top: 1.5rem; }
.top-1\/2 { top: 50%; }
.bottom-0 { bottom: 0; }
.bottom-2 { bottom: 0.5rem; }
.bottom-8 { bottom: 2rem; }
.left-0 { left: 0; }
.left-2 { left: 0.5rem; }
.left-6 { left: 1.5rem; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-2 { right: 0.5rem; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.right-8 { right: 2rem; }
.right-full { right: 100%; }
.-top-6 { top: -1.5rem; }
.-translate-x-1\/2 { --tw-translate-x: -50%; transform: translateX(-50%); }
.-translate-y-1\/2 { --tw-translate-y: -50%; transform: translateY(-50%); }
.-translate-y-1\/3 { --tw-translate-y: -33.333333%; transform: translateY(-33.333333%); }
.translate-x-1\/3 { --tw-translate-x: 33.333333%; transform: translateX(33.333333%); }
.translate-y-1\/3 { --tw-translate-y: 33.333333%; transform: translateY(33.333333%); }
.-translate-x-1\/3 { --tw-translate-x: -33.333333%; transform: translateX(-33.333333%); }

/* === COLORS: BACKGROUND === */
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-900 { background-color: #111827; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-600 { background-color: #dc2626; }
.bg-yellow-50 { background-color: #fefce8; }
.bg-blue-600 { background-color: #2563eb; }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-white\/10 { background-color: rgba(255,255,255,0.10); }
.bg-white\/20 { background-color: rgba(255,255,255,0.20); }
.bg-white\/80 { background-color: rgba(255,255,255,0.80); }
.bg-black\/10 { background-color: rgba(0,0,0,0.10); }
.bg-black\/50 { background-color: rgba(0,0,0,0.50); }
.bg-black\/60 { background-color: rgba(0,0,0,0.60); }
.bg-black\/80 { background-color: rgba(0,0,0,0.80); }
.bg-brand-green { background-color: var(--brand-green); }
.bg-brand-green\/10 { background-color: rgba(0,135,81,0.10); }
.bg-brand-yellow { background-color: var(--brand-yellow); }
.bg-brand-red { background-color: var(--brand-red); }
.bg-\[#008751\] { background-color: #008751; }

/* === COLORS: GRADIENTS === */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-brand-green { --tw-gradient-from: var(--brand-green); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0,135,81,0)); }
.from-brand-yellow { --tw-gradient-from: var(--brand-yellow); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(252,209,22,0)); }
.from-brand-dark\/95 { --tw-gradient-from: rgba(26,32,44,0.95); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(26,32,44,0)); }
.from-black\/80 { --tw-gradient-from: rgba(0,0,0,0.80); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0,0,0,0)); }
.from-gray-900 { --tw-gradient-from: #111827; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17,24,39,0)); }
.from-green-100 { --tw-gradient-from: #dcfce7; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(220,252,231,0)); }
.to-brand-dark { --tw-gradient-to: var(--brand-dark); }
.to-brand-green\/40 { --tw-gradient-to: rgba(0,135,81,0.40); }
.to-green-50 { --tw-gradient-to: #f0fdf4; }
.to-green-900 { --tw-gradient-to: #14532d; }
.to-yellow-200 { --tw-gradient-to: #fef08a; }
.to-transparent { --tw-gradient-to: transparent; }
.via-brand-green\/80 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0,135,81,0.80), var(--tw-gradient-to); }
.via-black\/20 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0,0,0,0.20), var(--tw-gradient-to); }

/* === COLORS: TEXT === */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-green-700 { color: #15803d; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-blue-600 { color: #2563eb; }
.text-brand-green { color: var(--brand-green); }
.text-brand-green\/40 { color: rgba(0,135,81,0.40); }
.text-brand-yellow { color: var(--brand-yellow); }
.text-brand-dark { color: var(--brand-dark); }
.text-transparent { color: transparent; }

/* === COLORS: BORDER === */
.border { border-width: 1px; border-style: solid; border-color: #e5e7eb; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #e5e7eb; }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: #e5e7eb; }
.border-t-4 { border-top-width: 4px; border-top-style: solid; }
.border-t-brand-green { border-top-color: var(--brand-green); }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; border-color: #e5e7eb; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-brand-yellow { border-color: var(--brand-yellow); }
.border-brand-yellow\/50 { border-color: rgba(252,209,22,0.50); }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-800 { border-color: #1f2937; }
.border-green-100 { border-color: #dcfce7; }
.border-green-200 { border-color: #bbf7d0; }
.border-green-400\/30 { border-color: rgba(74,222,128,0.30); }
.border-red-200 { border-color: #fecaca; }
.border-white\/10 { border-color: rgba(255,255,255,0.10); }
.border-white\/20 { border-color: rgba(255,255,255,0.20); }
.border-white\/30 { border-color: rgba(255,255,255,0.30); }
.border-dashed { border-style: dashed; }

/* === BORDER RADIUS === */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* === TYPOGRAPHY === */
.font-sans { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.text-clip { background-clip: text; -webkit-background-clip: text; }
.select-none { user-select: none; }

/* === OPACITY & VISIBILITY === */
.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.10; }
.opacity-20 { opacity: 0.20; }
.opacity-30 { opacity: 0.30; }
.opacity-40 { opacity: 0.40; }
.opacity-50 { opacity: 0.50; }
.opacity-80 { opacity: 0.80; }
.opacity-90 { opacity: 0.90; }
.opacity-100 { opacity: 1; }

/* === SHADOWS === */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.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); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.06); }
.shadow-\[0_10px_20px_rgba\(220\,38\,38\,0\.4\)\] { box-shadow: 0 10px 20px rgba(220,38,38,0.4); }
.shadow-\[0_10px_20px_rgba\(37\,99\,235\,0\.4\)\] { box-shadow: 0 10px 20px rgba(37,99,235,0.4); }
.shadow-\[0_10px_30px_rgba\(252\,209\,22\,0\.3\)\] { box-shadow: 0 10px 30px rgba(252,209,22,0.3); }
.shadow-\[0_20px_50px_rgba\(0\,0\,0\,0\.1\)\] { box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.shadow-\[0_20px_50px_rgba\(0\,135\,81\,0\.4\)\] { box-shadow: 0 20px 50px rgba(0,135,81,0.4); }
.shadow-\[0_20px_60px_rgba\(0\,0\,0\,0\.5\)\] { box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.shadow-\[0_8px_20px_rgba\(206\,17\,38\,0\.3\)\] { box-shadow: 0 8px 20px rgba(206,17,38,0.3); }

/* === BACKDROP BLUR === */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.blur-3xl { filter: blur(64px); }
.blur-\[100px\] { filter: blur(100px); }

/* === EFFECTS === */
.filter { filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); }
.mix-blend-multiply { mix-blend-mode: multiply; }

/* === TRANSITIONS === */
.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, text-decoration-color, fill, stroke; 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; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* === TRANSFORMS === */
.transform { transform: var(--tw-translate-x, 0) var(--tw-translate-y, 0) var(--tw-rotate, 0) var(--tw-skew-x, 0) var(--tw-skew-y, 0); }
.-rotate-1 { transform: rotate(-1deg); }

/* === OVERFLOW === */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* === CURSOR === */
.cursor-default { cursor: default; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.resize-none { resize: none; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* === LINE CLAMP === */
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

/* === Z-INDEX === */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }
.z-\[60\] { z-index: 60; }
.z-\[70\] { z-index: 70; }
.z-\[9999\] { z-index: 9999; }

/* === BACKGROUND UTILITIES === */
.bg-cover { background-size: cover; background-position: center; }
.bg-center { background-position: center; }
.bg-clip-text { background-clip: text; -webkit-background-clip: text; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.aspect-video { aspect-ratio: 16 / 9; }

/* === FILL === */
.fill-current { fill: currentColor; }

/* === FOCUS RING === */
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--tw-ring-color); }
.focus\:ring-brand-green:focus { --tw-ring-color: var(--brand-green); }
.disabled\:bg-gray-400:disabled { background-color: #9ca3af; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* === GROUP HOVER === */
.group:hover .group-hover\:bg-white\/20 { background-color: rgba(255,255,255,0.20); }
.group:hover .group-hover\:opacity-60 { opacity: 0.60; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:text-white { color: #ffffff; }
.group:hover .group-hover\:text-brand-green { color: var(--brand-green); }
.group:hover .group-hover\:text-brand-dark { color: var(--brand-dark); }
.group:hover .group-hover\:text-brand-yellow { color: var(--brand-yellow); }
.group:hover .group-hover\:text-green-50 { color: #f0fdf4; }
.group:hover .group-hover\:text-green-700 { color: #15803d; }
.group:hover .group-hover\:bg-brand-green { background-color: var(--brand-green); }
.group:hover .group-hover\:bg-none { background-image: none; }
.group:hover .group-hover\:gap-2 { gap: 0.5rem; }
.group:hover .group-hover\:translate-x-2 { transform: translateX(0.5rem); }
.group:hover .group-hover\:rotate-3 { transform: rotate(3deg); }
.group:hover .group-hover\:rotate-6 { transform: rotate(6deg); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.10); }
.group\/item:hover .group-hover\/item\:flex { display: flex; }
.group\/block:hover .group-hover\/block\:opacity-100 { opacity: 1; }

/* === HOVER STATES === */
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.10); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:bg-black\/70:hover { background-color: rgba(0,0,0,0.70); }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-green-50:hover { background-color: #f0fdf4; }
.hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:bg-red-50:hover { background-color: #fef2f2; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:bg-blue-50:hover { background-color: #eff6ff; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-brand-green:hover { background-color: var(--brand-green); }
.hover\:bg-brand-yellow\/80:hover { background-color: rgba(252,209,22,0.80); }
.hover\:bg-yellow-400:hover { background-color: #facc15; }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.10); }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,0.20); }
.hover\:bg-white\/40:hover { background-color: rgba(255,255,255,0.40); }
.hover\:text-brand-green:hover { color: var(--brand-green); }
.hover\:text-brand-yellow:hover { color: var(--brand-yellow); }
.hover\:text-gray-800:hover { color: #1f2937; }
.hover\:text-green-700:hover { color: #15803d; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:border-brand-green:hover { border-color: var(--brand-green); }
.hover\:shadow-sm:hover { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.hover\:shadow-\[0_20px_40px_rgb\(0\,0\,0\,0\.12\)\]:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.hover\:shadow-\[0_20px_40px_rgba\(0\,135\,81\,0\.2\)\]:hover { box-shadow: 0 20px 40px rgba(0,135,81,0.2); }

/* === RESPONSIVE BREAKPOINTS === */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .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\:hidden { display: none; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:pt-20 { padding-top: 5rem; }
  .md\:mx-12 { margin-left: 3rem; margin-right: 3rem; }
  .md\:-mt-8 { margin-top: -2rem; }
.md\:-mt-16 { margin-top: -4rem; }
  .md\:shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
  .md\:rounded-3xl { border-radius: 1.5rem; }
  .md\:max-w-4xl { max-width: 56rem; }
  .md\:max-h-\[90vh\] { max-height: 90vh; }
  .md\:h-auto { height: auto; }
  .md\:aspect-video { aspect-ratio: 16 / 9; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
}
@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:justify-start { justify-content: flex-start; }
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
  .lg\:mx-20 { margin-left: 5rem; margin-right: 5rem; }
  .lg\:text-left { text-align: left; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:w-1\/2 { width: 50%; }
}

/* === CUSTOM SITE CLASSES === */
.item-controls { position: absolute; top: -12px; right: -12px; background: white; border: 1px solid #eee; border-radius: 8px; padding: 4px; display: none; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); z-index: 40; }
.group:hover .item-controls, .group\/item:hover .item-controls, .group\/block:hover .item-controls { display: flex; gap: 4px; }
.resize-handle { cursor: ns-resize; transition: background 0.2s; }
.resize-handle:hover { background: rgba(252,209,22,0.5); }
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #008751; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #006039; }

/* === SCROLL BEHAVIOR === */
html { scroll-behavior: smooth; }

/* === DROP SHADOW === */
.drop-shadow-sm { filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05)); }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06)); }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgba(0,0,0,0.04)) drop-shadow(0 4px 3px rgba(0,0,0,0.1)); }

/* ================================================
   I2AJM - SITE-SPECIFIC FIXES
   ================================================ */

/* === FIX 1: Header always flush with top of screen === */
header.fixed {
  top: 0 !important;
}
/* Header default (non-scrolled) — fond vert Mali */
header.fixed:not(.scrolled) {
  background-color: #008751 !important;
}
/* Force header background regardless of inline styles — fallback for CDN Tailwind */


/* Header scrolled — fond blanc SOLIDE, pas de blur */


/* === FIX 2: Header turns white + blur on scroll — ALL CHILD ELEMENTS === */
header.fixed.scrolled {
  background-color: rgb(255, 255, 255) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
}

/* Logo text → green when header white */
header.fixed.scrolled .font-black.text-white {
  color: #008751 !important;
}

/* Nav links → dark when header white */
header.fixed.scrolled nav a,
header.fixed.scrolled nav span {
  color: #1a202c !important;
}
header.fixed.scrolled nav a:hover {
  color: #008751 !important;
}

/* Hamburger button → white bg + dark icon when header white */
header.fixed.scrolled button.md\:hidden {
  background-color: white !important;
  color: #1a202c !important;
  border-radius: 0.5rem;
}
header.fixed.scrolled button.md\:hidden:hover {
  background-color: #f3f4f6 !important;
  color: #008751 !important;
}

/* Donate button in header stays red */
header.fixed.scrolled .bg-brand-red {
  background-color: #CE1126 !important;
}

/* === FIX 3: Hero section padding so content visible under fixed header === */
section.relative.h-screen {
  padding-top: 80px !important;
  z-index: 1 !important;
}
@media (min-width: 768px) {
  section.relative.h-screen {
    padding-top: 5rem !important;
  }
}

/* === FIX 4: Mobile menu overlay - solid opaque green, highest z-index === */
[class*="fixed"][class*="inset-0"][class*="z-"][class*="bg-"] {
  background-color: #008751 !important;
}

/* Force mobile menu above ALL hero content */
.fixed.inset-0 {
  z-index: 9999 !important;
}

/* === FIX 5: Hero stacking — bg image z-0, content z-1 === */
/* === FIX 6: Scroll margin so fixed header doesn't cover section titles === */
#mission, #activites, #actualites, #news, #partenaires, #projets, #contact, #valeurs {
  scroll-margin-top: 75px !important;
}

/* Hero section also needs top padding so title visible under fixed header */
section.relative.h-screen {
  scroll-margin-top: 75px !important;
}

/* Hero itself above mobile menu */
section.relative.h-screen {
  position: relative;
  z-index: 1 !important;
}
/* Hero bg-image container (first .absolute child) → z-0 */
section.relative.h-screen > .absolute {
  z-index: 0 !important;
}
/* Hero content container (flex container) → z-1, above bg */
section.relative.h-screen > div {
  z-index: 1 !important;

/* === FIX 7: Axes Stratégiques section — title must be just below header === */
#activites {
  padding-top: 0 !important;
  scroll-margin-top: 120px !important;
}

/* Ensure smooth scroll lands with section title near top of viewport */
html {
  scroll-padding-top: 75px;
}

}


/* === EMERGENCY FALLBACK: Header MUST be green without scrolled, white with scrolled === */
/* This overrides ANY other rule including inline styles from React/Tailwind */
html body header.fixed {
  background-color: #008751 !important;
}
html body header.fixed.scrolled {
  background-color: #ffffff !important;
}
/* === FIX 8: Stats section — remove negative margin on mobile, add positive spacing === */
/* The stats section has -mt-8 which pulls it up into the hero CTA area */
/* Using html body prefix for higher specificity than Tailwind CDN utilities */
html body section[class*="bg-gradient-to-br"][class*="from-brand-green"] {
  margin-top: 0px !important;
  margin-bottom: 2rem !important;
}

@media (min-width: 768px) {
  html body section[class*="bg-gradient-to-br"][class*="from-brand-green"] {
    margin-top: -4rem !important; /* Restore -mt-16 equivalent for desktop */
  }
}

/* === FIX 9: Ensure CTA buttons are properly spaced from stats on mobile === */
/* The hero has flex-col with gap-5 between buttons on mobile */
/* Add bottom margin to the hero content container */
section[class*="h-screen"] > div:last-child {
  padding-bottom: 1.5rem !important;
}

/* === FIX 10: "Nous rejoindre" button must be fully visible on mobile === */
/* The second CTA button (bg-white/10) needs clear z-index */
section[class*="h-screen"] a[href="#contact"] {
  position: relative;
  z-index: 10;
}

/* Ensure stats section doesn't overlap CTA buttons on mobile */
section[class*="bg-gradient-to-br"][class*="from-brand-green"] {
  position: relative;
  z-index: 5;
}


/* ================================================
   MOBILE FIXES - Force overrides after Tailwind CDN
   ================================================ */
@media (max-width: 767px) {
  /* Hero section - prevent buttons from going below fold */
  section.h-screen {
    min-height: 500px !important;
    padding-top: 3rem !important;
    align-items: flex-start !important;
  }
  
  /* Stats section - restore positive margin on mobile */
  section[class*="bg-gradient-to-br"] {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
}


/* === v53: Additional fixes === */
/* v53: Actualités - 2 colonnes, bordure verte */
#news .grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
}

/* Les cartes d'actualités - bordure verte */
#news .grid > div {
  border: 2px solid #008751 !important;
  border-radius: 12px !important;
}

/* Tailles uniformes */
#news .grid > div {
  min-height: 300px !important;
}


/* ===== NEWS IMAGES DESKTOP FIX ===== */
#news .aspect-video {
    aspect-ratio: 16/9 !important;
    display: block !important;
    overflow: hidden !important;
    position: relative !important;
}

#news .aspect-video img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
}

#news .bg-white.rounded-2xl {
    display: block !important;
    overflow: visible !important;
}
