/* Main CSS for Ledgermint Finance Academy */
/* This file replaces Tailwind CSS utilities and provides pure CSS alternatives */

:root {
  --brand-navy: #05426E;
  --brand-navy-light: #45708B;
  --brand-accent: #0CD8B1;
  --brand-accent-hover: #0AB998;
  --brand-bg-light: #FFFFFF;
  --brand-text-dark: #05426E;
  --brand-text-muted: #45708B;
  --brand-border: rgba(5, 66, 110, 0.1);
  --brand-border-muted: rgba(5, 66, 110, 0.05);
  --brand-border-heavy: rgba(5, 66, 110, 0.2);
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
}

/* Base Resets & Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: 'Urbanist', sans-serif;
  background-color: var(--brand-bg-light);
  color: var(--brand-text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

.custom-gradient-bg {
  background: radial-gradient(circle at 10% 20%, rgba(5, 66, 110, 0.05) 0%, rgba(5, 66, 110, 0.02) 90%);
}

.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 { padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; } }

/* Flex & Grid Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@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-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-3 { row-gap: 0.75rem; }

/* Spacing Utilities */
.pt-16 { padding-top: 4rem; }
.pb-24 { padding-bottom: 6rem; }
.pt-24 { padding-top: 6rem; }
.pb-36 { padding-bottom: 9rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }.pt-8 { padding-top: 2rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.p-8 { padding: 2rem; }
.p-6 { padding: 1.5rem; }
.p-4 { padding: 1rem; }
.p-2 { padding: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

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

.space-y-12 > * + * { margin-top: 3rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-3\.5 > * + * { margin-top: 0.875rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-2\.5 > * + * { margin-left: 0.625rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }

@media (min-width: 768px) {
  .md\:pt-24 { padding-top: 6rem; }
  .md\:pb-36 { padding-bottom: 9rem; }
  .md\:mt-0 { margin-top: 0; }
}

/* Typography Utilities */
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-\[11px\] { font-size: 11px; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }

@media (min-width: 640px) {
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}
@media (min-width: 768px) {
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

.font-black { font-weight: 900; }
.font-extrabold { font-weight: 800; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-light { font-weight: 300; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }

.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
@media (min-width: 1024px) {
  .lg\:text-left { text-align: left; }
}

/* Color & Background Utilities */
.bg-brand-navy { background-color: var(--brand-navy); }
.text-brand-navy { color: var(--brand-navy); }
.bg-brand-accent { background-color: var(--brand-accent); }
.text-brand-accent { color: var(--brand-accent); }
.bg-brand-navy-light { background-color: var(--brand-navy-light); }
.bg-brand-bgLight { background-color: var(--brand-bg-light); }
.text-brand-textDark { color: var(--brand-text-dark); }
.text-brand-textMuted { color: var(--brand-text-muted); }
.bg-white { background-color: #ffffff; }
.text-white { color: #ffffff; }
.bg-slate-50 { background-color: var(--slate-50); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-800 { color: var(--slate-800); }
.text-slate-900 { color: var(--slate-900); }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-emerald-600 { color: #059669; }

.bg-transparent { background-color: transparent; }

.bg-brand-accent\/10 { background-color: rgba(12, 216, 177, 0.1); }
.bg-brand-navy\/5 { background-color: rgba(5, 66, 110, 0.05); }
.bg-black\/70 { background-color: rgba(0, 0, 0, 0.7); }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-gray-200 { background-color: #e5e7eb; }

.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-brand-navy { --tw-gradient-from: var(--brand-navy); --tw-gradient-to: rgba(5, 66, 110, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-brand-navyLight { --tw-gradient-to: var(--brand-navy-light); }

.text-glow { text-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }

/* Border Utilities */
.border { border: 1px solid var(--brand-border); }
.border-b { border-bottom: 1px solid var(--brand-border); }
.border-t { border-top: 1px solid var(--brand-border); }
.border-brand-navy\/10 { border-color: rgba(5, 66, 110, 0.1); }
.border-brand-navy\/30 { border-color: rgba(5, 66, 110, 0.3); }
.border-brand-border\/20 { border-color: rgba(5, 66, 110, 0.2); }
.border-brand-border\/40 { border-color: rgba(5, 66, 110, 0.4); }
.border-brand-border\/60 { border-color: rgba(5, 66, 110, 0.6); }
.border-brand-accent\/30 { border-color: rgba(12, 216, 177, 0.3); }
.border-slate-200 { border-color: var(--slate-200); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }

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

/* Effects & Others */
.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 -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-brand-accent\/25 { box-shadow: 0 10px 15px -3px rgba(12, 216, 177, 0.25); }
.shadow-brand-accent\/20 { box-shadow: 0 10px 15px -3px rgba(12, 216, 177, 0.2); }

.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

.overflow-hidden { overflow: hidden; }
.blur-3xl { filter: blur(64px); }
.pointer-events-none { pointer-events: none; }
.appearance-none { appearance: none; }
.cursor-pointer { cursor: pointer; }
.opacity-85 { opacity: 0.85; }
.opacity-80 { opacity: 0.8; }
.opacity-75 { opacity: 0.75; }
.grayscale { filter: grayscale(100%); }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.bottom-4 { bottom: 1rem; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.top-20 { top: 5rem; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-100 { z-index: 100; }
.inset-x-0 { left: 0; right: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-20 { height: 5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }
.h-44 { height: 11rem; }
.w-96 { width: 24rem; }
.h-96 { height: 24rem; }
.h-3 { height: 0.75rem; }
.w-3 { width: 0.75rem; }
.-top-40 { top: -10rem; }
.-right-40 { right: -10rem; }
.top-1\/2 { top: 50%; }
.-left-60 { left: -15rem; }

/* Transitions & Animations */
.transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }

.hover\:-translate-y-0\.5:hover { --tw-translate-y: -0.125rem; }
.hover\:scale-110:hover { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:bg-brand-accentHover:hover { background-color: var(--brand-accent-hover); }
.hover\:bg-brand-navyLight:hover { background-color: var(--brand-navy-light); }
.hover\:text-brand-accent:hover { color: var(--brand-accent); }
.hover\:bg-slate-100:hover { background-color: var(--slate-100); }
.hover\:bg-brand-navy\/5:hover { background-color: rgba(5, 66, 110, 0.05); }
.hover\:text-white:hover { color: #ffffff; }

@media (min-width: 1024px) {
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
  .lg\:justify-start { justify-content: flex-start; }
}


@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.animate-fade-in-up { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* Display Utilities */
.hidden { display: none !important; }
.block { display: block !important; }
.inline-flex { display: inline-flex !important; }
@media (min-width: 640px) {
  .sm\:flex { display: flex !important; }
  .sm\:hidden { display: none !important; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
}

/* Specific Custom Styles from Index */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.object-cover { object-fit: cover; }

.nav-active {
  color: var(--brand-accent) !important;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease-in-out;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}
