/* =====================================================================
   VahanX enhancements — loaded AFTER styles.css in the layout.
   Scope: CLS-safe ad reservations, motion, and NEW content sections
   styled to match the site's existing design tokens:
     font  : "Inter" (inherited from body)
     head  : #24272c, weight 700
     body  : #4C4C4C, weight 400, line-height 28px
     link  : #3664FC
     card  : #fff, border-radius 20px, box-shadow 0 0 30px rgba(0,0,0,.05)
   ===================================================================== */

/* --- AdSense manual units: reserve space so ads never shift content (CLS) --- */
.ad-slot {
    display: block;
    margin: 24px auto;
    /* reserve height only — never a fixed height; clipping a filled ad violates AdSense policy */
    min-height: 280px;
    text-align: center;
    overflow: hidden;
}
.ad-slot ins { display: block; }
.ad-slot::before {
    content: 'Advertisement';
    display: block;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #9aa0a6;
    margin-bottom: 4px;
}
@media (max-width: 768px) {
    .ad-slot { min-height: 250px; }
}

/* --- Subtle hover lift on the primary service cards (RC / Challan / DL) --- */
@media (hover: hover) {
    .top-f-card {
        transition: transform .25s ease, box-shadow .25s ease;
    }
    a:hover .top-f-card {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35);
    }
}

/* --- Respect users who prefer reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Home: "How it works" 3-step cards (match .rto-rc-step-card look) --- */
.how-it-works { padding: 40px 0 56px; }
.hiw-step {
    height: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
    .hiw-step:hover { transform: translateY(-6px); box-shadow: 0 10px 40px rgba(54, 100, 252, .12); }
}
.hiw-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: #3664FC; color: #fff;
    font-weight: 700; font-size: 20px; margin-bottom: 1.25rem;
}
.hiw-step h3 { font-size: 20px; font-weight: 700; color: #24272c; margin-bottom: .5rem; }
.hiw-step p { margin: 0; color: #4C4C4C; font-weight: 400; line-height: 28px; }

/* --- SEO prose blocks (home + service landings + contact) — mirror .rc-info .rto-info-conetnt --- */
.seo-content { padding: 40px 0 56px; }
/* Fill the Bootstrap .container width like every other section — no narrow inset */
.seo-content-inner { width: 100%; }
.seo-content-inner h2 {
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 700;
    color: #24272c;
    line-height: 1.25;
    margin: 0 0 1.5rem;
}
.seo-content-inner h3 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    color: #24272c;
    line-height: 1.3;
    margin: 2rem 0 1rem;
}
.seo-content-inner p {
    font-weight: 400;
    font-size: 1rem;
    line-height: 28px;
    color: #4C4C4C;
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
}
.seo-content-inner ul,
.seo-content-inner ol {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0 0 1.5rem;
}
.seo-content-inner ol { list-style: decimal; }
.seo-content-inner li {
    font-weight: 400;
    font-size: 1rem;
    line-height: 28px;
    color: #4C4C4C;
    margin-bottom: .75rem;
}
.seo-content-inner li b,
.seo-content-inner p b,
.seo-content-inner p strong { color: #24272c; font-weight: 600; }
.seo-content-inner a { color: #3664FC; font-weight: 600; }
.seo-content-inner a:hover { text-decoration: underline; }

/* Responsive table used inside SEO content (state codes, penalties, RTO classes) */
.seo-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5rem; border-radius: 12px; }
.seo-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.seo-table th, .seo-table td {
    padding: 12px 16px; border: 1px solid #e6e6ef; text-align: left;
    font-size: 1rem; font-weight: 400; line-height: 1.5; color: #4C4C4C;
}
.seo-table th { background: #f4f6ff; color: #24272c; font-weight: 600; }
.seo-table tbody tr:nth-child(even) { background: #fafbff; }
.seo-note { font-size: .9rem; color: #8a8a97; font-style: italic; margin: -.5rem 0 1.5rem; }

/* Chip-style internal links (state lists, related links) */
.state-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 12px 0 4px; }
.state-links li { margin: 0; }
.state-links a { display: inline-block; padding: 6px 14px; background: #f4f6ff; border: 1px solid #e3e8f0; border-radius: 20px; font-size: .95rem; color: #3664FC; font-weight: 500; }
.state-links a:hover { background: #3664FC; color: #fff; text-decoration: none; }

/* Accessible visually-hidden helper (fallback if Bootstrap's is absent) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
