/* Assistance Page Styles - AI-First Design */
/* Clean, minimal design inspired by OpenAI's approach */

/* Reset and base styles */
* {
  box-sizing: border-box;
}

/* Paragraph styles - cleaner typography */
p {
  overflow-wrap: anywhere;
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #374151;
}

/* Hero text - OpenAI style */
.text-lg.md\:text-xl.text-gray-600.max-w-2xl.mx-auto.mb-12.leading-relaxed {
  margin-bottom: 2rem;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.5;
}

/* AI icon - subtle and clean */
img[src="/images/ai-headline.png"] {
  transition: opacity 0.2s ease-in-out;
  opacity: 0.8;
  filter: none;
}

img[src="/images/ai-headline.png"]:hover {
  opacity: 1;
  transform: none;
}

/* Card grid - minimal shadows, clean design */
.grid {
  gap: 1.5rem;
}

/* Individual cards - OpenAI style minimalism */
.bg-white.rounded-lg.shadow-sm.border.border-gray-200 {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
  padding: 1.5rem;
}

.bg-white.rounded-lg.shadow-sm.border.border-gray-200:hover {
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
  transform: translateY(-1px);
}

/* Card tags - minimal styling */
.inline-block.px-2.py-1.text-xs.font-medium.rounded-full {
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Card titles - clean typography */
.text-lg.font-semibold.text-gray-900 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0.75rem 0 0.5rem 0;
  line-height: 1.4;
}

/* Card descriptions - readable text */
.text-sm.text-gray-600 {
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Schedule buttons - OpenAI style */
.bg-blue-600.hover\:bg-blue-700.text-white.font-medium.py-2.px-4.rounded-lg.transition-colors {
  background: #5062ff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease-in-out;
  box-shadow: none;
}

.bg-blue-600.hover\:bg-blue-700.text-white.font-medium.py-2.px-4.rounded-lg.transition-colors:hover {
  background: #3b4cf5;
  transform: none;
  box-shadow: 0 2px 8px 0 rgba(80, 98, 255, 0.3);
}

/* Container spacing */
.div-block-382 {
  padding-bottom: 3rem;
  margin-top: 1.5rem;
}

/* Main content container with top padding */
.div-block-358.assistance {
  padding-top: 30px;
}

/* Override grid padding on medium screens and up */
.grid.p-6.md\:p-8 {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .grid.p-6.md\:p-8 {
    padding: 0;
  }
}

/* Grid layout override - 3 columns on large screens */
.grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

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

/* Modal overrides */
.modal-overlay {
  display: none !important;
}

.modal-overlay.flex {
  display: flex !important;
}

.modal-overlay.hidden {
  display: none !important;
}

/* Mobile modal positioning fix */
@media (max-width: 768px) {
  .modal-overlay.flex {
    align-items: flex-start !important;
    padding-top: 4rem !important;
    padding-bottom: 1rem !important;
  }
  
  .modal-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-height: calc(100vh - 5rem) !important;
    overflow-y: auto !important;
    padding-top: 35px !important;
  }
}

.calendly-widget {
  min-height: 800px;
}

.calendly-inline-widget {
  min-width: 100% !important;
  height: 800px !important;
}

/* Modal width override */
.modal-content.max-w-6xl {
  max-width: 72rem !important;
}

/* Modal scrolling fixes */
.modal-overlay.flex {
  overflow-y: auto !important;
}

.modal-overlay.flex body {
  overflow: hidden !important;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden !important;
}
