/* 
   Site-Wide UI Consistency Enhancements
   Target: Secondary pages (Services, Contact, Pathways, etc.)
*/

:root {
  --spacing-section: 6rem;
  --spacing-element: 2rem;
  --gap-grid: 2rem;

  --color-gold: #d4af37;
  --color-gold-hover: #f2e8c4;
  --color-dark-bg: #020c1b;
  --color-glass: rgba(255, 255, 255, 0.05);
  --radius-std: 1rem;
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.5);
  --font-heading: 'Inter', sans-serif;
}



/* --- Layout & Spacing --- */

.section-std {
  padding: var(--spacing-section) 0;
  position: relative;
}

.section-std-sm {
  padding: 4rem 0;
}

.container-std {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--gap-grid);
  align-items: stretch;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-element);
}

@media (min-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-element);
}

@media (min-width: 768px) {
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-element);
}

@media (min-width: 768px) {
  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .grid-4-col {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Components --- */

/* Glass Card - Standardized */
.card-glass {
  background: rgba(255, 255, 255, 0.03);
  /* backdrop-filter: blur(10px); REMOVED for clarity */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-std);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-glass:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-hover);
}

/* Buttons - Consistent Sizing */
.btn-std {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary-std {
  background: var(--color-gold);
  color: #000;
  border: 1px solid var(--color-gold);
}

.btn-primary-std:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
}

.btn-outline-std {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-std:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.05);
}

/* --- Typography Helpers --- */
.heading-xl {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.text-muted-std {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- Animations --- */

/* Keyframes */
@keyframes fadeInUpStd {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInStd {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Utilities */
.animate-fade-up {
  opacity: 0;
  animation: fadeInUpStd 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Stagger delays extended */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

/* --- Header Global Fixes --- */
.Header-module__gycZQW__nav {
  display: none;
}

.Header-module__gycZQW__mobileMenuBtn {
  display: block;
  border: none;
  background: transparent;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Global Interactivity Fix - Restore pointer events */
a,
button,
.btn,
.btn-std,
.btn-primary,
.btn-primary-std {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure mobile menu container is definitively hidden and non-blocking when closed */
.Header-module__gycZQW__mobileMenu {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Body and HTML safety */
html,
body {
  pointer-events: auto !important;
}

@media (min-width: 1024px) {
  .Header-module__gycZQW__nav {
    display: flex !important;
    gap: 2rem !important;
    align-items: center;
    pointer-events: auto !important;
  }

  .Header-module__gycZQW__mobileMenuBtn {
    display: none !important;
  }

  .Header-module__gycZQW__navLink {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: auto !important;
  }
}

/* Header Constraints */
.Header-module__gycZQW__header {
  height: 80px !important;
  /* Force standard height */
  position: fixed !important;
  /* Fixed is more reliable than sticky for this layout */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background-color: #112240b3 !important;
  backdrop-filter: blur(10px);
  pointer-events: auto !important;
}

/* Special override for glass padding when applied to the header */
.Header-module__gycZQW__header.glass {
  padding: 0 !important;
}

/* --- Pathways Specific Card Styles --- */
.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.card-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: var(--color-gold);
  color: #000;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.card-badge.incentivized {
  background: #006C35;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 108, 53, 0.3);
}

.card-subpanel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  margin-top: auto;
  /* Pushes to bottom if flex column */
}

.card-subpanel-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.card-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

/* --- Added Utilities for Contact Page (Tailwind Emulation) --- */
.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

/* Spacing */
.gap-sm {
  gap: 0.75rem;
}

.gap-md {
  gap: 1.5rem;
}

.gap-lg {
  gap: 2.5rem;
}

.gap-xl {
  gap: 4rem;
}

/* Grid System */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Forms */
.input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.input-field:focus {
  border-color: var(--color-gold);
}

.caption {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* Fix for dropdown visibility (reset color for options) */
.input-field option {
  color: initial;
  /* Resets to browser default (usually black) */
  background: white;
  /* Ensures high contrast */
}

/* --- Entrepreneur License Page Fixes --- */
/* Fix for crisp text rendering */
body {
  background-color: var(--color-dark-bg) !important;
  color: white !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* --- Entrepreneur License Page Fixes --- */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-std);
  padding: 2rem;
  transition: all 0.3s ease;
  pointer-events: auto !important;
  /* Ensure content inside glass is clickable */
}

.glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
}

/* NEW: Glass Interactive for Cards (Matches glass but with pointer signal) */
.glass-interactive {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-std);
  padding: 2rem;
  transition: all 0.3s ease;
  pointer-events: auto !important;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.glass-interactive:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

/* Additional Grid Utilities */
.grid-cols-2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Support for md:grid-cols-3 specifically if used */
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Spacing Utilities */
.margin-top-lg {
  margin-top: 3rem;
}

.margin-bottom-lg {
  margin-bottom: 3rem;
}

/* --- Premium Redesign Styles --- */

/* Hero Gradient */
.hero-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(20, 40, 80, 0.8) 0%, rgba(2, 12, 27, 1) 70%);
  position: relative;
  overflow: hidden;
}

/* Hero Gradient - Simplified */
.hero-gradient {
  background: radial-gradient(circle at 50% 30%, #0a192f 0%, #020c1b 70%);
  position: relative;
  /* Removed large rotating pseudo-element to prevent rendering issues */
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Feature Icons */
.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gold);
  font-size: 1.5rem;
}

/* Process Timeline */
.process-step {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-std);
  transition: all 0.3s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.2);
}

.process-number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--color-gold);
  color: #000;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  font-size: 1.1rem;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-std);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th {
  text-align: left;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Highlight Text */
.highlight-gold {
  color: var(--color-gold);
}

/* Enable Hover Dropdowns for Static Pages */
@media (min-width: 1024px) {
  .Header-module__gycZQW__dropdown {
    position: relative;
  }

  .Header-module__gycZQW__dropdownContent {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    /* Match home page centering */
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(1, 2, 4, 0.95);
    /* Deep dark blue */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    /* Above header if needed */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
  }

  .Header-module__gycZQW__dropdown:hover .Header-module__gycZQW__dropdownContent {
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
    animation: fadeInStd 0.2s ease forwards;
  }

  .Header-module__gycZQW__dropdownItem {
    display: block;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 6px;
    font-size: 0.9rem;
  }

  .Header-module__gycZQW__dropdownItem:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-gold, #d4af37);
    transform: translateX(5px);
  }
}