/* Custom Cursor */
.custom-cursor { 
    width: 80px; 
    height: 80px; 
    background: radial-gradient(circle, rgba(245,158,11,0.6) 0%, rgba(245,158,11,0) 60%); 
    border-radius: 50%; 
    position: fixed; 
    pointer-events: none; 
    transform: translate(-50%, -50%); 
    z-index: 9999; 
}

/* GSAP Initial States */
.gsap-fade-up { 
    opacity: 0; 
    transform: translateY(40px); 
}

/* Glass Card Hovers (General) */
.anvex-glass-card { 
    transition: all 0.3s ease; 
}
.anvex-glass-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important; 
    border-color: #f59e0b !important; 
}


/* ---------------------------------
   DYNAMIC LOGO MARQUEE SHORTCODE 
   --------------------------------- */
.anvex-logo-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    white-space: nowrap;
    background-color: transparent;
}

.anvex-logo-marquee {
    display: inline-block;
    animation: anvex-marquee 30s linear infinite;
    white-space: nowrap;
}

.anvex-company-logo {
    height: 120px !important;
    width: 250px !important;
    max-width: none !important;
    object-fit: contain !important;
    transition: all 0.4s ease;
    margin: 0 10px;
    display: inline-block;
    padding: 0 20px;
    border-radius: 12px;
    box-sizing: border-box !important;
}

.anvex-company-logo:hover {
    filter: none;
    opacity: 1;
}

@keyframes anvex-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------------------------------
   MODERN TESTIMONIALS (ELEMENTOR OVERRIDE)
   --------------------------------- */
.anvex-modern-testimonial .elementor-testimonial-wrapper {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    border-radius: 20px !important;
    padding: 50px 40px !important;
    transition: all 0.4s ease;
    margin: 15px;
}

.anvex-modern-testimonial .elementor-testimonial-wrapper:hover {
    border-color: rgba(245, 158, 11, 0.3) !important;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(245, 158, 11, 0.1) !important;
}

.anvex-modern-testimonial .elementor-testimonial-content {
    font-size: 18px !important;
    color: #4b5563 !important;
    line-height: 1.8 !important;
    margin-bottom: 35px !important;
    font-style: normal !important;
}

.anvex-modern-testimonial .elementor-testimonial-content::before {
    content: '""';
    display: block;
    font-size: 60px;
    color: #f59e0b;
    font-family: Georgia, serif;
    line-height: 0.5;
    margin-bottom: 10px;
    opacity: 0.5;
}

.anvex-modern-testimonial .elementor-testimonial-meta {
    display: flex;
    align-items: center;
}

.anvex-modern-testimonial .elementor-testimonial-image img {
    border-radius: 50% !important;
    width: 65px !important;
    height: 65px !important;
    object-fit: cover !important;
    border: 2px solid #f59e0b !important;
    padding: 2px;
}

.anvex-modern-testimonial .elementor-testimonial-name {
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.anvex-modern-testimonial .elementor-testimonial-job {
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.anvex-modern-testimonial .swiper-pagination-bullet {
    background: #4b5563 !important;
    opacity: 1 !important;
}
.anvex-modern-testimonial .swiper-pagination-bullet-active {
    background: #f59e0b !important;
    transform: scale(1.2);
}

.anvex-modern-testimonial .elementor-swiper-button {
    color: #f59e0b !important;
}

/* ---------------------------------
   HERO SECTION CUSTOM UI
   --------------------------------- */
/* Removed .anvex-hover-card styles as requested */

.anvex-hero-glow-img img {
    filter: drop-shadow(0 0 60px rgba(0, 85, 255, 0.6)) !important; /* Darker Neon Blue glow */
    border-radius: 20px;
    animation: anvexPulseGlow 4s infinite alternate;
}
@keyframes anvexPulseGlow {
    0% { filter: drop-shadow(0 0 40px rgba(0, 85, 255, 0.4)); }
    100% { filter: drop-shadow(0 0 80px rgba(0, 85, 255, 0.9)); }
}

.anvex-hero-buttons-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.anvex-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.anvex-hero-btn-primary {
    background: #FFAB00;
    color: #ffffff;
    border: 2px solid #FFAB00;
}
.anvex-hero-btn-primary:hover {
    background: #e6a600;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.3);
}

.anvex-hero-btn-primary .btn-icon-circle {
    background: #ffffff;
    color: #FFAB00;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 14px;
}

.anvex-hero-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.2);
}
.anvex-hero-btn-secondary:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}
.anvex-hero-btn-secondary i {
    margin-left: 10px;
    font-size: 14px;
}

.anvex-hero-tags-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 30px;
}

.anvex-hero-tag {
    display: inline-flex;
    align-items: center;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.05);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.anvex-hero-tag:hover {
    border-color: rgba(255, 184, 0, 0.5);
    transform: translateY(-2px);
    background: #27354a;
}
.anvex-hero-tag img, .anvex-hero-tag svg {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

/* ---------------------------------
   PROCESS JOURNEY ANIMATION
   --------------------------------- */
.anvex-journey-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    cursor: default;
}

.anvex-journey-line-wrapper {
    position: absolute;
    top: 66px; /* align with the circles */
    left: 10%;
    right: 10%;
    height: 2px;
    z-index: 1;
}

.anvex-journey-track {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #e5e7eb;
}

.anvex-journey-progress {
    position: absolute;
    width: 0%;
    height: 100%;
    background: #0055ff;
    left: 0;
    top: 0;
    z-index: 2;
}

.anvex-journey-pulse {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 15px 5px rgba(0, 85, 255, 0.6);
    transform: translate(-50%, -50%);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
}

.anvex-journey-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.anvex-journey-node {
    width: 20%;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.anvex-journey-circle {
    width: 14px;
    height: 14px;
    background: #e5e7eb;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    position: relative;
}

.anvex-journey-content {
    background: #ffffff;
    padding: 20px 15px;
    border-radius: 12px;
    margin: 0 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.anvex-journey-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.anvex-journey-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Hover/Active States applied via JS */
.anvex-journey-node.is-active {
    transform: translateY(-10px) scale(1.03);
}

.anvex-journey-node.is-active .anvex-journey-content {
    box-shadow: 0 15px 30px rgba(0, 85, 255, 0.08);
    border-color: rgba(0, 85, 255, 0.2);
}

/* ---------------------------------
   WPFORMS CUSTOM UI/UX
   --------------------------------- */
div.wpforms-container-full {
    margin: 0 !important;
}
.wpforms-container-full .wpforms-form .wpforms-field-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wpforms-container-full .wpforms-form .wpforms-field {
    padding: 0 !important;
    clear: both;
}
.wpforms-container-full .wpforms-form input[type=text],
.wpforms-container-full .wpforms-form input[type=email],
.wpforms-container-full .wpforms-form input[type=tel],
.wpforms-container-full .wpforms-form input[type=number],
.wpforms-container-full .wpforms-form textarea {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    font-size: 15px !important;
    color: #1f2937 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.wpforms-container-full .wpforms-form input:focus,
.wpforms-container-full .wpforms-form textarea:focus {
    border-color: #FFAB00 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.1) !important;
    outline: none !important;
}
.wpforms-container-full .wpforms-form .wpforms-field-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    display: block;
}
.wpforms-container-full .wpforms-form button[type=submit] {
    background: #FFAB00 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 30px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin-top: 10px !important;
}
.wpforms-container-full .wpforms-form button[type=submit]:hover {
    background: #e6a600 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.3) !important;
}

.anvex-journey-node.is-active .anvex-journey-circle {
    background: #0055ff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.4);
}

.anvex-journey-node.is-active .anvex-journey-title {
    color: #0055ff;
}

/* ---------------------------------
   INTERACTIVE SERVICE EXPLORER
   --------------------------------- */
.anvex-service-explorer {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.anvex-service-nav {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
}

.anvex-service-tab {
    display: flex;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.anvex-service-tab .tab-icon {
    font-size: 20px;
    color: #9ca3af;
    width: 40px;
    transition: all 0.3s ease;
}

.anvex-service-tab .tab-title {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.anvex-service-tab .tab-arrow {
    color: #9ca3af;
    font-size: 20px;
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.anvex-service-tab .tab-underline {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 0%;
    background: #FFAB00;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.anvex-service-tab:hover .tab-title,
.anvex-service-tab.is-active .tab-title {
    color: #111827;
}

.anvex-service-tab:hover .tab-icon,
.anvex-service-tab.is-active .tab-icon {
    color: #FFAB00;
    transform: scale(1.1);
}

.anvex-service-tab:hover .tab-arrow,
.anvex-service-tab.is-active .tab-arrow {
    opacity: 1;
    color: #FFAB00;
    transform: translateX(10px);
}

.anvex-service-tab:hover .tab-underline,
.anvex-service-tab.is-active .tab-underline {
    width: 100%;
}

.anvex-service-showcase {
    flex: 1 1 60%;
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    overflow: hidden;
    min-height: 600px;
    border: 1px solid rgba(0,0,0,0.02);
}

.anvex-service-panel {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.panel-image-wrapper {
    height: 450px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f3f4f6;
}

.panel-glow {
    display: none;
}

.panel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border-radius: 0;
}

.panel-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fffbeb;
    color: #b45309;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 20px;
}

.panel-headline {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
}

.panel-desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 25px;
}

.panel-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.panel-feature {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* CTA removed */

@media (max-width: 992px) {
    .anvex-service-explorer {
        flex-direction: column;
        gap: 20px;
    }
    /* Horizontally scrollable pill tabs for mobile */
    .anvex-service-nav {
        flex: 1 1 100%;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 12px;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar Firefox */
        /* Create a fade effect on the right side to indicate scrollability */
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    .anvex-service-nav::-webkit-scrollbar {
        display: none; /* Hide scrollbar Webkit */
    }
    
    .anvex-service-tab {
        flex: 0 0 auto;
        padding: 10px 20px;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 50px;
        white-space: nowrap;
        margin-bottom: 0;
    }
    .anvex-service-tab .tab-title {
        font-size: 14px;
        font-weight: 700;
    }
    .anvex-service-tab.is-active {
        background: #111827;
        border-color: #111827;
    }
    .anvex-service-tab.is-active .tab-title {
        color: #ffffff;
    }
    /* Hide desktop-only decorations on mobile */
    .anvex-service-tab .tab-icon, 
    .anvex-service-tab .tab-arrow, 
    .anvex-service-tab .tab-underline {
        display: none !important;
    }

    .anvex-service-showcase {
        flex: 1 1 100%;
        width: 100%;
        min-height: auto;
    }
    .anvex-service-panel {
        position: relative;
    }
    .panel-features {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------
   MOBILE RESPONSIVENESS (Max 768px)
   --------------------------------- */
@media (max-width: 768px) {
    /* Hero Buttons & Tags */
    .anvex-hero-buttons-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .anvex-hero-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
    .anvex-hero-tags-wrapper {
        justify-content: center;
        gap: 10px;
    }
    .anvex-hero-tag {
        font-size: 12px;
        padding: 8px 12px;
    }
    .anvex-hero-tag img, .anvex-hero-tag svg, .anvex-hero-tag i {
        width: 16px;
        height: 16px;
        font-size: 14px;
        margin-right: 6px;
    }

    /* Marquee Logos */
    .anvex-company-logo {
        height: 60px !important;
        width: 150px !important;
        padding: 0 10px;
        margin: 0 5px;
    }

    /* Journey Process Timeline - Vertical Stack */
    .anvex-journey-line-wrapper {
        display: none; /* Hide horizontal line */
    }
    .anvex-journey-nodes {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .anvex-journey-node {
        width: 100%;
        max-width: 400px;
    }
    .anvex-journey-circle {
        display: none; /* Hide circles as they look weird without the line */
    }
    .anvex-journey-node.is-active {
        transform: translateY(-5px) scale(1.02); /* Less aggressive scale on mobile */
    }

    /* Testimonials */
    .anvex-modern-testimonial .elementor-testimonial-wrapper {
        padding: 30px 20px !important;
        margin: 5px;
    }
    .anvex-modern-testimonial .elementor-testimonial-content {
        font-size: 16px !important;
        margin-bottom: 25px !important;
    }

    /* Service Explorer */
    .anvex-service-tab .tab-title {
        font-size: 16px;
    }
    .panel-content {
        padding: 25px;
    }
    .panel-headline {
        font-size: 24px;
    }
    .panel-image-wrapper {
        height: 250px; /* Reduce image height on mobile */
    }
}

/* Extra small devices (Max 480px) */
@media (max-width: 480px) {
    .panel-feature {
        font-size: 13px;
    }
    .anvex-company-logo {
        height: 50px !important;
        width: 120px !important;
    }
}


/* ---------------------------------
   SCROLLING TICKER STRIP
   --------------------------------- */
.anvex-ticker-wrapper { background-color: #FFAB00; color: #0b0f19; overflow: hidden; white-space: nowrap; padding: 20px 0; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; display: flex; }
.anvex-ticker-content { display: inline-flex; align-items: center; gap: 40px; font-size: 28px; font-weight: 800; text-transform: capitalize; animation: anvex-ticker-scroll 25s linear infinite; padding-left: 40px; }
.anvex-ticker-content span { display: inline-block; }
@keyframes anvex-ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }

/* ---------------------------------
   WHY WE STARTED SECTION
   --------------------------------- */
.anvex-why-started-wrapper { display: flex; flex-direction: column; gap: 50px; padding: 80px 5%; background-color: #0b0f19; color: #ffffff; max-width: 1400px; margin: 0 auto; }
@media (min-width: 992px) { .anvex-why-started-wrapper { flex-direction: row; gap: 100px; } .anvex-why-started-left, .anvex-why-started-right { width: 50%; } }
.anvex-why-subtitle { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.anvex-why-asterisk { color: #FFAB00; font-size: 20px; }
.anvex-why-title { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 40px; color: #ffffff; }
.anvex-why-highlight { color: #FFAB00; }
.anvex-why-btn { display: inline-flex; align-items: center; background: #1f2937; border-radius: 50px; padding: 5px 5px 5px 25px; text-decoration: none; color: #ffffff; font-weight: 600; transition: all 0.3s ease; }
.anvex-why-btn:hover { background: #374151; }
.anvex-why-btn-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #FFAB00; color: #0b0f19; border-radius: 50%; margin-left: 15px; font-weight: bold; font-size: 18px; }
.anvex-why-timeline { position: relative; padding-left: 50px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.anvex-why-item { position: relative; margin-bottom: 60px; }
.anvex-why-item:last-child { margin-bottom: 0; }
.anvex-why-node { position: absolute; left: -57px; top: 0; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #FFAB00; background: #0b0f19; }
.anvex-why-node::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4px; height: 4px; border-radius: 50%; background: #FFAB00; }
.anvex-why-icon { margin-bottom: 20px; }
.anvex-why-item-title { font-size: 22px; font-weight: 700; color: #ffffff; margin-bottom: 15px; }
.anvex-why-item-desc { font-size: 16px; color: #9ca3af; line-height: 1.6; }

