/* ===== Layout common extra CSS: block 1 ===== */
.setcontactcolor{
            background-color: #34a853;
            color: #fff;
        }
        .sandy-v2-social-icons a {
    transition: opacity 0.2s ease-in-out;
}
.sandy-v2-social-icons a:hover {
    opacity: 0.8; /* Subtle fade on hover */
}

/* Initial state: Hidden before scrolling into view */
.addanimation {
    opacity: 0;
}

/* Triggered state */
.addanimation.active {
    animation: panMove 1.8s ease forwards, fadeReveal 1.5s ease forwards;
}

@keyframes panMove {
    0% {
        opacity: 0;
        transform: translateX(-120px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeReveal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Initial hidden state for list items */
.avx-list-box .avx-list-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

/* Revealed state when the list comes into view */
.avx-list-box.reveal-active .avx-list-item {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays so they appear one by one */
.avx-list-box.reveal-active .avx-list-item:nth-child(1) { transition-delay: 0.1s; }
.avx-list-box.reveal-active .avx-list-item:nth-child(2) { transition-delay: 0.25s; }
.avx-list-box.reveal-active .avx-list-item:nth-child(3) { transition-delay: 0.4s; }
.avx-list-box.reveal-active .avx-list-item:nth-child(4) { transition-delay: 0.55s; }
.avx-list-box.reveal-active .avx-list-item:nth-child(5) { transition-delay: 0.7s; }

/* ===== Layout common extra CSS: block 2 ===== */
/* Toast Container */
    .network-toast {
        position: fixed;
        top: -100px; /* Hidden above screen initially */
        left: 50%;
        transform: translateX(-50%);
        z-index: 99999;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 28px;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Active Visibility Class */
    .network-toast.show {
        top: 24px;
    }

    /* THEME 1: Strong Connection (SaaS Teal/Green) */
    .toast-strong {
        background-color: rgba(240, 253, 250, 0.95);
        border: 1px solid #67e8f9;
        color: #0f766e;
    }

    /* THEME 2: Weak Connection (Premium Amber/Yellow) */
    .toast-weak {
        background-color: rgba(255, 251, 235, 0.95);
        border: 1px solid #fde047;
        color: #b45309;
    }

    /* THEME 3: Offline Connection (Modern Crimson/Red) */
    .toast-offline {
        background-color: rgba(254, 242, 242, 0.95);
        border: 1px solid #fecaca;
        color: #b91c1c;
    }

    .network-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    /* OPTIONAL: Developer Test Dock (Remove this block before moving to production) */
    .dev-test-dock {
        position: fixed;
        bottom: 15px;
        right: 15px;
        background: #1e293b;
        padding: 10px;
        border-radius: 8px;
        z-index: 99999;
        display: flex;
        gap: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .dev-test-dock span { color: #94a3b8; font-size: 11px; font-family: sans-serif; align-self: center; margin-right: 5px;}
    .btn-test { border: none; padding: 6px 12px; font-size: 11px; font-weight: bold; border-radius: 4px; cursor: pointer; color: white;}
    .btn-strong { background: #10b981; }
    .btn-weak { background: #f59e0b; }
    .btn-offline { background: #ef4444; }

/* Training navigation dropdown */
.sm-training-dropdown {
    position: relative;
}

.sm-training-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.sm-training-dropdown-menu {
    width: 330px;
    padding: 10px;
    margin-top: 10px !important;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .18);
    background: #ffffff;
}

.sm-training-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 34px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-left: 1px solid rgba(15, 23, 42, .10);
    border-top: 1px solid rgba(15, 23, 42, .10);
    transform: rotate(45deg);
}

.sm-training-dropdown-menu .dropdown-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin: 2px 0;
    border-radius: 12px;
    color: #172033;
    white-space: normal;
    transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

.sm-training-dropdown-menu .dropdown-item:hover,
.sm-training-dropdown-menu .dropdown-item:focus,
.sm-training-dropdown-menu .dropdown-item.active {
    color: #172033;
    background: linear-gradient(135deg, rgba(52, 168, 83, .12), rgba(66, 133, 244, .10));
    transform: translateX(2px);
}

.sm-training-submenu-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    color: #ffffff;
    background: linear-gradient(135deg, #34a853, #4285f4);
    font-size: 18px;
}

.sm-training-dropdown-menu strong,
.sm-training-dropdown-menu small {
    display: block;
}

.sm-training-dropdown-menu strong {
    font-size: 14px;
    line-height: 1.35;
}

.sm-training-dropdown-menu small {
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.sm-mobile-training-toggle {
    border: 0;
    background: transparent;
    text-align: left;
}

.sm-mobile-training-toggle i {
    transition: transform .2s ease;
}

.sm-mobile-training-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.sm-mobile-training-submenu {
    margin: 6px 0 4px 10px;
    padding: 7px;
    border-left: 2px solid rgba(52, 168, 83, .72);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, .055);
}

.sm-mobile-training-submenu .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 3px 0;
    padding: 10px 12px !important;
    border-radius: 9px;
    color: rgba(255, 255, 255, .82) !important;
}

.sm-mobile-training-submenu .nav-link:hover,
.sm-mobile-training-submenu .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(52, 168, 83, .55), rgba(66, 133, 244, .45));
}

@media (min-width: 992px) {
    .sm-training-dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {
    .sm-mobile-training-toggle {
        color: rgba(255, 255, 255, .82) !important;
        padding: 10px 0 !important;
    }
    .sm-mobile-training-toggle:hover,
    .sm-mobile-training-toggle.active {
        color: #ffffff !important;
    }
}


/* Training parent link + independent submenu toggle */
.sm-training-trigger {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.sm-training-trigger > .nav-link {
    padding-right: 5px !important;
}

.sm-training-menu-toggle {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .78);
    padding: 8px 4px 8px 2px;
    line-height: 1;
    border-radius: 6px;
}

.sm-training-menu-toggle:hover,
.sm-training-menu-toggle:focus,
.sm-training-dropdown:hover .sm-training-menu-toggle,
.sm-training-dropdown:focus-within .sm-training-menu-toggle {
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
}

.sm-training-menu-toggle i {
    display: inline-block;
    transition: transform .2s ease;
}

.sm-training-menu-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.sm-mobile-training-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sm-mobile-training-row > .nav-link {
    padding: 10px 0 !important;
    color: rgba(255, 255, 255, .82) !important;
}

.sm-mobile-training-row > .nav-link:hover,
.sm-mobile-training-row > .nav-link.active {
    color: #ffffff !important;
}

.sm-mobile-training-row .sm-mobile-training-toggle {
    width: 42px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    padding: 0 !important;
    color: rgba(255, 255, 255, .82) !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
}

@media (min-width: 992px) {
    .sm-training-dropdown-menu {
        margin-top: 0 !important;
    }

    .sm-training-dropdown:hover > .dropdown-menu,
    .sm-training-dropdown:focus-within > .dropdown-menu {
        display: block;
    }
}

/* ===== Global scroll-to-top control =====
   Kept in the common layout stylesheet so the button never renders as an
   unstyled browser button on pages that do not load Google Ads CSS. */
.sm-scroll-top-btn {
    position: fixed;
    right: 26px;
    bottom: 28px;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(.92);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
    z-index: 9998;
    background: conic-gradient(#34a853 0deg, rgba(52,168,83,.16) 0deg);
    box-shadow: 0 12px 28px rgba(0,0,0,.20);
    isolation: isolate;
    -webkit-appearance: none;
    appearance: none;
}
.sm-scroll-top-btn::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(52,168,83,.10);
    z-index: -1;
}
.sm-scroll-top-btn.sm-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.sm-scroll-top-icon {
    width: 25px;
    height: 25px;
    display: block;
    color: #111827;
    transition: color .25s ease, transform .25s ease;
}
.sm-scroll-top-btn:hover,
.sm-scroll-top-btn:focus-visible {
    box-shadow: 0 15px 34px rgba(52,168,83,.38);
}
.sm-scroll-top-btn:hover::before,
.sm-scroll-top-btn:focus-visible::before {
    background: #1f7a3d;
}
.sm-scroll-top-btn:hover .sm-scroll-top-icon,
.sm-scroll-top-btn:focus-visible .sm-scroll-top-icon {
    color: #fff;
    transform: translateY(-2px);
}
.sm-is-training-page .sm-scroll-top-btn { bottom: 104px; }
@media (max-width: 767px) {
    .sm-scroll-top-btn {
        right: 16px;
        bottom: 18px;
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }
    .sm-is-training-page .sm-scroll-top-btn { bottom: 90px; }
    .sm-scroll-top-icon { width: 23px; height: 23px; }
}
