/* Custom styles for animations and components */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

/* Hero Slideshow Styles */
.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-indicator {
    cursor: pointer;
}

.hero-indicator.active {
    background-color: white !important;
    opacity: 1 !important;
}

.hero-indicator:not(.active) {
    background-color: white !important;
    opacity: 0.5 !important;
}

.hero-indicator:hover {
    opacity: 0.8 !important;
}

.text-custom {
    color: #14233C !important;
}

/* Ensure underlines are always visible */
.section-underline {
    width: 96px !important;
    height: 4px !important;
    background-color: #818177 !important;
    margin: 16px auto 0 !important;
    display: block !important;
}

/* Fallback for when Tailwind hasn't loaded yet */
.w-24 {
    width: 96px;
}

.h-1 {
    height: 4px;
}

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

.mt-4 {
    margin-top: 16px;
}

/* Submenu styles */
.group\/sub:hover .group-hover\/sub\:opacity-100 {
    opacity: 1;
    visibility: visible;
}

.group\/sub:hover .group-hover\/sub\:visible {
    visibility: visible;
}

/* Additional submenu positioning */
.z-60 {
    z-index: 60;
}

@keyframes bounce-subtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer-fast {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spin-slow 3s linear infinite;
}

.animate-shimmer-fast {
    animation: shimmer-fast 1.5s linear infinite;
}

.shadow-3xl {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25);
}

/* REQUEST AUDIT Button Animations */
@keyframes pulse-slow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-shimmer {
    animation: shimmer 2s linear infinite;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .animate-pulse-slow {
        animation: none;
    }
}

/* Simple mobile menu styles */
.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.mobile-menu.show {
    display: block;
    max-height: 1000px;
}

/* Mobile dropdown styles */
.mobile-dropdown-content.show {
    display: block !important;
}

.mobile-subdropdown-content.show {
    display: block !important;
}

.mobile-subdropdown-icon.rotate {
    transform: rotate(180deg);
}

.mobile-subdropdown-icon.rotate {
    transform: rotate(180deg);
}

/* Services slider styles */
.services-indicator.active {
    background-color: #818177 !important;
}

.services-indicator:not(.active) {
    background-color: #d1d5db !important;
}

.services-indicator:hover {
    background-color: #737368 !important;
}

.step-connector {
    position: absolute;
    top: 2rem;
    left: 50%;
    width: 100%;
    height: 2px;
    border-top: 2px dashed #d1d5db;
    z-index: 0;
    transform: translateX(50%);
}

.step-connector-vertical {
    position: absolute;
    top: 2rem;
    right: -50%;
    width: 2px;
    height: 100%;
    border-right: 2px dashed #d1d5db;
    z-index: 0;
}

.process-line-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .process-line-desktop {
        display: block;
        position: absolute;
        top: 40px;
        left: 12%;
        right: 12%;
        height: 180px;
        border-top: 1px dashed #9CA3AF;
        border-right: 1px dashed #9CA3AF;
        border-bottom: 1px dashed #9CA3AF;
        pointer-events: none;
        z-index: 0;
    }

    .process-line-desktop::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 20%;
        right: 0;
        height: 2px;
        background: transparent;
    }
}

