body {
    font-family:'Poppins', Arial, sans-serif;
    background:#f8f9fa;
    margin:0;
    padding:0;
}
.bg-amz { background:#131921; }
.text-amz { color:#ff9900; }
.btn-amz { background:#ff9900; color:#000; font-weight:600; border:none; border-radius:4px; }
.btn-amz:hover { background:#e68a00; color:#000; transform:translateY(-2px); box-shadow:0 5px 15px rgba(255,153,0,0.3); }

/* ===== NAVBAR ===== */
.navbar { height: 65px; }
.navbar .nav-link { position:relative; transition:.3s; font-size:15px; }
.navbar .nav-link:hover { color:#ff9900 !important; }
.navbar .nav-link::after {
    content:''; position:absolute; left:0; bottom:0; width:0;
    height:2px; background:#ff9900; transition:.3s;
}
.navbar .nav-link:hover::after { width:100%; }

/*.quiz-card:hover {
    transform:translateY(-10px);
    transition:0.3s ease-in-out;
    box-shadow:0 10px 20px rgba(0,0,0,0.2) !important;
}*/
#suggestionBox {
    border-radius:0 0 15px 15px;
    border:1px solid #ddd;
    background:white;
}

#suggestionBox .list-group-item {
    padding:12px 20px;
    font-size:14px;
}

#suggestionBox .list-group-item:hover {
    background-color:#f8f9fa;
    color:#ffc107;
    font-weight:bold;
}

/* ===== HERO SECTION (Solid Dark) ===== */
.hero-header {
    background:#232f3e;
    padding:55px 0;
    margin-top:55px;
    color:white;
    text-align:center;
}
/* ===== BREADCRUMB CUSTOMIZATION ===== */
.breadcrumb {
    background-color:transparent !important;
    padding:0.75rem 0;
}

.breadcrumb-item a {
    color:#232f3e !important; /* Dark blue color */
    font-weight:500;
    transition:0.3s;
}

.breadcrumb-item a:hover {
    color: #ff9900 !important; /* Hover par Amazon Orange */
    text-decoration: none;
}

/* Jo page abhi khula hai (Active) uska color */
.breadcrumb-item.active {
    color: #ff9900 !important; 
    font-weight: 700;
}

/* Arrow (Separator) ka color aur style */
.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105"; /* FontAwesome Angle Right icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #232f3e; /* Arrow ka color */
    margin-right: 10px;
}
.bg-light.py-2.border-bottom {
    background-color: #ffffff !important;
    border-bottom: 2px solid #ff9900 !important; /* Niche ek patli orange line */
}

/* ===== CATEGORIES SECTION WITH IMAGE BACKGROUND ===== */
.categories-wrapper {
    position: relative;
    padding: 80px 0;
    /* Background Image Yahan hai */
    background: url('https://tint.creativemarket.com/DNi9TYx5UVg6jROv1tYmbrzcZMWs49l8WTy9GsTE5YA/width:1200/height:800/gravity:nowe/rt:fill-down/el:1/czM6Ly9maWxlcy5jcmVhdGl2ZW1hcmtldC5jb20vaW1hZ2VzL3NjcmVlbnNob3RzL3Byb2R1Y3RzLzYxNS82MTUxLzYxNTE1MzAvcXVpei0yLW8uanBn?1553762091') center center fixed;
    background-size: cover;
}

/* Overlay for card readability */
.bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Dark Navy Blue Gradient */
    background: linear-gradient(135deg, rgba(19, 25, 33, 0.92), rgba(35, 47, 62, 0.85));
    z-index: 1;
}

.content-container { position:relative; z-index:2; }
.bgAmg{ background-color: #ff9900; }
/* ===== CATEGORY CARDS ===== */
.text-decoration-none:hover{text-decoration: none;}
.category-card {
    background: rgba(255, 255, 255, 0.95); /* Thoda sa transparent white */
    backdrop-filter: blur(5px); /* Premium feel ke liye */
    border: 1px solid rgba(255, 153, 0, 0.1); /* Halka sa orange border */
    border-radius: 15px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-card .font-weight-bold{ color: #fff; }
.category-card:hover h5.font-weight-bold { color:#ff9900; transition:color 0.3s ease; }
.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 15px 35px rgba(255, 153, 0, 0.35);
}
.category-card i {
    font-size: 45px;
    color: #ff9900;
    margin-bottom: 20px;
    transition: 0.4s;
}
.category-card:hover i { color:#fff; transform:scale(1.2) rotate(8deg); }
.category-card:hover .cat-main-icon {
    color: #131921 !important;
    transform: scale(1.2) rotate(8deg);
}
.cat-link { text-decoration:none !important; color:#131921; }
.cat-link h5 { font-weight:700; margin-bottom:15px; font-size:18px; }
.sub-links { line-height:1.8; }
.sub-links a { font-size:13px; color:#555; margin:0 4px; text-decoration:none; transition:0.2s; }
.sub-links a:hover { color:#ff9900; font-weight:600; }

/* ===== FOOTER ===== */
footer { background: #232f3e; color: #ddd; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 20px; font-size: 16px; }
footer a { color: #bbb; font-size: 14px; transition: .3s; }
footer a:hover { color: #ff9900; padding-left: 5px; text-decoration: none; }
.social-icons a {
    display: inline-block; width: 38px; height: 38px; line-height: 38px;
    text-align: center; border-radius: 50%; background: #37475a; color: #fff; margin-right: 10px;
}
.social-icons a:hover { background: #ff9900; color: #000; transform: scale(1.1); }
.newsletter input { border: none; padding: 12px; width: 100%; border-radius: 4px; background: #fff; }
.newsletter button { background: #ff9900; border: none; padding: 10px; font-weight: 700; width: 100%; margin-top: 10px; border-radius: 4px; cursor: pointer; }
/* ===== SOCIAL ICONS OFFICIAL COLORS ===== */
/* ===== SOCIAL ICONS CONTAINER (Single Line Fix) ===== */
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; /* sab ek line me rahenge */
}

/* ===== COMMON ICON STYLE ===== */
.social-icons a {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: 50px; 
    height: 42px; 
    border-radius: 50%; 
    color: #fff; 
    transition: all 0.3s ease;
    text-decoration: none;
}

/* ===== FACEBOOK ===== */
.social-icons a.fb-icon { background: #3b5998; }
.social-icons a.fb-icon:hover { background: #2d4373; transform: translateY(-3px); }

/* ===== YOUTUBE ===== */
.social-icons a.yt-icon { background: #ff0000; }
.social-icons a.yt-icon:hover { background: #cc0000; transform: translateY(-3px); }

/* ===== TWITTER/X ===== */
.social-icons a.tw-icon { background: #1da1f2; }
.social-icons a.tw-icon:hover { background: #0c85d0; transform: translateY(-3px); }

/* ===== LINKEDIN ===== */
.social-icons a.li-icon { background: #0077b5; }
.social-icons a.li-icon:hover { background: #005582; transform: translateY(-3px); }

/* ===== INSTAGRAM ===== */
.social-icons a.ig-icon { 
    background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, #fdf497 5%, #fd5949 45%, 
    #d6249f 60%, #285aeb 90%); 
}
.social-icons a.ig-icon:hover { 
    transform: translateY(-3px); 
    opacity: 0.9; 
}

/* Footer bottom bar */
.footer-bottom {
    background: #131921;
    padding: 15px 0;
    color: #bbb;
    border-top: 1px solid rgba(255,153,0,0.15);
}
/* Divider line */
.footer-divider {
    background: rgba(255,255,255,0.1);
    margin: 0;
}
.footer-links a.active{
    color:#ff9900;
}
.footer-links a:hover{
    color:#ff9900;
}
/* Search Blog Section */
.search-filter-header { background:rgba(248, 249, 250, 0.92); padding:40px 0; }       
.filter-wrapper { max-width:800px; margin:0 auto; }
/* Search Box */
.filter-box { background:#ffffff !important; padding:8px; border-radius:50px; 
    border:1px solid #ddd; box-shadow:0 10px 25px rgba(0,0,0,0.1); display:flex; align-items:center; }
.filter-box input, .filter-box select { border: none !important; box-shadow: none !important; }
/* Blog Card Refined */
.blog-card { border: none; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); background: #fff; height: 100%; }
.blog-img { height: 190px; object-fit: cover; width: 100%; transition: 0.5s; }
.blog-card:hover .blog-img { transform: scale(1.08); }
.blog-card:hover { transform:translateY(-12px); box-shadow:0 15px 35px rgba(0,0,0,0.15); background:#fff; border-color:#fff; box-shadow: 0 15px 35px rgba(255, 153, 0, 0.35); }
.blog-content { padding: 20px; }
.blog-meta { font-size: 0.75rem; color: #777; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.blog-badge {padding: 2px 10px; border-radius: 4px; font-weight: bold; }
.knowledge-academic  {background:#fff3cd; color:#856404;}
.language-literature  {background:#d1ecf1; color:#0c5460;}
.technology-it  {background:#d4edda; color:#155724;}
.logic-mental-ability  {background:#f8d7da; color:#721c24;}
.government-competitive-exams  {background:#e2e3e5; color:#383d41;}
.culture-society  {background:#fce4ec; color:#880e4f;}
.arts-creativity  {background:#ede7f6; color:#4527a0;}
.entertainment  {background:#e3f2fd; color:#0d47a1;}
.sports-games  {background:#e0f2f1; color:#004d40;}
.fun-lifestyle {background:#f1f8e9; color:#33691e;}
.health-wellness {background:#fff8e1; color:#ff6f00;}
.nature-environment {background:#efebe9; color:#3e2723;}
.business-finance {background:#eceff1; color:#263238;}
.daily-life-practical {background:#f3e5f5; color:#4a148c;}
.bg1  {background:#fff3cd; color:#856404;}
.bg2  {background:#d1ecf1; color:#0c5460;}
.bg3  {background:#d4edda; color:#155724;}
.bg4  {background:#f8d7da; color:#721c24;}
.bg5  {background:#e2e3e5; color:#383d41;}
.bg6  {background:#fce4ec; color:#880e4f;}
.bg7  {background:#ede7f6; color:#4527a0;}
.bg8  {background:#e3f2fd; color:#0d47a1;}
.bg9  {background:#e0f2f1; color:#004d40;}
.bg10 {background:#f1f8e9; color:#33691e;}
.bg11 {background:#fff8e1; color:#ff6f00;}
.bg12 {background:#efebe9; color:#3e2723;}
.bg13 {background:#eceff1; color:#263238;}
.bg14 {background:#f3e5f5; color:#4a148c;}
/* ===== COMMON BG IMAGE FOR SEARCH & BLOG ===== */
.common-bg-img { position: relative; background: url('https://tint.creativemarket.com/DNi9TYx5UVg6jROv1tYmbrzcZMWs49l8WTy9GsTE5YA/width:1200/height:800/gravity:nowe/rt:fill-down/el:1/czM6Ly9maWxlcy5jcmVhdGl2ZW1hcmtldC5jb20vaW1hZ2VzL3NjcmVlbnNob3RzL3Byb2R1Y3RzLzYxNS82MTUxLzYxNTE1MzAvcXVpei0yLW8uanBn?1553762091') center center fixed; background-size: cover;
}
/* Default overlay */
.common-bg-img::before { content: ""; position: absolute; inset: 0;
    background: linear-gradient( 135deg, rgba(19, 25, 33, 0.88), rgba(35, 47, 62, 0.88) ); z-index: 1; }
/* Content ko upar lane ke liye */
.common-bg-img > .container { position: relative; z-index: 2; }
.blog-section::before { /*background: rgba(248, 249, 250, 0.92);*/ }


.about-page {
    padding: 80px 0;
    background: linear-gradient(
        180deg,
        #f4f6f8 0%,
        #eef2f6 50%,
        #f8f9fa 100%
    );
}

.about-title {
    font-size: 36px;
    font-weight: 700;
    color: #131921;
}

.about-subtitle {
    color: #6b7280;
    max-width: 600px;
    margin: 10px auto 0;
}

.about-page h3 {
    color: #131921;
    margin-bottom: 15px;
}

.about-page p {
    color: #4b5563;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 10px;
    color: #374151;
    font-weight: 500;
}

.about-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(19, 25, 33, 0.08);
    transition: all 0.35s ease;
}

.about-box h2 {
    color: #ff9900;
    font-weight: 700;
}

.about-box p {
    color: #6b7280;
}

.about-box:hover {
    transform:translateY(-12px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
    background:#fff; border-color:#fff;
    box-shadow: 0 15px 35px rgba(255, 153, 0, 0.35);
}




/* Filters */
.quiz-filter input,
.quiz-filter select {
    height: 48px !important;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    padding-left: 15px;
    font-size: 15px;
    background: #fff;
}

.quiz-filter input:focus,
.quiz-filter select:focus {
    outline: none;
    border-color: #ff9900;
    box-shadow: 0 0 0 3px rgba(255,153,0,0.25);
}

/* Quiz Card */
.quiz-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 18px 25px 18px;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quiz-card:hover {
    transform:translateY(-12px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
    background:#fff; border-color:#fff;
    box-shadow: 0 15px 35px rgba(255, 153, 0, 0.35);
}

/* Difficulty Badge */
.quiz-level {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.level-beginner { background: #f1f3f4; color: #5f6368; }
.level-easy { background: #e7f8ef; color: #0f9d58; }
.level-medium { background: #fff4e5; color: #ff9900; }
.level-hard { background: #fdecec; color: #d93025; }

/* Title */
/*.card-title a{ color:#212529 !important; }
.card-title a:hover;{ color:#ff9900 !important; }*/
.quiz-card h5 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
}

.quiz-card h5 a {
    text-decoration: none;
    color: #0d6efd;
    transition: 0.3s;
}

.quiz-card h5 a:hover {
    color: #ff9900;
}

/* Meta */
.quiz-meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

/* Description */
.quiz-desc {
    font-size: 14px;
    color: #374151;
    flex-grow: 1;
}

/* Start Quiz Button */
.start-btn {
    background: #ff9900;
    color: #000;
    font-weight: 600;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: 0.3s;
    margin-top: 10px;
}

.start-btn:hover {
    background: #e68a00;
    color: #000;
    text-decoration: none;
}




.blog-detail-card,
.sidebar-box,
.comment-form,
.comment-section {
    background: rgba(255,255,255,0.96);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.blog-meta-detail span {
    font-size: 13px;
    color: #777;
    margin-right: 15px;
}

.blog-quote {
    border-left: 4px solid #ff9900;
    padding-left: 15px;
    font-style: italic;
    color: #444;
    margin: 20px 0;
}

.comment-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.comment-box img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.comment-box h6 {
    font-weight: 600;
    margin-bottom: 3px;
}

.comment-box h6 span {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

.sidebar-box h6 {
    font-weight: 700;
    margin-bottom: 15px;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box ul li a {
    display: block;
    padding: 6px 0;
    color: #232f3e;
    font-size: 14px;
}

.sidebar-box ul li a:hover {
    color: #ff9900;
    padding-left: 5px;
}

.comment-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #131921;
    color: #ff9900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Search result dropdown */
.search-result-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    margin-top: 8px;
    z-index: 999;
    max-height: 260px;
    overflow-y: auto;
}

.search-result-box a {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    color: #232f3e;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

.search-result-box a:last-child {
    border-bottom: none;
}

.search-result-box a:hover {
    background: #f8f9fa;
    color: #ff9900;
}
/* ===== SEARCH DROPDOWN FINAL FIX ===== */

.blog-detail-section .col-lg-4 {
    position: relative;
    z-index: 50;
}

.search-box {
    position: relative;
    z-index: 1000;
}

.search-box .position-relative {
    position: relative !important;
}

#searchResult {
    position: absolute !important;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    margin-top: 6px;
    z-index: 999999 !important;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px 0;
}

/* Result items */
#searchResult a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #131921;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
    transition: 0.2s;
}

#searchResult a:hover {
    background: #f8f9fa;
    color: #ff9900;
}

#searchResult div {
    padding: 10px 15px;
    font-size: 13px;
    color: #888;
}

/* Prevent clipping */
.sidebar-box {
    overflow: visible !important;
}

.recent-posts {
    position: relative;
    z-index: 1;
}
/* ===== RELATED BLOGS ===== */

.related-blogs {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

.related-card img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255,153,0,0.3);
}

.related-content {
    padding: 15px;
}

.related-content h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.related-content h6 a {
    text-decoration: none;
    color: #131921;
    transition: 0.3s;
}

.related-content h6 a:hover {
    color: #ff9900;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
}
/*Share*/
.blog-social-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-social-share .share-label {
    font-weight: 600;
    margin-right: 5px;
}

.blog-social-share .share-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.blog-social-share .fb { background: #3b5998; }
.blog-social-share .tw { background: #1da1f2; }
.blog-social-share .wa { background: #25d366; }
.blog-social-share .ln { background: #0077b5; }
.blog-social-share .pin { background: #e60023; }
.blog-social-share .th { background: #000000; }
.blog-social-share .ig { 
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.blog-social-share .share-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* ===== EDITORIAL CATEGORY STYLE ===== */
.editorial-category {
    padding: 25px;
}

.editorial-category .widget-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 18px;
    color: #131921;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Category row */
.editorial-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    text-decoration: none;
    color: #232f3e;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
    transition: 0.25s;
}

/* Left accent line */
.editorial-cat::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 0;
    height: 100%;
    width: 3px;
    background: transparent;
    transition: 0.25s;
}

/* Hover */
.editorial-cat:hover {
    color: #ff9900;
    padding-left: 8px;
    text-decoration: none;
}

.editorial-cat:hover::before {
    background: #ff9900;
}

/* Count */
.cat-count {
    font-size: 12px;
    color: #999;
}

/* Active */
.editorial-cat.active {
    font-weight: 600;
    color: #ff9900;
}

.editorial-cat.active::before {
    background: #ff9900;
}




.quiz-box {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid rgba(0,0,0,0.08);
    /*height: 100%;*/
}

.quiz-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #131921;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-title .icon {
    color: #ff9900;
    font-size: 18px;
}

/* Instructions */
.quiz-instructions {
    padding-left: 18px;
    margin-bottom: 15px;
}

.quiz-instructions li {
    margin-bottom: 8px;
    color: #374151;
    font-size: 15px;
}

.quiz-box p {
    margin-top: 12px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* Details */
.quiz-details .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.12);
    font-size: 15px;
}

.quiz-details .detail-row:last-child {
    border-bottom: none;
}

.quiz-details span {
    color: #6b7280;
}

.quiz-details strong {
    color: #111827;
}

/* Level badge */
.level {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.level.medium {
    background: #fff4e5;
    color: #ff9900;
}

/* Start Button */
.start-quiz-btn {
    display: block;
    margin-top: 25px;
    background: #ff9900;
    color: #000;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.start-quiz-btn:hover {background:#e68a00; text-decoration:none; color:#000;}
.float-right a {text-decoration: none;}
.cosHeader{background: #131921; color: #fff;}
.newBtn:hover{text-decoration:none;}

.option{padding:12px;border:1px solid #ddd;margin-bottom:10px;cursor:pointer;border-radius:6px;
    transition:0.2s;}
.option:hover{border-color:#bbb;}
.options-grid{display:grid;grid-template-columns: repeat(2, 1fr);gap:15px;margin-top:15px;}

.correct{background:#d4edda;border-color:#28a745;}
.wrong{background:#f8d7da;border-color:#dc3545;}
.timer{font-weight:bold}

/* ===== Dashboard start ===== */
.sidepanel{
  /*background:linear-gradient(180deg,#0f172a,#020617);*/
  background: #131921;
  border-radius:14px;
  padding:18px;
  color:#fff;
  box-shadow:0 15px 40px rgba(0,0,0,0.25);
}
.user-box{
  display:flex;
  align-items:center;
  gap:12px;
  padding-bottom:18px;
  margin-bottom:15px;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#232f3e;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
}
.user-box small{
  display:block;
  font-size:12px;
  color:#94a3b8;
}

.menu-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  margin-bottom:8px;
  border-radius:10px;
  color:#cbd5f5;
  text-decoration:none;
  overflow:hidden;
  transition:0.3s;
}
.menu-item i{
  font-size:16px;
  z-index:2;
}
.menu-item span{
  z-index:2;
}
.menu-item .indicator{
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:0;
  background:#232f3e;
  border-radius:10px;
  transition:0.3s;
  z-index:1;
}
.menu-item:hover{
  color:#fff;
  text-decoration: none;
}
.menu-item:hover .indicator{
  width:100%;
}
.menu-item.active{
  color:#fff;
}
.menu-item.active .indicator{
  width:100%;
}
.menu-item.logout .indicator{
  background:#dc2626;
}
.menu-item.logout:hover{
  color:#fff;
}
/* ===== Dashboard end ===== */



/* Sidebar Recent Posts */
.recent-posts {
    padding: 25px;
}

.recent-posts .widget-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 18px;
    color: #131921;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Recent post item */
.recent-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #232f3e;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
    transition: 0.3s;
}

/* Hover effect */
.recent-post-item:hover {
    color: #ff9900;
    padding-left: 6px;
}

/* Post date */
.recent-post-item .post-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* Remove underline */
.recent-post-item:hover,
.recent-post-item {
    text-decoration: none;
}
.xp-popup{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background:#111;
    color:#fff;
    padding:15px 30px;
    border-radius:50px;
    font-size:22px;
    font-weight:bold;
    z-index:9999;
    animation:popFade 1.5s ease forwards;
}
@keyframes popFade{
    0%{opacity:0; transform:translate(-50%,-40%) scale(0.5);}
    40%{opacity:1; transform:translate(-50%,-50%) scale(1.1);}
    100%{opacity:0; transform:translate(-50%,-70%) scale(1);}
}



/*certificate-card css start*/
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;400;600&display=swap");

/*body {
    background: #0a0a0c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: "Poppins", sans-serif;
}*/

#certificate-card {
    width: 850px;
    height: 550px;
    background: #111116;
    background-image: radial-gradient(circle at top right, #1a1a2e, #0a0a0c);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    color: white;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 50px 100px rgba(0,0,0,0.9);
}

.sidebar {
    width: 60px;
    background: linear-gradient(180deg, #ff9900, #b8860b);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Orbitron", sans-serif;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: bold;
    color: #000;
    font-size: 14px;
}

.main-content {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.brand-name {
    font-family: "Orbitron", sans-serif;
    font-size: 18px;
    color: #ff9900;
    letter-spacing: 2px;
}

.tagline {
    color: #4ecca3;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 600;
}

h1 {
    font-size: 38px;
    margin: 5px 0 5px 0;
    font-family: "Orbitron", sans-serif;
    color: #ff9900;
}

.student-name {
    font-size: 40px;
    font-weight: 600;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.description {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 10px;
}

/* UPDATED STATS SECTION */
.stats-row {
    display: flex;
    gap: 20px;
    margin-top: 25px; /* Added margin top as requested */
}

.stat-box {
    background: rgba(255, 215, 0, 0.1); /* Subtle Gold Background */
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 12px 20px;
    border-radius: 10px;
    min-width: 140px;
    text-align: left;
}

.stat-label {
    font-family: "Orbitron", sans-serif;
    font-size: 9px;
    color: #ff9900;
    display: block;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-value {
    font-family: "Orbitron", sans-serif;
    font-size: 22px;
    color: #fff; /* Success Green Color */
    font-weight: bold;
    display: block;
}

.footer-flex {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 22px;
}

.detail-item {
    font-size: 10px;
    font-family: "Orbitron", sans-serif;
    color: #777;
    letter-spacing: 1px;
}

.detail-item b { color: #ff9900; }

.qr-section {
    text-align: center;
}

.qr-box {
    background: white;
    padding: 4px;
    border-radius: 4px;
    display: inline-block;
    line-height: 0;
}

.qr-box canvas {
    width: 85px !important;
    height: 85px !important;
}

.verify-tag {
    display: block;
    font-size: 8px;
    color: #ff9900;
    margin-top: 6px;
    letter-spacing: 1px;
    font-family: "Orbitron", sans-serif;
}

.btn-wrapper { margin-top: 30px; }
.download-btn {
    background: #ff9900;
    color: #000;
    padding: 15px 45px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    font-family: "Orbitron", sans-serif;
}
.quizContant { color: #ff9900; }
.download-btn:hover { background: #fff; transform: translateY(-3px); }
/*certificate-card css end*/


.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #888; /* Light gray text */
}

.divider-text::before,
.divider-text::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd; /* The line color */
}

.divider-text:not(:empty)::before {
    margin-right: .5em;
}

.divider-text:not(:empty)::after {
    margin-left: .5em;
}

.divider-text span {
    font-size: 14px;
    text-transform: lowercase;
}


/* Mobile Menu Background Fix */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #131921; /* Same as your bg-amz color */
        padding: 15px;
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
}