/* Critical CSS - Ensures site works even if Tailwind fails */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #3a3a3a;
  line-height: 1.6;
  background-color: #ffffff;
}

/* Layout */
.container,
.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

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

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

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

.section-padding {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

/* Colors */
.bg-luis-light-grey {
  background-color: #f5f5f5;
}
.text-luis-blue {
  color: #00a7cf;
}
.bg-luis-blue {
  background-color: #00a7cf;
}
.text-luis-burgundy {
  color: #9d1c21;
}
.text-luis-dark-grey {
  color: #3a3a3a;
}
.bg-luis-dark-grey {
  background-color: #3a3a3a;
}
.bg-white {
  background-color: #ffffff;
}
.text-white {
  color: #ffffff;
}
.text-gray-50 {
  color: #f9fafb;
}
.bg-gray-50 {
  background-color: #f9fafb;
}
.bg-gray-100 {
  background-color: #f3f4f6;
}
.text-gray-600 {
  color: #4b5563;
}
.text-gray-800 {
  color: #1f2937;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
  background-color: #00a7cf;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #55c7df;
}

.btn-secondary {
  background-color: #3a3a3a;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: #4a4a4a;
}

/* Flexbox utilities */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-8 {
  gap: 2rem;
}

/* Spacing */
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}

/* Text */
.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;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}

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

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  .md\:flex {
    display: flex;
  }
  .md\:hidden {
    display: none;
  }
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #00a7cf;
}

/* Grid */
.grid {
  display: grid;
}

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

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

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

/* Width */
.w-full {
  width: 100%;
}
.max-w-xs {
  max-width: 20rem;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-7xl {
  max-width: 80rem;
}

/* Shadows */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

/* Position */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.sticky {
  position: sticky;
}

/* Z-index */
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-30 {
  z-index: 30;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}

/* Common Tailwind classes that might be used */
.space-y-4 > * + * {
  margin-top: 1rem;
}
.space-x-4 > * + * {
  margin-left: 1rem;
}

/* Hero Section Specific Styles */
.bg-slate-900 {
  background-color: #0f172a;
}
.text-white {
  color: #ffffff;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
@media (min-width: 1024px) {
  .lg\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* Text sizes */
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
@media (min-width: 768px) {
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:block {
    display: block;
  }
  .md\:hidden {
    display: none;
  }
  .md\:max-w-2xl {
    max-width: 42rem;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

/* Colors */
.text-gray-300 {
  color: #d1d5db;
}
.text-gray-600 {
  color: #4b5563;
}
.bg-gray-50 {
  background-color: #f9fafb;
}
.bg-gray-200 {
  background-color: #e5e7eb;
}
.bg-gray-300 {
  background-color: #d1d5db;
}
.text-gray-700 {
  color: #374151;
}

/* Positioning */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.z-10 {
  z-index: 10;
}

/* Opacity */
.opacity-10 {
  opacity: 0.1;
}
.opacity-80 {
  opacity: 0.8;
}

/* Font weights */
.font-extrabold {
  font-weight: 800;
}
.leading-tight {
  line-height: 1.25;
}

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

/* Margin */
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Padding */
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* CRITICAL: Ensure content is ALWAYS visible - even if AOS/Tailwind fails */
[data-aos] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Ensure all content elements are visible */
section,
div:not([x-show="false"]):not([style*="display: none"]),
article,
header,
footer,
main,
.container-custom,
.container {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Override any Tailwind/AOS hiding */
.hidden[data-aos],
[style*="opacity: 0"][data-aos],
[style*="visibility: hidden"][data-aos] {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure flex containers work */
.flex {
  display: flex !important;
}
.flex-col {
  flex-direction: column !important;
}
.items-center {
  align-items: center !important;
}
.justify-center {
  justify-content: center !important;
}
.justify-between {
  justify-content: space-between !important;
}

/* Grid gap */
.gap-8 {
  gap: 2rem;
}
.gap-12 {
  gap: 3rem;
}
@media (min-width: 768px) {
  .md\:gap-12 {
    gap: 3rem;
  }
}

/* Border */
.border {
  border-width: 1px;
}
.border-gray-600 {
  border-color: #4b5563;
}
.border-gray-500 {
  border-color: #6b7280;
}

/* Transition */
.transition {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
    backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-300 {
  transition-duration: 300ms;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

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

/* Background colors */
.bg-\[#25D366\] {
  background-color: #25d366;
}
.hover\:bg-green-600:hover {
  background-color: #16a34a;
}

/* Additional Tailwind utilities used throughout the site */
.overflow-hidden {
  overflow: hidden;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-tight {
  line-height: 1.25;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.font-medium {
  font-weight: 500;
}
.font-extrabold {
  font-weight: 800;
}

/* Spacing utilities */
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-12 {
  margin-top: 3rem;
}

/* Grid utilities */
.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));
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Gap utilities */
.gap-16 {
  gap: 4rem;
}
.gap-6 {
  gap: 1.5rem;
}

/* Order utilities */
.order-2 {
  order: 2;
}
@media (min-width: 1024px) {
  .lg\:order-1 {
    order: 1;
  }
}

/* Items utilities */
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}

/* Space utilities */
.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Group hover */
.group:hover .group-hover\:bg-luis-blue {
  background-color: #00a7cf;
}
.group:hover .group-hover\:text-white {
  color: #ffffff;
}
.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

/* Transform */
.transform {
  transform: translate(var(--tw-translate-x), 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));
}
.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

/* Flex grow */
.flex-grow {
  flex-grow: 1;
}

/* Text colors */
.text-gray-500 {
  color: #6b7280;
}

/* Background opacity */
.bg-luis-blue\/10 {
  background-color: rgba(0, 167, 207, 0.1);
}

/* Padding utilities */
.p-3 {
  padding: 0.75rem;
}
.p-8 {
  padding: 2rem;
}

/* Border utilities */
.border-t-4 {
  border-top-width: 4px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-full {
  border-radius: 9999px;
}

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

/* Text sizes */
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

/* Flex wrap */
.flex-wrap {
  flex-wrap: wrap;
}

/* Max width */
.max-w-2xl {
  max-width: 42rem;
}
