/* ==========================================================================
   ENQUOA Custom & Utility Stylesheet (Tailwind Fallback & Native CSS)
   ========================================================================== */

:root {
  --primary: #00236f;
  --primary-container: #1e3a8a;
  --secondary: #006c49;
  --secondary-container: #6cf8bb;
  --on-secondary-container: #00714d;
  --tertiary: #3e2400;
  --on-tertiary-container: #ef9900;
  --background: #f9f9ff;
  --surface: #f9f9ff;
  --surface-subtle: #F9FAFB;
  --surface-container: #e9edff;
  --surface-container-low: #f1f3ff;
  --surface-container-high: #e1e8fd;
  --on-background: #141b2b;
  --on-surface: #141b2b;
  --on-surface-variant: #444651;
  --border-light: #E5E7EB;
  --outline: #757682;
  --white: #FFFFFF;

  --font-headline: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--on-background);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

/* Material Symbols */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Hero Section Forced Base Rules */
.hero-section,
.about-hero-section,
.services-hero-section,
.rankings-hero-section,
.methodology-hero-section,
.contact-hero-section {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 380px !important;
  padding-top: 120px !important;
  padding-bottom: 60px !important;
  background-color: #00236f !important;
  background: linear-gradient(135deg, #00236f 0%, #0A2540 100%) !important;
  color: #FFFFFF !important;
  overflow: hidden !important;
}

/* Colors & Backgrounds */
.bg-background { background-color: var(--background); }
.bg-surface { background-color: var(--surface); }
.bg-surface-subtle { background-color: var(--surface-subtle); }
.bg-surface-container { background-color: var(--surface-container); }
.bg-surface-container-low { background-color: var(--surface-container-low); }
.bg-surface-container-high { background-color: var(--surface-container-high); }
.bg-primary { background-color: var(--primary); }
.bg-primary-container { background-color: var(--primary-container); }
.bg-secondary-container { background-color: var(--secondary-container); }
.bg-on-tertiary-container { background-color: var(--on-tertiary-container); }
.bg-white { background-color: var(--white); }

.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-secondary { color: var(--secondary); }
.text-on-secondary-container { color: var(--on-secondary-container); }
.text-on-surface { color: var(--on-surface); }
.text-on-surface-variant { color: var(--on-surface-variant); }
.text-outline { color: var(--outline); }

.border-border-light { border-color: var(--border-light); }

/* Typography */
.font-headline-lg, .font-headline-md, .font-display-lg, .font-label-md, .font-label-sm {
  font-family: var(--font-headline);
}
.font-body-lg, .font-body-md {
  font-family: var(--font-body);
}

.text-display-lg {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-headline-lg {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
}

.text-headline-md {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.6;
}

.text-body-md {
  font-size: 1rem;
  line-height: 1.6;
}

.text-label-md {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.text-label-sm {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Layouts & Spacing */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.w-full { width: 100%; }
.h-screen { height: 100vh; }
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }

.pt-36 { padding-top: 9rem !important; }
.pb-20 { padding-bottom: 5rem !important; }
.pb-16 { padding-bottom: 4rem !important; }

.py-section-gap { padding-top: 80px !important; padding-bottom: 80px !important; }
.gap-gutter { gap: 24px !important; }

.mb-16 { margin-bottom: 4rem !important; }
.mb-24 { margin-bottom: 6rem !important; }
.gap-16 { gap: 4rem !important; }
.gap-24 { gap: 6rem !important; }

.flex { display: flex; }
.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-between { justify-content: space-between; }
.justify-center { justify-content: center; }

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

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
}

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

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-24 { gap: 6rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.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-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.py-section-gap { padding-top: 80px; padding-bottom: 80px; }

.m-0 { margin: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.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-16 { margin-top: -4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Custom Elements & Classes */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-item {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s ease;
  grid-column: span 12;
}

@media (min-width: 768px) {
  .bento-item.md\:col-span-8 { grid-column: span 8; }
  .bento-item.md\:col-span-4 { grid-column: span 4; }
}

.bento-item:hover {
  border-color: #00236f;
  transform: translateY(-4px);
}

.gradient-overlay {
  background: linear-gradient(to right, rgba(0, 35, 111, 0.9) 30%, rgba(0, 35, 111, 0.1) 100%);
}

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.rounded { border-radius: 0.25rem; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-style: solid; }
.border-none { border: none; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 1.25rem 2rem; border-bottom: 1px solid var(--border-light); }
