/* Custom Colors for E1NS Berater */
.text-primary { color: #082e63 !important; }
.bg-primary { background-color: #082e63 !important; }
.border-primary { border-color: #082e63 !important; }
.hover\:bg-primary:hover { background-color: #082e63 !important; }
.hover\:text-primary:hover { color: #082e63 !important; }

.text-secondary { color: #f1d0a0 !important; }
.bg-secondary { background-color: #f1d0a0 !important; }
.border-secondary { border-color: #f1d0a0 !important; }

.text-accent { color: #3d5781 !important; }
.bg-accent { background-color: #3d5781 !important; }

.bg-primary-dark { background-color: #061d40 !important; }
.bg-primary-light { background-color: #0a3d85 !important; }
.bg-secondary-dark { background-color: #d4b07a !important; }
.bg-secondary-light { background-color: #fff0d0 !important; }

.hover\:bg-secondary-dark:hover { background-color: #d4b07a !important; }
.hover\:bg-primary-dark:hover { background-color: #061d40 !important; }
.hover\:text-white:hover { color: #fff !important; }

.fill-primary { fill: #082e63 !important; }
.fill-secondary { fill: #f1d0a0 !important; }

/* Component Classes */
.container-custom {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #082e63;
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #061d40;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #fff;
  color: #082e63;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 2px solid #082e63;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: #082e63;
  color: #fff;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #f1d0a0;
  color: #082e63;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.btn-accent:hover {
  background-color: #d4b07a;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #082e63;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.25rem;
  }
}

/* Gradient */
.bg-gradient-to-br {
  background: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-primary {
  --tw-gradient-from: #082e63;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-primary-dark {
  --tw-gradient-to: #061d40;
}

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

/* Additional utilities */
.min-h-\[70vh\] {
  min-height: 70vh;
}

.bg-black\/20 {
  background-color: rgba(0, 0, 0, 0.2);
}

.text-white\/90 {
  color: rgba(255, 255, 255, 0.9);
}

.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);
}

/* Responsive styles */
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-64 { width: 16rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.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), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.border-t { border-top-width: 1px; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .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\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:min-h-screen { min-height: 100vh; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:text-2xl { font-size: 1.5rem; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
}

.text-gray-50 { color: rgb(249 250 251); }
.text-gray-100 { color: rgb(243 244 246); }
.text-gray-200 { color: rgb(229 231 235); }
.text-gray-300 { color: rgb(209 213 219); }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-600 { color: rgb(75 85 99); }
.text-gray-700 { color: rgb(55 65 81); }
.text-gray-800 { color: rgb(31 41 55); }
.text-white { color: rgb(255 255 255); }

.bg-gray-50 { background-color: rgb(249 250 251); }
.bg-gray-200 { background-color: rgb(229 231 235); }
.bg-white { background-color: rgb(255 255 255); }

.hover\:bg-gray-100:hover { background-color: rgb(243 244 246); }
.hover\:text-white:hover { color: rgb(255 255 255); }
.hover\:text-secondary:hover { color: #f1d0a0; }
.hover\:text-accent:hover { color: #3d5781; }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:translate-x-2:hover { transform: translateX(0.5rem); }

.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:text-accent { color: #3d5781; }
.group:hover .group-hover\:shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.group:hover .group-hover\:translate-x-2 { transform: translateX(0.5rem); }

/* Additional Tailwind classes missing */
.object-cover { object-fit: cover; }
.object-center { object-position: center; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.border-b { border-bottom-width: 1px; }
.border-white { border-color: #fff; }
.border-2 { border-width: 2px; }
.rounded { border-radius: 0.25rem; }
.overflow-hidden { overflow: hidden; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.duration-300 { transition-duration: 300ms; }
.duration-200 { transition-duration: 200ms; }
.transform { transform: translateX(var(--tw-translate-x)) translateY(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)); }
.scale-95 { --tw-scale-x: .95; --tw-scale-y: .95; }
.scale-100 { --tw-scale-x: 1; --tw-scale-y: 1; }
.origin-top { transform-origin: top; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.inset-0 { inset: 0; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.flex-shrink-0 { flex-shrink: 0; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.pl-4 { padding-left: 1rem; }
.rotate-180 { --tw-rotate: 180deg; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.group { position: relative; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:visible { visibility: visible; }
.group:hover .group-hover\:scale-100 { --tw-scale-x: 1; --tw-scale-y: 1; }
.flex-col { flex-direction: column; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
.shadow-sm { --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); box-shadow: var(--tw-shadow); }
.w-auto { width: auto; }
.h-12 { height: 3rem; }
.h-32 { height: 8rem; }

/* Responsive utilities for screens */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Fix for transparent button */
.bg-transparent { background-color: transparent; }
.border-2 { border-width: 2px; }

/* Button text visibility fix */
.btn-secondary.bg-transparent.text-white {
  color: #fff !important;
  border: 2px solid #fff;
}

.btn-secondary.bg-transparent.text-white:hover {
  background-color: #fff !important;
  color: #082e63 !important;
}

/* Image container fix for services */
.h-48.bg-gray-200 {
  background-color: #f3f4f6;
  height: 12rem;
  overflow: hidden;
}

.h-48.bg-gray-200 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service cards layout fix */
.group.bg-white.rounded-xl {
  display: block;
  text-decoration: none;
}

.group.bg-white.rounded-xl .p-6 {
  padding: 1.5rem;
}

/* Grid layout fix */
.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)); }
.grid-cols-6 { grid-template-columns: repeat(6, 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)); }
}

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

/* Dropdown menu */
.block { display: block; }

/* Padding utilities */
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

/* Margin utilities */
.mr-2 { margin-right: 0.5rem; }
.mt-2 { margin-top: 0.5rem; }

/* Text sizes */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }

/* Icons alignment */
.fa-users, .fa-scale-balanced, .fa-palette, .fa-chart-line, .fa-shield-halved, .fa-calculator { 
  width: 1em; 
  text-align: center; 
}
