/* ============================================================
   HOMEPAGE EXTRA CSS - jharbhoominaksha-child
   Add these styles at the END of style.css
   OR include via wp_enqueue_style in functions.php
============================================================ */

/* -------- HERO SECTION -------- */
.jbn-hero {
    background: linear-gradient(135deg, #0d3b5e 0%, #1a5276 50%, #2e86c1 100%);
    padding: 48px 20px 40px;
    border-bottom: 4px solid var(--accent);
}
.jbn-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.jbn-hero-text { flex: 1; min-width: 280px; }
.jbn-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #f0e6c8;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255,255,255,0.2);
}
.jbn-hero-text h1 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 14px;
}
.jbn-hero-text p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 24px;
}
.jbn-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.jbn-hero-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.jbn-hero-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.jbn-hero-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.6);
}
.jbn-hero-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* Hero Stats */
.jbn-hero-stats {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    flex-shrink: 0;
}
.jbn-stat-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    text-align: center;
    backdrop-filter: blur(4px);
    min-width: 110px;
}
.stat-num {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #f0c040;
    line-height: 1;
}
.stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
    font-weight: 500;
}

/* -------- AD STRIP -------- */
.jbn-ad-strip {
    background: var(--bg-white);
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

/* -------- SECTION COMMON -------- */
.jbn-section-head { text-align: center; margin-bottom: 30px; }
.jbn-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.jbn-section-head .jbn-section-title { justify-content: center; }
.jbn-section-sub {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* -------- SERVICES SECTION -------- */
.jbn-services-section {
    padding: 44px 0;
    background: var(--bg-main);
}
.jbn-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.jbn-service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-top: 4px solid transparent;
}
.jbn-service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.sc-blue   { border-top-color: #2e86c1; }
.sc-green  { border-top-color: #27ae60; }
.sc-orange { border-top-color: #e67e22; }
.sc-purple { border-top-color: #8e44ad; }
.sc-teal   { border-top-color: #16a085; }
.sc-red    { border-top-color: #c0392b; }

.jbn-sc-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}
.jbn-service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
}
.jbn-service-card p {
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0 0 14px;
    flex: 1;
}
.jbn-sc-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.jbn-sc-steps span {
    background: #f0f4f8;
    color: var(--text-mid);
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-weight: 500;
}
.jbn-sc-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--transition);
    text-align: center;
    margin-top: auto;
}
.jbn-sc-btn:hover { background: var(--primary-light); }

/* -------- HOW TO SECTION -------- */
.jbn-howto-section {
    padding: 44px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.jbn-howto-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}
.jbn-step-list { display: flex; flex-direction: column; gap: 14px; }
.jbn-step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-main);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.jbn-step-item:hover {
    border-color: var(--primary-light);
    background: #eaf4fb;
}
.jbn-step-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}
.jbn-step-text strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.jbn-step-text p {
    margin: 0;
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.5;
}
.jbn-step-text a { color: var(--primary-light) !important; }

/* How-to sidebar info card */
.jbn-info-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary-light);
    border-radius: var(--radius);
    padding: 16px 18px;
}
.jbn-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 12px;
}
.jbn-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.jbn-info-card ul li {
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-mid);
}
.jbn-info-card ul li:last-child { border-bottom: none; }
.jbn-info-card ul li a { color: var(--primary-light) !important; }

/* -------- DISTRICTS SECTION -------- */
.jbn-districts-section {
    padding: 44px 0;
    background: var(--bg-main);
}
.jbn-districts-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.jbn-district-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 10px;
    text-align: center;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}
.jbn-district-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    background: #eaf4fb;
}
.jbn-dc-icon { font-size: 22px; }
.jbn-dc-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}
.jbn-dc-en {
    font-size: 10.5px;
    color: var(--text-light);
}

/* -------- BOTTOM SECTION -------- */
.jbn-bottom-section {
    padding: 44px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}
.jbn-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* List Post Style */
.jbn-list-post {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    transition: var(--transition);
}
.jbn-list-post:last-child { border-bottom: none; }
.jbn-list-post:hover { background: #fafbfc; margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: var(--radius); }

.jbn-lp-img {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
}
.jbn-lp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}
.jbn-lp-placeholder {
    background: linear-gradient(135deg, #1a5276, #2e86c1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none !important;
}
.jbn-lp-body { flex: 1; }
.jbn-lp-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.jbn-lp-cat {
    background: #eaf4fb;
    color: var(--primary-light);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.jbn-lp-date { font-size: 12px; color: var(--text-light); }
.jbn-lp-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    line-height: 1.45;
    margin-bottom: 6px;
    transition: var(--transition);
}
.jbn-lp-title:hover { color: var(--primary) !important; }
.jbn-lp-excerpt {
    font-size: 13px;
    color: var(--text-mid);
    margin: 0 0 8px;
    line-height: 1.55;
}

/* Sidebar Widget */
.jbn-sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.jbn-sw-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    padding: 12px 16px;
    margin: 0;
}
.jbn-sidebar-widget .jbn-imp-links { padding: 8px 12px; }
.jbn-sidebar-widget .jbn-imp-links li { border-color: #eee; }
.jbn-sidebar-widget .jbn-imp-links li a { font-size: 13px; padding: 8px 4px; }

/* FAQ List */
.jbn-faq-list { padding: 12px 16px; }
.jbn-faq-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.jbn-faq-item:last-child { border-bottom: none; }
.jbn-faq-item strong { font-size: 13.5px; color: var(--text-dark); display: block; margin-bottom: 4px; }
.jbn-faq-item p { font-size: 13px; color: var(--text-mid); margin: 0; line-height: 1.5; }
.jbn-faq-item a { color: var(--primary-light) !important; }

/* -------- DISCLAIMER STRIP -------- */
.jbn-disclaimer-strip {
    background: #fef9e7;
    border-top: 1px solid #f9e79f;
    padding: 14px 20px;
}
.jbn-disclaimer-strip p {
    font-size: 13px;
    color: #7d6608;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}
.jbn-disclaimer-strip a { color: #a04000 !important; }

/* -------- RESPONSIVE -------- */
@media (max-width: 1024px) {
    .jbn-services-grid { grid-template-columns: repeat(2, 1fr); }
    .jbn-districts-grid { grid-template-columns: repeat(4, 1fr); }
    .jbn-howto-inner { grid-template-columns: 1fr; }
    .jbn-bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .jbn-hero-text h1 { font-size: 26px; }
    .jbn-hero-inner { flex-direction: column; }
    .jbn-hero-stats { grid-template-columns: repeat(4, 1fr); width: 100%; }
    .jbn-services-grid { grid-template-columns: 1fr; }
    .jbn-districts-grid { grid-template-columns: repeat(3, 1fr); }
    .jbn-section-title { font-size: 18px; }
}
@media (max-width: 480px) {
    .jbn-hero-text h1 { font-size: 22px; }
    .jbn-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .jbn-hero-btns { flex-direction: column; }
    .jbn-districts-grid { grid-template-columns: repeat(2, 1fr); }
    .jbn-list-post { flex-direction: column; }
    .jbn-lp-img { width: 100%; height: 160px; }
    .stat-num { font-size: 20px; }
}
