/* Custom colors */
:root {
    --primary-color: #4f46e5; /* Indigo-600 */
    --secondary-color: #6366f1; /* Indigo-500 */
}
/* Font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.rich-text {
    text-align: start;
}
.rich-text ol {
  list-style-type: decimal;
  padding-left: 1.25rem;
  text-align: start;
}
.rich-text ul {
  list-style-type: disc;
  padding-left: 1.25rem;
}

.card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        }

.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}
.fade-in-delay-1 {
    animation-delay: 0.3s;
}
.fade-in-delay-2 {
    animation-delay: 0.6s;
}
.fade-in-delay-3 {
    animation-delay: 0.9s;
}
.fade-in-delay-4 {
    animation-delay: 1s;
}
.fade-in-delay-5 {
    animation-delay: 1.3s;
}

/* Carousel styles */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem /* rounded-lg */;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4),
        0 4px 6px -2px rgba(99, 102, 241, 0.3);
}
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
    user-select: none;
    display: none;
}
.carousel-slide.active {
    opacity: 1;
    position: relative;
    display: block;
}
.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    object-fit: cover;
    max-height: 400px;
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 9999px;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #4f46e5;
    border: none;
    font-size: 1.5rem;
    user-select: none;
    z-index: 10;
}
.carousel-button:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: #3730a3;
}
.carousel-button.prev {
    left: 0.75rem;
}
.carousel-button.next {
    right: 0.75rem;
}
/* Disable text selection for buttons */
.carousel-button svg {
    pointer-events: none;
}
