body {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
  font-size: clamp(1rem, 0.9vw + 0.2rem, 1.125rem) !important;
  line-height: 1.6;
}
h1 {font-size: clamp(2.6rem, 4.8vw, 4rem);} h2 {font-size: clamp(2rem, 3.5vw, 2.6rem);} h3 {font-size: clamp(1.3rem, 2.5vw, 2rem);} h4 {font-size: clamp(1rem, 2vw, 1.3rem);} p { margin-bottom:1rem;} h2, h3, h5, dl, ol, ul { margin-bottom: 0.5rem;}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* -------------------------------
   CSS RESET (LIGHT)
-------------------------------- */
.site-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header a {
    text-decoration: none;
    color: #111;
}

/* -------------------------------
   HEADER LAYOUT
-------------------------------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* -------------------------------
   LOGO
-------------------------------- */
.header-logo a,
.header-logo img {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

/* -------------------------------
   PRIMARY MENU
-------------------------------- */
.header-primary-menu ul {
    display: flex;
    gap: 28px;
}

.header-primary-menu a {
    font-weight: 500;
    color: #333;
}

/* -------------------------------
   USER MENU
-------------------------------- */
.header-user-menu {
    position: relative;
}

.header-user-menu a {
    font-weight: 600;
}

.btn-primary {
    background: #6cc04a;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    display: inline-block;
}

/* -------------------------------
   USER DROPDOWN
-------------------------------- */
.user-dropdown {
    position: relative;
}

.user-trigger {
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    min-width: 180px;
    z-index: 1000;
}

.user-dropdown:hover .user-dropdown-menu {
    display: block;
}

.user-dropdown-menu ul {
    padding: 8px 0;
}

.user-dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #333;
}
.hero-img {
	margin-top: 20px;
	border-radius: 15px;
}
/* =========================
   BASIC BLOG STYLING
========================= */

.blog-container {
    max-width: 820px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.blog-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #111;
}

.blog-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 24px;
}

.blog-content {
    font-size: 17px;
    line-height: 1.8;
    color: #222;
}

/* Paragraphs */
.blog-content p {
    margin-bottom: 18px;
}

/* Headings inside content */
.blog-content h2 {
    font-size: 24px;
    margin: 36px 0 12px;
}

.blog-content h3 {
    font-size: 20px;
    margin: 28px 0 10px;
}

/* Links */
.blog-content a {
    color: #0066cc;
    text-decoration: underline;
}

.blog-content a:hover {
    text-decoration: none;
}

/* Lists */
.blog-content ul,
.blog-content ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

/* Blockquotes */
.blog-content blockquote {
    border-left: 4px solid #0066cc;
    padding-left: 16px;
    margin: 24px 0;
    color: #555;
    font-style: italic;
}

/* Images */
.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 6px;
}
/* =========================
   BLOG LIST (CARDS)
========================= */

.blog-list-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 16px;
}

.blog-list-title {
    font-size: 34px;
    margin-bottom: 32px;
}

/* Grid */
.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Card */
.blog-card {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.blog-card-title {
    font-size: 20px;
    margin-bottom: 8px;
    color: #111;
}

.blog-card-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 14px;
}

.blog-card-link {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.blog-card-link:hover {
    text-decoration: underline;
}
/* =========================
   BLOG BREADCRUMB
========================= */

.blog-breadcrumb {
    font-size: 14px;
    color: #777;
    margin-bottom: 18px;
}

.blog-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb span {
    margin: 0 4px;
}
/* =========================
   RELATED POSTS
========================= */

.related-posts {
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 32px;
}

.related-posts h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-post {
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.related-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.related-post h4 {
    font-size: 16px;
    color: #111;
}

.related-post a {
    text-decoration: none;
}
/* =========================
   RELATED POST CATEGORY BADGE
========================= */

.related-post {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-post-category {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    color: #0056cc;
    background: #eaf2ff;
    padding: 4px 10px;
    border-radius: 999px;
}



.related-post-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: #0066cc;
    background: #eaf3ff;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.related-post h4 {
    margin-top: 6px;
}

/* =========================
   BLOG CARD IMAGE
========================= */

.blog-card {
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding-top: 14px;
}

/* No image fallback spacing */
.blog-card:not(:has(img)) .blog-card-body {
    padding-top: 0;
}
/* =========================
   RELATED POSTS – THUMB + BADGE
========================= */

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

.related-post-card {
    display: flex;
    flex-direction: column;
}

.related-post-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.related-post-thumb img,
.related-thumb-placeholder {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    background: #f0f0f0;
}

/* Category badge overlay */
.related-post-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 102, 204, 0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

/* Title */
.related-post-title {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.4;
}

.related-post-title a {
    color: #111;
    text-decoration: none;
}

.related-post-title a:hover {
    text-decoration: underline;
}

/* Hover polish */
.related-post-thumb img {
    transition: transform 0.25s ease;
}

.related-post-thumb:hover img {
    transform: scale(1.05);
}
.related-post-badge {
    position: absolute;
    top: 10px;
    left: 10px;

    background: rgba(0, 102, 204, 0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;

    text-decoration: none;
    transition: background 0.2s ease;
}

.related-post-badge:hover {
    background: rgba(0, 90, 180, 1);
}
/* =========================
   CATEGORY ARCHIVE HERO
========================= */

.category-hero {
    position: relative;
    margin-bottom: 40px;
    border-radius: 14px;
    overflow: hidden;
}

.category-hero img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15));
    color: #fff;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-hero-overlay h1 {
    font-size: 36px;
    margin-bottom: 6px;
}

.category-hero-overlay p {
    font-size: 15px;
    max-width: 600px;
    opacity: 0.95;
}

/* =========================
   CATEGORY LISTING – CARD THUMBNAILS
========================= */

.category-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}

.category-card-thumb {
    display: block;
    position: relative;
}

.category-card-thumb img,
.category-thumb-placeholder {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #f0f0f0;
    display: block;
}

.category-card-body {
    padding: 14px 16px 18px;
}

.category-card-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.category-card-title a {
    text-decoration: none;
    color: #111;
}

.category-card-title a:hover {
    text-decoration: underline;
}

.category-card-meta {
    font-size: 13px;
    color: #777;
}
/* =========================
   CLAMP CATEGORY EXCERPT (2 LINES)
========================= */

.category-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 6px 0 10px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* =========================
   CATEGORY CARD READ MORE
========================= */

.category-card-readmore {
    font-size: 13px;
    font-weight: 500;
    color: #0066cc;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 6px;
}

.category-card-readmore:hover {
    text-decoration: underline;
}
/* =========================
   CATEGORY PAGINATION
========================= */

.category-pagination {
    margin: 40px 0 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-pagination a,
.category-pagination span {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
}

.category-pagination a:hover {
    background: #f5f5f5;
}

.category-pagination .current {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}
/* =========================
   CATEGORY PAGE COUNT
========================= */

.category-page-count {
    margin: 20px 0 10px;
    font-size: 14px;
    color: #666;
}
/* =========================
   BLOG LAYOUT WITH SIDEBAR
========================= */

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

.blog-main {
    min-width: 0;
}

.blog-sidebar {
    position: sticky;
    top: 24px;
}

/* Widgets */
.blog-widget {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
}

.blog-widget-title {
    font-size: 16px;
    margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}


/* ================================
   POPULAR EXAMS – HOME GRID
================================ */

.popular-exams {
    padding: 60px 0;
    background: #fff;
}

.popular-exams h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

/* GRID */
.mock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

/* CARD */
.mock-card a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    padding: 22px;
    background: #FFF;
	border: 1px solid #e9e9e9;
    border-radius: 6px;
	box-shadow: 2px 2px 8px 2px hsla(0,0%,9%,.08), 0 0 0 1px #e9e9e9;

    text-decoration: none;
    color: #111;

    transition: all 0.25s ease;
	min-height: 7em; /* forces equal title height */
    line-height: 1.4;
}

.mock-card a:hover {
	border: 1px solid #181818;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
	cursor: pointer;
}

/* ================================
   PE ICON STYLING
================================ */
.mock-icon {
    color: #181818;
    opacity: 0.9;
}

.mock-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Optional hover polish */
.mock-card:hover .mock-icon {
    opacity: 1;
}

.view-all {
    margin-top: 40px;
    text-align: center;
}

.view-all a {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;

    background: #111;
    color: #fff;
    text-decoration: none;
}

.view-all a:hover {
    opacity: 0.85;
}
/* ================================
   MOCK CARD FONT ICONS
================================ */

.mock-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mock-icon {
    font-size: 22px;
    color: #181818; /* matches purple card tone */
}

/* Optional hover effect */
.mock-card:hover .mock-icon {
    transform: scale(1.1);
    transition: transform 0.25s ease;
}
/* ============================
   MODERN TEST CARD
============================ */

.mock-test-card-modern {
    display: flex;
    justify-content: space-between;
    gap: 24px;

    padding: 24px 28px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;

    align-items: center;
}

.mock-test-left {
    flex: 1;
}

.mock-test-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mock-test-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.mock-test-meta {
    display: flex;
    gap: 24px;
    font-size: 15px;
    color: #333;
    flex-wrap: wrap;
}

.mock-test-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mock-test-users {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 15px 10px;
	font-size: 12px;
    font-weight: 400;
    color: #374151;
}
.mock-test-users svg {
    width: 18px;
    height: 18px;
    stroke: #16a34a; /* trending green */
}

.btn-select-test {
    display: inline-block;
    background: #6cc04a;
    color: #fff;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 400;
    text-decoration: none;
	letter-spacing: 1px;
}

.btn-select-test:hover {
    opacity: 0.9;
}
/* =========================
   BADGE LINKS RESET
========================= */
.badge,
.badge:link,
.badge:visited {
    text-decoration: none !important;
    color: inherit !important;
}

.badge:hover {
    opacity: 0.9;
}
/* =========================
   BADGE BASE
========================= */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 12px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;

    border-radius: 999px;
    white-space: nowrap;

    margin-right: 6px;
    margin-bottom: 6px;
}

/* =========================
   ACCESS
========================= */
.badge-free {
    background: #e6f7ec;
    color: #117a37;
}

.badge-premium {
    background: #fff0e6;
    color: #a84300;
}

/* =========================
   LANGUAGE
========================= */
.badge-language {
    background: #eef7ff;
    color: #0a4ea3;
}

/* =========================
   DIFFICULTY
========================= */
.badge-easy {
    background: #f0f9ff;
    color: #0369a1;
}

.badge-medium {
    background: #fff7ed;
    color: #9a3412;
}

.badge-hard {
    background: #fee2e2;
    color: #991b1b;
}

/* =========================
   FALLBACK
========================= */
.badge-default {
    background: #f4f4f5;
    color: #333;
}

/* =========================
   BADGE WRAPPER
========================= */
.mock-test-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.mock-test-meta {
    display: flex;
    gap: 22px;
    align-items: center;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.meta-icon {
    width: 18px;
    height: 18px;
    stroke: #6b7280;
}

/* =========================
   SEARCH UI
========================= */
.header-bar {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-search {
    flex: 1;
    max-width: 360px;
}
/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: 0;
    cursor: pointer;
}

/* MOBILE MENU OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 9999;
}

.mobile-menu-panel {
    background: #fff;
    width: 85%;
    max-width: 360px;
    height: 100%;
    padding: 20px;
}

/* MOBILE HEADER */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.mobile-primary-menu li,
.mobile-user-menu li {
    list-style: none;
    margin-bottom: 16px;
}

.mobile-primary-menu a,
.mobile-user-menu a {
    font-size: 18px;
    text-decoration: none;
    color: #000;
}

/* RESPONSIVE RULES */
@media (max-width: 991px) {
    .header-primary-menu,
    .header-user-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-block;
    }
	.mobile-menu-panel {
    background: #fff;
    width: 85%;
    max-width: 360px;
    height: 100%;
    padding: 20px;

    /* animation */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateX(0);
}
/* Accordion arrows */
.mobile-primary-menu .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-primary-menu .menu-item-has-children > a::after {
    content: "▸";
    font-size: 14px;
    transition: transform 0.2s ease;
}

/* Submenu hidden */
.mobile-primary-menu .sub-menu {
    display: none;
    padding-left: 14px;
    margin-top: 8px;
}

/* Open state */
.mobile-primary-menu .menu-item.open > a::after {
    transform: rotate(90deg);
}

}

@media (min-width: 992px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}


/* -------------------------------
   MOBILE FIX
-------------------------------- */
@media (max-width: 768px) {
    .header-bar {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-primary-menu ul {
        gap: 16px;
    }

    .hero-block {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-block h1 {
        font-size: 36px;
    }

    .site-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .header-bar {
        flex-wrap: wrap;
        gap: 12px;
    }
	.mock-card a {
	min-height: auto; /* forces equal title height */
    line-height: 1.4;
}
	    .mock-test-card-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .mock-test-right {
        text-align: left;
    }
	.blog-list-title {
        font-size: 28px;
    }
	    .blog-title {
        font-size: 26px;
    }

    .blog-content {
        font-size: 16px;
    }
	    .category-hero img {
        height: 200px;
    }

    .category-hero-overlay h1 {
        font-size: 28px;
    }
}
