/* Explain: Styles for various UI components like cards, buttons, and forms. */
.eyebrow {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 250ms ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.mobile-nav-link {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    display: block;
    font-weight: 700;
    padding: 1rem 0;
    transition: color 250ms ease, padding-inline-start 250ms ease;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    padding-inline-start: 0.5rem;
}

.service-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: border-color 350ms ease, box-shadow 350ms ease, transform 350ms ease;
}

.service-card:hover {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: var(--shadow-soft);
    transform: translateY(-6px);
}

.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    height: 100%;
    padding: 1.75rem;
    transition: border-color 350ms ease, transform 350ms ease;
}

.feature-card:hover {
    border-color: rgba(14, 77, 120, 0.35);
    transform: translateY(-4px);
}

.feature-icon {
    align-items: center;
    background: rgba(14, 77, 120, 0.1);
    border-radius: 1rem;
    color: var(--primary-color);
    display: inline-flex;
    font-size: 1.4rem;
    height: 3.25rem;
    justify-content: center;
    width: 3.25rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    height: 100%;
    padding: 1.75rem;
}

.step-number {
    align-items: center;
    background: var(--accent-color);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 800;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.work-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.testimonial-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
}

.avatar-initial {
    align-items: center;
    background: var(--primary-color);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 1rem;
    justify-content: space-between;
    list-style: none;
    padding: 1.25rem 1.5rem;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    color: var(--accent-color);
    flex-shrink: 0;
    transition: transform 300ms ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-body {
    color: var(--text-muted);
    line-height: 1.9;
    padding: 0 1.5rem 1.5rem;
}

.field-label {
    color: var(--text-muted);
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.site-input {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    color: var(--text-color);
    min-height: 3rem;
    padding: 0.75rem 1rem;
    width: 100%;
}

.site-input::placeholder {
    color: rgba(86, 99, 120, 0.6);
}

.site-input:focus {
    border-color: var(--primary-color);
    outline: 2px solid rgba(14, 77, 120, 0.16);
}

.footer-heading {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 250ms ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

.social-btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    transition: background 250ms ease, color 250ms ease;
    width: 2.75rem;
}

.social-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
}

.floating-actions {
    bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    inset-inline-end: 1.25rem;
    position: fixed;
    z-index: 60;
}

.floating-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    height: 3.5rem;
    justify-content: center;
    width: 3.5rem;
    box-shadow: 0 12px 30px rgba(11, 39, 64, 0.3);
    transition: transform 250ms ease;
}

.floating-btn-labeled {
    gap: 0.5rem;
    padding: 0 1.25rem;
    width: auto;
}

.floating-btn:hover {
    transform: scale(1.06);
}

.testimonial-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    animation: testimonial-scroll 48s linear infinite;
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-slide {
    flex: 0 0 auto;
    width: min(85vw, 22rem);
}

@keyframes testimonial-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .testimonial-slide {
        width: min(100%, 22rem);
    }
}