/* /blogs/assets/style.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Noto+Sans+Devanagari:wght@400;700&display=swap');

/* Basic Setup */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
    margin: 0;
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    background: #f5f5f5;
    padding-top: 58px; /* For sticky header */
    padding-bottom: 44px; /* For sticky footer */
}

/* Header, Lang Switcher & Menu */
.header.sticky-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1001; background: linear-gradient(90deg, #ff9933, white, #138808); box-shadow: 0 3px 8px #0001; display: flex; align-items: center; justify-content: space-between; padding: 4px 10px; }
.header-left { display:flex; align-items:center; }
.header-logo { width:40px; height:40px; border-radius:50px; }
.header-title { font-size:20px; font-weight:bold; color:#800000; margin-left:8px; animation:slide-in 2s ease-in-out infinite alternate; }
@keyframes slide-in { from {transform:translateX(-10px);} to {transform:translateX(10px);} }
.lang-switcher { display: flex; align-items: center; background-color: #e0e0e0; border-radius: 50px; padding: 5px; cursor: pointer; position: relative; }
.lang-btn { padding: 5px 15px; border: none; background: none; cursor: pointer; font-weight: 600; color: #333; z-index: 2; transition: color 0.4s; font-size: 0.8em; }
.lang-btn.active { color: white; }
.lang-switcher .slider { position: absolute; top: 5px; left: 5px; width: calc(50% - 5px); height: calc(100% - 10px); background: #800000; border-radius: 50px; transition: transform 0.4s ease-in-out; z-index: 1; }
.lang-switcher.toggled-right .slider { transform: translateX(calc(100% - 2px)); }
.sticky-action-buttons { position: fixed; top: 50%; right: 10px; transform: translateY(-50%); z-index: 1002; display: flex; flex-direction: column; gap: 12px; }
.action-btn, .menu-btn-wrapper .header-menu-btn { background:#fff; border:none; display:flex; flex-direction:column; align-items:center; justify-content: center; gap:2px; padding: 5px; border-radius:12px; cursor:pointer; width: 40px; height: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: 1px solid #eee; }
.action-btn span, .menu-btn-wrapper span { font-size:8px; font-weight:600; color:#800000; line-height:1; }
.menu-btn-wrapper { position: relative; }
.menu-dropdown { position: absolute; right: 50px; top: 0; background:#fff; border-radius:12px; box-shadow:0 6px 24px #0002; min-width:160px; display:none; flex-direction:column; z-index: -1; border:1px solid #eee; }
.menu-dropdown a { padding:13px 18px; color:#800000; text-decoration:none; border-bottom:1px solid #f3f3f3; font-size:16px; display:flex; align-items:center; gap:8px; }

/* Footer */
.footer { position: fixed; left: 0; bottom: 0; width: 100%; background: linear-gradient(90deg, #ff9933, #138808); color: white; display: flex; justify-content: space-around; align-items: center; padding: 0; height: 44px; z-index: 1002; }
.footer-item { cursor: pointer; text-align: center; font-size: 13px; line-height: 1; display: flex; align-items: center; height: 100%; padding: 0 10px; }
.footer-link { text-decoration:none; color:white; }

/* Main Content Area */
.main-container { max-width: 800px; margin: 20px auto; padding: 0 15px; }
.blog-header h1 { font-size: 1.8em; line-height: 1.3; text-align: center; color: #800000; margin-bottom: 10px; }
.blog-header p { text-align: center; font-size: 1em; color: #555; margin-top: 0; }

/* Comparison Table */
.comparison-table { width: 100%; border-collapse: collapse; margin: 25px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); background: #fff; border-radius: 8px; overflow: hidden; }
.comparison-table th, .comparison-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #ddd; }
.comparison-table th { background-color: #800000; color: white; }
.comparison-table tbody tr { transition: background-color 0.2s; }
.comparison-table tbody tr:hover { background-color: #f5f5f5; }

/* Coaching Card */
.coaching-card { background: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 25px; overflow: hidden; }
.card-link { display: block; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,0.12); }
.coaching-card-content { padding: 20px; }
.coaching-card h2 { margin-top: 0; color: #0d47a1; }
.coaching-card .specialization { font-weight: bold; color: #138808; margin-bottom: 10px; }
.card-footer { text-align: right; margin-top: 15px; }
.click-here-link { color: #007bff; font-weight: bold; font-size: 1.2em; }

/* Ad Placeholder */
.ad-placeholder { margin: 25px 0; padding: 20px; min-height: 50px; }

/* Mobile Responsive */
@media (max-width: 600px) {
    .blog-header h1 { font-size: 1.6em; }
    .blog-header p { font-size: 0.9em; }
}