a.navbar-brand img {
    width: 198px;
}
.d-none-desktop{
  display: none;
}
.navbar-nav .dropdown-menu {
  /* position: static; */
  position: absolute;
}

.fixed-form-btn.desktop-view-login {
  position: relative;
  top: 20px;
  left: 18px;
}
.slick-list.draggable {
    border-radius: 20px;
}
.mobile-nav-bar{
    display: none;
}

.search-input {
  margin-left: 19px;
}
 .latest-post-container {
    display: flex;
    align-items: center;
/*   background: linear-gradient(90deg, #2ecc71, #2ecc71);*/
background-color: var(--dark-color);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .language-fixed-btn {
    margin-left: 5px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #fff;
}

.language-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.language-links a.active {
    color: #fff; /* highlight active language */
    font-weight: 600;
}

.language-links a:hover {
    color: #fff;
}

.separator {
    margin: 0 6px;
    color: #fff;
}


  /* Label on the left */
  .latest-post-label {
    background-color: #f99833;
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }

  /* Gradient mask for smooth fade on edges */
  .latest-post-marquee-wrapper {
    overflow: hidden;
    flex: 1;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  }

  /* .latest-post-marquee {
    display: inline-block;
    white-space: nowrap;
    padding-left: 20px;
    animation: scroll-left 25s linear infinite;
  } */

  .latest-post-marquee {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 25s linear infinite;
  }

  .latest-post-marquee a {
    color: #FFF;
    text-decoration: none;
    margin-right: 60px;
    font-weight: 500;
    transition: transform 0.3s, color 0.3s;
  }

  .latest-post-marquee a:hover {
    color: #ffffff;
    transform: scale(1.1);
  }

  .card.stats-card.animate-fadein.delay-2 .card-body img {
    width: 416px !important;
    height: 280px;
}
  @keyframes scroll-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
  }

  /* Optional: subtle sparkle dots moving behind marquee */
  .latest-post-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    
    animation: sparkle 10s linear infinite;
    top: 0;
    left: 0;
    pointer-events: none;
  }

  @keyframes sparkle {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }


.quiz-slide img{
	border-radius: 20px;
	margin-bottom: 20px;
    width: 100%;
    height: 60vh;
    object-fit: cover;
}
h1.hero-title.mb-4 {
    margin-bottom: 0px !important;
    margin-top: 20px;
}
.quiz-content {
    position: absolute;
    top: -130px;
    /* left: 23px; */
    background-color: #2ecc716b;
    padding: 10px 10px;
    width: 100%;
    border-radius: 0px 0px 25px 25px;
}

.quiz-slide-postion{
	position: relative;
}
/*.quiz-content {
    position: relative;
    z-index: 9999;
   
}*/
/*.quiz-content .mb-2{
  position: absolute ;
	 top: -125px;
    left: 23px;
    background-color: #fcededcc;
    padding: 10px 0px;
}*/

  :root {
            --primary-color: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary-color: #10b981;
            --accent-color: #f59e0b;
            --dark-color: #1e293b;
            --light-bg: #f8fafc;
            --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: #ffffff;
            color: #334155;
        }
        
       .navbar {
/*    background: #1e293b;*/
background: #0052cc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    border-bottom: 1px solid #f4f5f0;
}
        
        .navbar-brand {
            font-weight: 700;
            color: var(--dark-color);
            font-size: 1.5rem;
        }
        
        .navbar-brand span {
            color: var(--primary-color);
        }
        
        .nav-link {
            font-weight: 500;
            color: var(--dark-color);
            padding: 8px 15px !important;
            border-radius: 6px;
            transition: all 0.3s;
        }
        
        .nav-link:hover, .nav-link.active {
            background-color: rgba(37, 99, 235, 0.1);
            color: var(--primary-color);
        }
        
        .current-date {
            background-color:#f99833;
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        
        .hero-section {
    background: linear-gradient(135deg, #feeb6791 0%, #feeb6791 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}
button.btn.btn-outline-light{
    background-color: #f99833;
    border:  1px solid #f99833;
}
        .text-primary {
    --bs-text-opacity: 1;
    /* color: rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important; */
    color: #2ecc71 !important;
}
        .hero-section::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 300px;
            height: 300px;
            background-color: rgba(37, 99, 235, 0.05);
            border-radius: 50%;
        }
        
        .hero-section::after {
            content: '';
            position: absolute;
            bottom: -100px;
            left: -100px;
            width: 400px;
            height: 400px;
            background-color: rgba(37, 99, 235, 0.05);
            border-radius: 50%;
        }
        
        .hero-title {
            font-weight: 700;
            line-height: 1.2;
            color: var(--dark-color);
        }
        
        .hero-subtitle {
    color: #000;
/*    font-weight: 500;*/
    font-size: 1.1rem;
}
        
        .category-tag {
            display: inline-block;
            background-color: var(--light-bg);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            margin-right: 8px;
            margin-bottom: 8px;
            font-weight: 500;
            transition: all 0.3s;
        }
        .trending-tag {
    background-color: #dbeafe;
    color: var(--primary-color);
    color: #1300d3 !important;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgb(249 152 51) !important;
}
        
        .trending-tag:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
/*            padding: 10px 20px;*/
            font-weight: 500;
            border-radius: 8px;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
        }
        
        .btn-outline-secondary {
            border-radius: 8px;
            padding: 10px 20px;
            font-weight: 500;
        }
        
        .quiz-card {
            transition: all 0.3s ease;
            border: none;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            margin-bottom: 25px;
            padding: 20px;
            overflow: hidden;
            height: 100%;
        }
        
        .quiz-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--card-hover-shadow);
        }
        
        .quiz-card .card-body {
            padding: 20px 20px 0px 20px;
        }
        
        .quiz-card .card-footer {
/*            background-color: var(--light-bg);*/
            border-top: none;
            padding: 15px 20px;
        }
        
        .quiz-badge {
            font-size: 0.7rem;
/*            width: 30%;*/
            font-weight: 600;
            letter-spacing: 0.5px;
            padding: 4px 10px;
            border-radius: 6px;
            text-transform: uppercase;
        }
        ul#menu a {
    /* color: transparent; */
    color: #fff !important;
    text-decoration: none;
}
        .quiz-title {
            font-weight: 600;
            margin: 10px 0;
            color: var(--dark-color);
        }
        
        .quiz-date {
            font-size: 0.8rem;
            color: #64748b;
            margin-bottom: 15px;
        }
        
        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            border-radius: 2px;
        }
        
        .featured-post {
            background-color: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            margin-bottom: 30px;
        }
        
        .featured-post-title {
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .sidebar-card {
            border: none;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            margin-bottom: 25px;
            overflow: hidden;
        }
        
        .sidebar-card .card-header {
    background-color: #2ecc71;
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    border-bottom: none;
}
span.badge.bg-success.quiz-badge.mb-2{
    background-color: #2ecc71 !important;
}
a.btn.btn-sm.btn-success {
    background-color: #2ecc71;
    border: 1px solid #2ecc71;
}
a.btn.btn-sm.btn-primary {
   background-color: #f99833;
   border:  1px solid #f99833;
}
.bg-success {
    --bs-bg-opacity: 1;
    background-color: rgb(249 152 51) !important;
}
.bg-dark {
    --bs-bg-opacity: 1;
    background-color: #d62828 !important;
}
.bg-danger {
    --bs-bg-opacity: 1;
   background-color: #d62828 !important;
}
  span.badge.badge-all {
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
    background-color: #2ecc71 !important;
}
        .list-group-item {
            border-left: none;
            border-right: none;
            padding: 12px 20px;
            font-size: 0.9rem;
            color: #475569;
            transition: all 0.3s;
        }
        
        .list-group-item:hover {
            background-color: var(--light-bg);
            color: var(--primary-color);
            padding-left: 25px;
        }
        
        .list-group-item:first-child {
            border-top: none;
        }
        
        .youtube-card {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            border: none;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .youtube-card .btn {
            background-color: #ef4444;
            border-color: #ef4444;
            font-weight: 500;
        }
        
        .youtube-card .btn:hover {
            background-color: #dc2626;
            border-color: #dc2626;
        }
        
        .stats-card {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border: none;
            border-radius: 12px;
            padding: 25px;
            text-align: center;
        }
        
        .stats-number {
            font-size: 2.5rem;
            font-weight: 700;
        color: #2ecc71;;
            line-height: 1;
        }
        
        .stats-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #64748b;
            font-weight: 600;
        }
        
        footer {
            background-color: #0052cc !important;
            color: white;
            padding: 60px 30px 0px  30px;
            position: relative;
        }

        .copy-right{
            padding-bottom: 20px;
        }
       footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2ecc71, #2ecc71);
}
span.badge.bg-primary.rounded-pill {
    background-color: #2ecc71 !important;
}
button.btn.btn-primary.w-100{
    background-color: #2ecc71 !important;
    border:  1px solid #2ecc71;
}

h5#offcanvasFormLabel {
    color: #2ecc71;
    font-weight: 600;
}

        .footer-title {
            font-weight: 600;
            margin-bottom: 20px;
            color: white;
        }
        
        .footer-link {
            color: #cbd5e1;
            text-decoration: none;
            transition: all 0.3s;
            display: block;
            margin-bottom: 10px;
        }
        
        .footer-link:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            margin-right: 10px;
            color: white;
            transition: all 0.3s;
        }
        
        .social-icon:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
        }
        .social-icon {
            background-color: var(--primary-color) !important;
            transform: translateY(-3px) !important;
        }
        
        .footer-divider {
            border-color: rgba(255, 255, 255, 0.1);
            margin: 30px 0;
        }
        
        .footer-bottom {
            font-size: 0.9rem;
            color: #94a3b8;
        }
        
        @media (max-width: 768px) {
            .navbar-nav {
                margin-top: 15px;
                padding-top: 15px;
                border-top: 1px solid #e2e8f0;
            }
            
            .nav-item {
                margin-bottom: 5px;
            }
            
            .hero-section {
                padding: 60px 0;
                text-align: center;
            }
            
            .hero-buttons {
                justify-content: center;
            }
            
            .hero-image {
                margin-top: 30px;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
        }
        
        /* Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .animate-fadein {
            animation: fadeIn 0.6s ease forwards;
        }
        
        .delay-1 { animation-delay: 0.2s; }
        .delay-2 { animation-delay: 0.4s; }
        .delay-3 { animation-delay: 0.6s; }





.quiz-card {
      /* background: linear-gradient(to bottom, #1c1c1c, #000); */
      color: white;
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 20px;
      height: 100%;
      transition: transform 0.3s ease;
    }
    .quiz-card:hover {
      transform: translateY(-5px);
    }
    .quiz-tags .badge {
      margin-right: 5px;
    }
    .quiz-footer {
      font-size: 0.9rem;
      color: #ccc;
    }
    .quiz-date i,
    .quiz-footer i {
      margin-right: 5px;
    }


     .fixed-form-btn {
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      z-index: 1050;
/*      background-color: #007bff;*/
background:#2ecc71;
      color: white;
      padding: 10px 15px;
      border-radius:8px 8px 8px 8px;
      cursor: pointer;
    }




    nav {
      background-color: #2d6efc;
    }

    .menu {
      display: flex;
      flex-wrap: wrap;
      list-style: none;
      justify-content: center;
     background-color: var(--dark-color);
      padding: 15px 0px;
      margin-bottom: 0px;
    }

    .menu > li {
      position: relative;
      padding: 5px 20px;
      color: white;
      cursor: pointer;
      font-size: 13px;
    }

    .social-icon {
  font-size: 16px;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* makes them round */
  color: white;
  margin: 0 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* Facebook */


a.social-icon.facebook {
   background-color: #1877f2;
}
a.social-icon.twitter{
 background-color: #1da1f2 !important;
}
a.social-icon.instagram{
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

a.social-icon.youtube{
     background-color: #ff0000 !important;
}
a.social-icon.telegram{
    background-color: #0088cc !important;
}




    .menu > li:hover {
      background-color: #1e293b;
    }
    .submenu, .sub-submenu {
      display: none;
      position: absolute;
       background-color: #1e293b;
      top: 100%;
      left: 0;
      min-width: 200px;
      list-style: none;
      z-index: 1000;
    }

    .submenu li, .sub-submenu li {
      padding: 12px 15px;
      display: flex;
      align-items: center;
      color: white;
      cursor: pointer;
    }

    .submenu li:hover, .sub-submenu li:hover {
      background-color: #1e293b;
    }

    li:hover > .submenu {
      display: block;
    }

    .submenu li:hover > .sub-submenu {
      display: block;
      left: 100%;
      top: 0;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      padding: 10px;
      cursor: pointer;
    }

    .hamburger span {
      background-color: white;
      height: 3px;
      margin: 4px 0;
      width: 25px;
    }

    @media (max-width: 768px) {
      .menu {
       
        display: none !important;
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
      }

      .menu.active {
        display: flex;
      }

      .menu > li {
        
        border-bottom: 1px solid rgba(255,255,255,0.2);
      }

      .submenu, .sub-submenu {
        position: static;
        min-width: 100%;
      }

      .submenu li:hover > .sub-submenu {
        display: none;
      }

      .submenu.open, .sub-submenu.open {
        display: block !important;
      }

      .hamburger {
/*        display: flex;*/
        margin: 10px;
      }
    }


    .menu .fas{
    	padding-right: 5px;
    }




    /* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #0048e4;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 14px;
  color: #fff;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}


.hindi-fixed-btn {
    z-index: 1050;
    background-color: #f99833;
    color: white;
    padding: 3px 12px;
    border-radius: 8px 0 0 8px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: bounce 2s infinite;
}

 .header {
            border-bottom: 1px solid #ddd;
            margin-bottom: 30px;
        }
        
        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
/*            color: var(--primary-color);*/
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        .news-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 30px;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        }
        
        .news-category {
            position: absolute;
            top: 15px;
            left: 15px;
            background-color: var(--accent-color);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .card-img-top {
            height: 200px;
            object-fit: cover;
            width: 100%;
        }
        
        .card-body {
            padding: 20px;
            flex-grow: 1;
/*            display: flex;*/
            flex-direction: column;
        }
        
        .card-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--primary-color);
        }
        
        .card-text {
/*            color: var(--secondary-color);*/
color: #475569;
            margin-bottom: 15px;
            flex-grow: 1;
        }
        
        .news-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #666;
            margin-top: auto;
        }
        
        .news-date {
            display: flex;
            align-items: center;
        }
        
        .news-date i {
            margin-right: 5px;
            font-size: 0.9rem;
        }
        
        .news-author {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .divider {
            height: 1px;
            background-color: #eee;
            margin: 40px 0;
        }
        
        @media (max-width: 768px) {
            .section-title {
                font-size: 1.5rem;
            }
            
            .card-img-top {
                height: 180px;
            }
            
            .card-title {
                font-size: 1.1rem;
            }
        }




 .quiz-container {
            max-width: 800px;
            margin: 20px auto;
            padding: 30px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .quiz-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #eee;
        }
        
        .quiz-title {
            font-size: 1.8rem;
            font-weight: 700;
/*            color: var(--primary-color);*/
            margin-bottom: 10px;
        }
        
        .quiz-progress {
            font-size: 0.9rem;
            color: var(--secondary-color);
        }
        
        .question-container {
            margin-bottom: 30px;
        }
        
        .question-text {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            line-height: 1.4;
        }
        
        .options-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .option {
            position: relative;
            padding: 15px 20px;
            background-color: white;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }
        
        .option:hover {
            border-color: var(--primary-color);
            background-color: rgba(74, 107, 255, 0.05);
        }
        
        .option input[type="radio"] {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }
        
        .option-label {
            display: flex;
            align-items: center;
            width: 100%;
            cursor: pointer;
        }
        
        .option-letter {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: #e9ecef;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-weight: 600;
            color: var(--secondary-color);
            transition: all 0.3s ease;
        }
        
        .option input[type="radio"]:checked ~ .option-label .option-letter {
            background-color: var(--primary-color);
            color: white;
        }
        
        .option-text {
            flex-grow: 1;
            font-size: 1rem;
        }
        
        .quiz-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 2px solid #eee;
        }
        
        .btn-submit {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-submit:hover {
            background-color: #3a5bef;
            transform: translateY(-2px);
        }
        
        .btn-submit:disabled {
            background-color: #e9ecef;
            color: var(--secondary-color);
            cursor: not-allowed;
            transform: none;
        }
        
        @media (max-width: 768px) {
            .quiz-container {
                margin: 20px;
                padding: 20px;
            }
            
            .quiz-title {
                font-size: 1.5rem;
            }
            
            .question-text {
                font-size: 1.1rem;
            }
        }




        /* ===== Premium Quiz Cards CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

:root {
  --primary: #4361ee;
  --secondary: #3f37c9;
  --accent: #4cc9f0;
  --dark: #2b2d42;
  --light: #f8f9fa;
  --success: #4bb543;
  --hindi: #ff7b00;
  --english: #7209b7;
  --upsc: #d90429;
}


.quiz-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  padding: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.premium-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.accent-card::before {
  background: linear-gradient(90deg, var(--accent), #4895ef);
}

.dark-card {
  background: var(--dark);
  color: white;
}

.dark-card .card-title,
.dark-card .card-date,
.dark-card .footer-item {
  color: white !important;
}

.dark-card::before {
  background: linear-gradient(90deg, #f72585, #b5179e);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: white;
}

.badge-all {
  background-color: var(--primary);
}

.badge-hindi {
    background-color: #0052cc;
}

.badge-english {
    background-color: #f99833;
}

.badge-upsc {
    background-color: #2ecc71;
}

.card-date {
  font-size: 0.8rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dark-card .card-date {
  color: #adb5bd;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 15px 0 20px;
  line-height: 1.4;
  color: var(--dark);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  margin-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.dark-card .card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-item {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6c757d;
}

.current-hunt i {
  color: var(--primary);
}

.team-badge i {
  color: var(--english);
}

.dark-card .current-hunt i {
  color: var(--accent);
}

.dark-card .team-badge i {
  color: #f72585;
}

/* Hover Content */
.card-hover-content {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: white;
  padding: 20px 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dark-card .card-hover-content {
  background: #343a40;
}

.premium-card:hover .card-hover-content {
  bottom: 0;
}

.quiz-button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.quiz-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6c757d;
}

.stats i {
  margin-right: 5px;
}

.dark-card .stats {
  color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
  .quiz-grid-container {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 500px) {
  .d-none-desktop.fixed-form-btn {
    position: relative;
    top: 23px;
    display: flex;
  }
  .desktop-view-login{
    display: none !important;
  }
  .d-none-desktop{
    display: inline;
  }

    .search-input {
      width: 50%;
      padding: 17px 0px;
      margin-left: 0px !important;
  }

  .language-fixed-btn {
    margin-top: 0px !important;
    margin-left: 5px;
    cursor: pointer;
    color: #fff;
  }
  .language-fixed-btn:hover {
    background: #fff;
  }


    a.navbar-brand img {
      width: 150px;
  }
    .premium-card {
      padding: 20px;
    }

    ul.navbar-nav.ms-auto {
      display: -webkit-box;
  }
    .mobile-nav-bar{
      display: inline-block;
  }
  .card-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .card-date {
    align-self: flex-end;
  }
  ul.navbar-nav.ms-auto {
    margin-left: unset !important;
}
.mobile-nav-bar {
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-desk{
    display: none;
}

ul.navbar-nav.ms-auto.nav-desk {
    display: none;
}
.navbar-nav {
    margin-top: 0px;
    
    border-top: transparent;
}
  /* Navbar */
  .navbar {
    background-color: #1a73e8;
    color: #fff;
    position: relative;
  }

  .hamburger {
    padding: 16px;
    font-size: 24px;
    cursor: pointer;
  }

  /* Menu container */
  .menu {
    display: flex;
   flex-wrap: wrap;
    color: #333;
    justify-content: flex-start;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

  .menu.active {
    display: flex;
  }

  /* Menu items */
  .menu-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    position: relative;
    color: #fff;
    background-color: #0048e4;
  }

  /*.menu-item:hover {
    background-color: #fff;
  }*/

  /* Submenu */
  .submenu {
    display: none;
    flex-direction: column;
   
    overflow: hidden;
  }

  .submenu.active {
    display: flex;
  }
  .mobile-nav-bar .social-icon {
    display: none;
  }
  .submenu .menu-item {
    padding-left: 40px;
    font-size: 14px;
    background-color: #0048e4;
  }

  /* Sub-submenu */
  .subsubmenu {
    display: none;
    flex-direction: column;
    background-color: #e9e9e9;
  }

  .subsubmenu.active {
    display: flex;
  }

  .subsubmenu .menu-item {
    padding-left: 60px;
    font-size: 13px;
  }

  /* Arrow indicator */
  .has-submenu::after {
    content: '▶';
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
  }

  .has-submenu.active::after {
    transform: rotate(90deg);
  }

  .quiz-content {
    position: relative;
    top: -125px;
    /* left: 23px; */
    background-color: #2ecc716b;
    padding: 5px 10px;
    width: 90%;
    text-align: center;
    display: flex;
    border-radius: 13px 13px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-section{
    padding-bottom: 0px;
}
.quiz-grid-container {
    padding: 0px;
}
}


.custom-pagination .page-link {
  color: #333; 
  border-radius: 8px;
  margin: 0 3px;
  border: 1px solid #ddd;
  padding: 6px 12px;
  transition: all 0.2s;
}
.custom-pagination .page-link:hover {
  background: #f4f4f4;
  color: #000;
}
.custom-pagination .active .page-link {
  background: #ff5722;   /* your custom color */
  border-color: #ff5722;
  color: #fff;
}
ul.pagination.justify-content-center.custom-pagination {
  background-color: #fff !important;
}


/* jQuery Validate error style */
.error {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

/* Highlight invalid input fields */
input.error, textarea.error, select.error {
  border: 1px solid red !important;
  background-color: #fff5f5; /* light red bg for better visibility */
}
