:root {
    --primary: #417E38;
    --primary-hover: #32642a;
    --bg-color: #f8fafc;
    --text-dark: #111827;
    --text-light: #4b5563;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Layout shift ko hamesha ke liye rokne ka fix */
html {
    overflow-y: scroll; 
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Purana scrollbar-gutter yahan se nikal diya hai */
}

/* ======== PROFESSIONAL CUSTOM SCROLLBAR ======== */
::-webkit-scrollbar {
    width: 8px; /* Scrollbar ko patla aur sleek banaya */
}

::-webkit-scrollbar-track {
    background: #f8fafc; /* Track ka color page ke background se match kiya */
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* Elegant grey color */
    border-radius: 10px; /* Modern rounded corners */
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; /* Hover par color thoda dark hoga */
}

.container {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======== HEADER ======== */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo { display: flex; align-items: center; text-decoration: none; transition: opacity 0.3s ease; }
.logo:hover { opacity: 0.8; }

.header-actions { display: flex; align-items: center; gap: 15px; }

/* Help Search Box */
.help-search-box {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 10px 18px;
    border-radius: 50px;
    gap: 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.help-search-box:focus-within {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(65, 126, 56, 0.05);
}
.help-search-box i { color: #94a3b8; font-size: 14px; }
.help-search-box input {
    border: none; background: transparent; outline: none;
    font-size: 14.5px; color: var(--text-dark); width: 180px;
}
.help-search-box input::placeholder { color: #94a3b8; }

/* Premium Pill Button (Go to Dapals) - Animation aur shadow kam kiya */
.btn-back-main {
    text-decoration: none; 
    background: var(--primary); 
    color: #fff;
    padding: 10px 24px; 
    border-radius: 50px; 
    font-weight: 600; 
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease; /* Sirf background color change hoga */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Bohot halka shadow */
}
.btn-back-main:hover { 
    background: var(--primary-hover); 
    /* Transform (bounce effect) aur extra glow hata diya gaya hai */
}

/* ======== HELP CENTER LAYOUT ======== */
.help-wrapper {
    max-width: 1150px; margin: 40px auto; padding: 0 20px;
    display: grid; grid-template-columns: 260px 1fr; gap: 40px; flex: 1;
}

.help-sidebar {
    background: #ffffff; border: 1px solid #eaebef; border-radius: 16px;
    padding: 24px; height: fit-content; position: sticky; top: 100px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.help-sidebar h3 { font-size: 15px; font-weight: 700; margin-bottom: 18px; color: var(--text-dark); }
.help-nav-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.help-nav-link {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    border-radius: 10px; color: var(--text-light); text-decoration: none;
    font-weight: 500; font-size: 14.5px; transition: all 0.2s ease; cursor: pointer;
}
.help-nav-link:hover { background: #f8fafc; color: var(--text-dark); }
.help-nav-link.active { background: #f0fdf4; color: var(--primary); font-weight: 600; }
.help-nav-link.active i { color: var(--primary); }
.help-nav-link i { color: #94a3b8; width: 16px; text-align: center; }

.help-content-area {
    background: #ffffff; border: 1px solid #eaebef; border-radius: 16px;
    padding: 45px; box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.help-tab-pane { display: none; }
.help-tab-pane.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.help-content-area h2 { font-size: 26px; font-weight: 800; margin-bottom: 25px; color: var(--text-dark); letter-spacing: -0.5px;}
.help-content-area h3 { font-size: 18px; font-weight: 700; margin: 30px 0 15px 0; color: var(--text-dark); }
.help-content-area p { color: var(--text-light); font-size: 15.5px; line-height: 1.7; margin-bottom: 20px; }
.help-content-area ul { margin-bottom: 25px; padding-left: 25px; color: var(--text-light); line-height: 1.7; font-size: 15.5px;}
.help-content-area li { margin-bottom: 10px; padding-left: 5px;}

/* Warning Box - Icon aur text ki alignment fix ki */
.warning-box {
    background: #fff5f5; 
    border: 1px solid #fed7d7; 
    border-left: 4px solid #ef4444; 
    padding: 16px 20px; 
    border-radius: 8px; 
    margin: 25px 0; 
    color: #b91c1c; 
    font-size: 14.5px; 
    line-height: 1.6; 
    /* Flexbox hata diya taake text properly ek sath flow kare */
}
.warning-box strong { 
    font-weight: 700; 
    color: #991b1b;
    margin-right: 4px;
}
.warning-box i {
    margin-right: 5px;
    font-size: 15px;
}

/* ======== FOOTER ======== */
.footer-container { 
    background: #ffffff; max-width: 1150px; margin: 40px auto; 
    padding: 20px 40px; border-radius: 50px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); 
    border: 1px solid #eaebef; display: flex; justify-content: space-between; 
    align-items: center; flex-wrap: wrap; gap: 15px;
}

.footer-links { display: flex; gap: 30px; margin-bottom: 0; flex-wrap: wrap; }
.footer-links a { color: #64748b; text-decoration: none; font-weight: 500; font-size: 14px; transition: all 0.2s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-copyright { color: #94a3b8; font-size: 13.5px; font-weight: 500; }

/* ======== MOBILE RESPONSIVE ======== */
@media (max-width: 992px) {
    .header-container { padding: 0 20px; }
}
@media (max-width: 850px) {
    .help-wrapper { grid-template-columns: 1fr; margin-top: 20px; }
    .help-sidebar { position: relative; top: 0; padding: 15px;}
    .help-nav-list { flex-direction: row; overflow-x: auto; padding-bottom: 5px;}
    .help-nav-link { white-space: nowrap; }
}
@media (max-width: 600px) {
    .logo img { height: 35px; }
    .help-search-box { display: none; }
    .btn-back-main { padding: 8px 16px; font-size: 13px; }
    .btn-back-main i { display: none; } /* Mobile par arrow hide */
    .help-content-area { padding: 25px 20px; }
    .help-content-area h2 { font-size: 22px; }
    .footer-container { flex-direction: column; gap: 15px; text-align: center; border-radius: 20px;}
    .footer-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
}