html {
    scroll-behavior: smooth;
}

p {
    font-size: 17px;
    line-height: 1.7;
    color: #334155;
}

.fst {
    font-size: 16px !important;
}

.nav-class {
    box-shadow: none !important;
}

.line {
    line-height: 15px !important;
}

/* Nav Pills & ScrollSpy */
.nav-pills .nav-link.active,
.nav-pills .nav-link.active:hover,
.nav-pills .nav-link.active:focus,
.nav-pills .show > .nav-link {
    color: #ffffff !important;
    background-color: #15b198 !important;
    font-weight: 600;
    border-radius: 8px;
}

.nav-pills .nav-link {
    color: #475569 !important;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
    background-color: #f1f5f9;
    color: #15b198 !important;
}

.clr-hlz {
    color: #00897b !important;
}

/* Scroll Anchors */
#intro,
#Step1,
#Step2,
#Step3,
#Step4,
#Step5,
#related-articles,
#support {
    scroll-margin-top: 100px;
}

.scrollable {
    overflow: visible !important;
    max-height: none !important;
}

/* Interactive Card Hovers */
.content-box {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.content-box:hover {
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    transform: translateY(-2px);
    border-color: #15b198;
}

/* Related Article Cards */
.related-article-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.related-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
    border-color: #1ab394;
}

.contact:hover {
    background-color: #1ab394;
    color: white !important;
    border-radius: 5px;
    padding: 5px;
    transition: 0.3s;
}

/* Learn More Sidebar Card Links */
.learn-more-item-link {
    color: #1e293b;
    transition: color 0.2s ease, transform 0.2s ease;
}

.learn-more-item-link:hover {
    color: #00897b !important;
}

/* Step Container & Step Cards */
.step-container {
    position: relative;
}

.step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 36px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
    border-color: #99f6e4;
    box-shadow: 0 12px 30px -10px rgba(26, 179, 148, 0.15);
}

.step-badge {
    background: linear-gradient(135deg, #1ab394 0%, #15b198 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(26, 179, 148, 0.25);
}

.step-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

/* Instruction Numbered Lists */
.instruction-list {
    list-style: none;
    padding-left: 0;
    margin-top: 18px;
    margin-bottom: 22px;
}

.instruction-list li {
    position: relative;
    padding-left: 42px;
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.6;
    color: #334155;
}

.instruction-list li .num-bullet {
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    background-color: #e6faf7;
    color: #0a7364;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #a7f3d0;
}

/* Screenshot Frame */
.screenshot-frame {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
    margin: 20px 0 10px 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-frame:hover {
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.screenshot-frame img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    font-size: 0.9rem;
    color: #64748b;
    padding: 8px 12px 4px 12px;
    text-align: center;
    font-weight: 500;
}

/* Callout Highlights */
.callout-box {
    background-color: #f0fdfa;
    border-left: 4px solid #14b595;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
}

.callout-box.tip {
    background-color: #f0fdf4;
    border-left-color: #22c55e;
}

.callout-box.info {
    background-color: #eff6ff;
    border-left-color: #3b82f6;
}

/* Quick Summary Feature Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0 32px 0;
}

.summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.summary-card:hover {
    border-color: #14b595;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(20, 181, 149, 0.1);
}

.summary-card-icon {
    font-size: 1.5rem;
    color: #14b595;
    margin-bottom: 8px;
}

.summary-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.summary-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 0;
}

/* FAQ Accordion Styling */
.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f172a;
    background-color: #ffffff;
    padding: 18px 22px;
}

.accordion-button:not(.collapsed) {
    color: #0a7364;
    background-color: #e6faf7;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #14b595;
}

.accordion-body {
    padding: 18px 22px;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.65;
    background: #ffffff;
}

/* Floating Top Button */
#back-to-up {
    z-index: 999;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(22, 179, 154, 0.35);
    transition: all 0.3s ease;
}

#back-to-up:hover {
    transform: translateY(-4px) scale(1.05);
}

.snackbar-links {
    display: none;
}

/* Responsive Mobile Navigation */
@media only screen and (max-width: 991px) {
    .bg-width {
        position: absolute !important;
    }
    .snackbar-links {
        display: none;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 75vh;
        background-color: rgba(15, 23, 42, 0.95);
        padding: 24px;
        backdrop-filter: blur(10px);
        overflow-y: auto;
        z-index: 1050;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    }
    .snackbar-links a {
        color: #ffffff !important;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
    }
    .step-card {
        padding: 20px 16px;
    }
    .step-title {
        font-size: 1.3rem;
    }
}

/* Footer Copyright & Text Visibility */
footer,
footer p,
footer small,
footer .text-white,
footer .text-white p,
footer .text-white small {
    color: #ffffff !important;
}

footer a.light-gray {
    color: #d4d4d4 !important;
}
