/* Insurance Portal Custom Styles */

/* Reveal on Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease-out, transform 700ms ease-out;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children if needed */
.reveal-stagger > *:nth-child(1) { 
    transition-delay: 100ms; 
}

.reveal-stagger > *:nth-child(2) { 
    transition-delay: 200ms; 
}

.reveal-stagger > *:nth-child(3) { 
    transition-delay: 300ms; 
}

.reveal-stagger > *:nth-child(4) { 
    transition-delay: 400ms; 
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Line clamp utilities (in case Tailwind doesn't have them) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Prose styles for blog content */
.prose {
    color: #444657;
}

.prose h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1b25;
}

.prose h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a1b25;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.prose ul, .prose ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.prose ul li, .prose ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose a {
    color: #0031cd;
    text-decoration: underline;
}

.prose a:hover {
    color: #1746ff;
}

.prose img {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.prose blockquote {
    border-left: 4px solid: #0031cd;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #444657;
}

.prose strong {
    font-weight: 700;
    color: #1a1b25;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f4f2ff;
}

::-webkit-scrollbar-thumb {
    background: #bac3ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0031cd;
}
