:root {
  --brand: #196e4f;
  --brand-dark: #145a3f;
  --brand-light: #e8f5ee;
  --brand-ink: #0f172a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  background: linear-gradient(to bottom, rgba(15,23,42,0.8), rgba(15,23,42,0.35));
  backdrop-filter: saturate(140%) blur(10px);
}

/* Hero slideshow */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 10s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-dot {
  transition: all .2s ease;
}

/* Sections */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.section-subtitle {
  color: #64748b;
}

/* Cards */
.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

.card-media {
  height: 16rem;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: .75rem;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
  border: none;
  cursor: pointer;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 15px 20px -6px rgba(0,0,0,0.2);
}

/* Stats */
.stat {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #145a3f;
}

.stat-label {
  color: #64748b;
  font-size: .9rem;
  margin-top: .25rem;
}

/* Forms */
input, textarea, select {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.625rem 0.875rem;
  font-size: 0.95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: #196e4f;
  box-shadow: 0 0 0 3px rgba(25, 110, 79, 0.15);
  outline: none;
}

/* Utilities */
.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.nav-link {
  position: relative;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: transparent;
  border-radius: 1px;
  transition: background 0.2s ease;
}

.nav-link.text-white::after {
  background: #ffffff;
}

.nav-link:not(.text-white):hover::after {
  background: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .section-title { font-size: 1.6rem; }
}

/* Filament Admin Auth Pages */
.fi-simple-layout {
  min-height: 100vh;
  background: #0f172a url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?w=1600&auto=format&fit=crop') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.fi-simple-layout > .fi-simple-main-ctn {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
}

.fi-simple-main {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.fi-simple-page {
  padding: 2.5rem;
}

.fi-simple-header {
  text-align: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.fi-simple-header-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.fi-simple-header-subheading {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.fi-sc-form .fi-sc {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.fi-fo-field {
  margin-bottom: 1.25rem;
}

.fi-fo-field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
}

.fi-input-wrp {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: visible;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
  position: relative;
}

.fi-input-wrp:focus-within {
  border-color: #196e4f;
  box-shadow: 0 0 0 3px rgba(25, 110, 79, 0.15);
}

.fi-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: none;
  outline: none;
  background: transparent;
  color: #111827;
}

.fi-input[type="password"] {
  padding-right: 3rem;
}

.fi-input::placeholder {
  color: #9ca3af;
}

.fi-input-wrp-suffix {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.fi-input-wrp-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.fi-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.fi-icon-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.fi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.fi-btn:active {
  transform: translateY(1px);
}

.fi-color-primary.fi-btn {
  background: #0f172a !important;
  color: #fff !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.fi-color-primary.fi-btn:hover {
  background: #1e293b !important;
  box-shadow: 0 15px 20px -6px rgba(0, 0, 0, 0.25);
}

.fi-color-primary.fi-btn span {
  color: #fff !important;
}

.fi-color-primary.fi-btn svg + span {
  color: #fff !important;
}

.fi-btn-ghost {
  background: transparent;
  color: #196e4f;
  width: 100%;
  justify-content: center;
}

.fi-btn-ghost:hover {
  background: #f0f9ff;
}

.fi-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  accent-color: #0f172a;
  cursor: pointer;
}

.fi-link {
  color: #196e4f;
  text-decoration: none;
  font-weight: 500;
}

.fi-link:hover {
  color: #145a3f;
  text-decoration: underline;
}

.fi-alert {
  background: #fef2f2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border: 1px solid #fecaca;
}

@media (max-width: 640px) {
  .fi-simple-page {
    padding: 1.75rem;
  }
}
