.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(77, 124, 240, 0.1);
}

.text-brand-blue {
    color: #4d7cf0;
}

.bg-brand-blue-gradient {
    background: linear-gradient(135deg, #4d7cf0 0%, #3b66d6 100%);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.pulse-node {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(77, 124, 240, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(77, 124, 240, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(77, 124, 240, 0);
    }
}

/* .step-active {
    background: #ffffff;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 20px 40px -10px rgba(77, 124, 240, 0.4);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
} */

/* Animated Progress Ring */
/* .progress-ring {
    transition: stroke-dashoffset 0.35s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
} */

.vision-and-visuals{
    background-image: linear-gradient(rgba(0, 0, 0, 0.548), rgba(0, 0, 0, 0.555)), url(img/vision.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.how-it-works{
    background-image: linear-gradient(rgba(0, 0, 0, 0.548), rgba(0, 0, 0, 0.555)), url(img/how-it-works.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.step-item:hover .icon-box {
    transform: rotate(15deg) scale(1.1);
}

.icon-box {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Interactive feature tile hover effect */
.feature-tile {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.feature-tile:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: #4D7CF0;
    box-shadow: 0 20px 40px -10px rgba(77, 124, 240, 0.2);
    color: white;
}

.feature-tile:hover .icon-box-f {
    background-color: #4D7CF0;
    color: white;
    transform: scale(1.1);
}

.icon-box-f {
    transition: all 0.3s ease;
}

/* 3D Mobile Container Styling */
#mobile-showcase {
    transition: transform 0.6s ease;
    transform: perspective(1000px) rotateY(-5deg);
}

#mobile-showcase:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* testimonial */

.testimonial-section {
    background-color: #f8faff;
    perspective: 1000px;
}

.testimonial-container {
    position: relative;
    height: 350px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    background: white;
    padding: 3rem;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(77, 124, 240, 0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Stack Logic */
.testimonial-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    z-index: 30;
}

.testimonial-card.next {
    opacity: 0.6;
    transform: translateY(40px) scale(0.9);
    z-index: 20;
}

.testimonial-card.hidden-top {
    opacity: 0;
    transform: translateY(-40px) scale(1.1);
    z-index: 10;
}

.quote-icon {
    font-family: 'Georgia', serif;
    font-size: 120px;
    line-height: 0;
    color: var(--brand-blue);
    opacity: 0.1;
    position: absolute;
    top: 60px;
    left: 40px;
}

.initials-avatar {
    background: linear-gradient(135deg, #4d7cf0 0%, #2a52be 100%);
}

.nav-btn-t {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.nav-btn-t:hover {
    background: var(--brand-blue);
    color: white;
    transform: scale(1.1);
}

/* scrolling section */
/* Mobile-Specific Horizontal Scroll Logic */
@media (max-width: 767px) {
    .mobile-snap-scroll {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 1.5rem !important;
        padding: 1rem 0 3rem 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar for clean UI */
    }

    .mobile-snap-scroll::-webkit-scrollbar {
        display: none;
    }

    .mobile-snap-scroll>div {
        flex: 0 0 85%;
        /* Shows 85% of the card so user sees the next one exists */
        scroll-snap-align: center;
        margin-bottom: 0 !important;
        /* Remove the vertical spacing */
    }

    /* Add a custom progress indicator for mobile */
    .scroll-indicator {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: -1.5rem;
    }

    .dot-last-sec {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #e2e8f0;
        transition: all 0.3s ease;
    }

    .dot-last-sec.active {
        background: #4d7cf0;
        width: 24px;
        border-radius: 4px;
    }
}

/* Desktop vertical spacing stays consistent */
@media (min-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* how it works */
/* Hide scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* The Custom Bracket Borders */
.workflow-step-card::before,
.workflow-step-card::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #e2e8f0;
    transition: all 0.5s ease;
    z-index: 0;
}

/* Top-Left Bracket */
.workflow-step-card::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 40px;
}

/* Bottom-Right Bracket */
.workflow-step-card::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 40px;
}

/* Active/Hover State */
.workflow-step-card.active::before,
.workflow-step-card.active::after {
    border-color: var(--accent);
    width: 80px;
    height: 80px;
}

/* Left Semi-Circle Icon Accent */
.semi-circle-icon {
    position: absolute;
    left: -48px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 100px;
    background: var(--accent);
    border-radius: 50px 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 10px 0 20px rgba(0, 0, 0, 0.1);
}

.semi-circle-icon .material-icons {
    margin-left: 10px;
    font-size: 20px;
}
