/* Tailwind-like utility classes */
:root {
  --sadig-blue: #1e40af;
  --sadig-orange: #f97316;
}

/* Base styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.5;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-grow {
  flex-grow: 1;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.justify-items-center {
  justify-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

/* Spacing */
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.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 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.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-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

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

.mt-8 {
  margin-top: 2rem;
}

/* Typography */
.text-center {
  text-align: center;
}

.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-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.text-white {
  color: white;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-800 {
  color: #1f2937;
}

.text-sadig-blue {
  color: var(--sadig-blue);
}

.text-sadig-orange {
  color: var(--sadig-orange);
}

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

/* Backgrounds */
.bg-white {
  background-color: white;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-gray-800 {
  background-color: #1f2937;
}

.bg-sadig-blue {
  background-color: var(--sadig-blue);
}

.bg-sadig-orange {
  background-color: var(--sadig-orange);
}

.bg-green-500 {
  background-color: #22c55e;
}

.bg-blue-500 {
  background-color: #3b82f6;
}

.bg-yellow-500 {
  background-color: #eab308;
}

.bg-purple-500 {
  background-color: #a855f7;
}

.hover\:bg-green-600:hover {
  background-color: #16a34a;
}

.hover\:bg-blue-600:hover {
  background-color: #2563eb;
}

.hover\:bg-yellow-600:hover {
  background-color: #ca8a04;
}

.hover\:bg-purple-600:hover {
  background-color: #9333ea;
}

.hover\:bg-sadig-orange\/90:hover {
  background-color: rgba(249, 115, 22, 0.9);
}

.hover\:text-white:hover {
  color: white;
}

/* Borders */
.border {
  border-width: 1px;
  border-style: solid;
}

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

.border-t-4 {
  border-top-width: 4px;
  border-top-style: solid;
}

.border-l-4 {
  border-left-width: 4px;
  border-left-style: solid;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.border-gray-700 {
  border-color: #374151;
}

.border-green-500 {
  border-color: #22c55e;
}

.border-blue-500 {
  border-color: #3b82f6;
}

.border-yellow-500 {
  border-color: #eab308;
}

.border-purple-500 {
  border-color: #a855f7;
}

.border-sadig-blue {
  border-color: var(--sadig-blue);
}

.border-sadig-orange {
  border-color: var(--sadig-orange);
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

/* Effects */
.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-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:shadow-md:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 0.15s;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-duration: 0.15s;
}

/* Positioning */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

/* Display */
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.overflow-hidden {
  overflow: hidden;
}

/* Images */
.object-cover {
  object-fit: cover;
}

.opacity-20 {
  opacity: 0.2;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-16 {
  height: 4rem;
}

.h-6 {
  height: 1.5rem;
}

.w-6 {
  width: 1.5rem;
}

.max-h-16 {
  max-height: 4rem;
}

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

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-full {
  max-width: 100%;
}

.w-auto {
  width: auto;
}

.h-auto {
  height: auto;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

/* Forms */
input, textarea {
  outline: none;
}

.focus\:ring-sadig-blue:focus {
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.5);
}

.focus\:border-sadig-blue:focus {
  border-color: var(--sadig-blue);
}

/* Gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-sadig-blue\/80 {
  --tw-gradient-stops: rgba(30, 64, 175, 0.8), var(--tw-gradient-to, rgba(30, 64, 175, 0));
}

.to-sadig-blue\/40 {
  --tw-gradient-to: rgba(30, 64, 175, 0.4);
}

/* Responsive */
@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:w-1\/2 {
    width: 50%;
  }
  
  .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\:flex {
    display: flex;
  }
  
  .md\:justify-end {
    justify-content: flex-end;
  }
  
  .md\:mb-0 {
    margin-bottom: 0;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
  }
}
