:root {
  --primary: #428bca;
  --primary-soft: #dae8f56e; /*#dae8f5;*/
  --primary-soft-medium:#8ec8ff;
  --background: #fff;
  --secondary: #f0ad4e;
  --golden: #b8860b;
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@100..900&display=swap');

/*common css*/
body{
  color: #444;
  background: #f7f8f9;
  font-family: "Noto Sans Devanagari", sans-serif;
}
a{
  color: #444;
  text-decoration: none;
  transition: 0.3s;
  font-size: 15px;
}
a:hover{
  color: #000;
}
.primary-color{color: var(--primary);}
.secondary-color{color: var(--secondary);}
.golden-color{color: var(--golden);}
.main-box{
  border: 1px solid rgba(185, 185, 185, 0.4);
  border-radius: 1.1rem;
  margin-bottom: 1rem;
  padding: 1.3rem 1rem;
  background: #f6f6f6;
  box-shadow: 0 5px 20px 0 rgba(69, 67, 96, 0.1);
}
.page-section{
  padding-top: 20px;
}
.main-box-header{
  font-weight: 600;
  color: var(--primary);
  border-bottom: 2px dotted var(--golden);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.dashed .main-box-header{
  color: var(--golden);
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--primary-soft-medium);

}
.btn-soft{
  padding: 5px 12px 2px 12px;
  background-color: var(--primary-soft);
  color: var(--primary);
  cursor: pointer;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
  border: 1px solid var(--primary);
}
.btn-soft:hover {
  background-color: var(--primary);
  color: #fff;
  transition: 0.3s;
}
.fw-400{
  font-weight: 400!important;
}
.fw-500{
  font-weight: 600!important;
}
.fw-600{
  font-weight: 600!important;
}
.fw-700{
  font-weight: 700!important;
}

/*top header css start*/
.top-header{
  background: var(--primary-soft);
  padding: 14px 0px;
  font-size: 13px;
}
.th-live-time{
  font-weight: 600;
}

/* main header css */
.header-img{
  height: 40px;
}
.search-box {
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px;
  display: none;
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 9999;
}
.search-box.show {
  display: block;
}
.navbar-nav .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
}
.search-icon {
  cursor: pointer;
  font-size: 1.15rem;
}
.nav-link{
  font-weight: 500;
}

/*list css*/
.list-link{
  margin-top: 8px;
  font-weight: 500;
}
.list-link a:hover{
  padding-left: 4px;
  transition: 0.4s;
}
.checklist{
  position: relative;
  padding-left: 22px;
}
.checklist::after{  
  content: "✓";
  position: absolute;
  left: 2px;
  font-weight: 600;
  color: var(--golden);
}
.pagination {
  justify-content: center;
  margin-top: 20px;
}

  .question-block {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 5px;
      padding: 15px;
      margin-bottom: 20px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .options {
      margin-top: 10px;
    }
    .options div {
      margin: 5px 0;
    }
    .answer {
      margin-top: 10px;
      padding: 10px;
      background: #e9f7ef;
      border-left: 3px solid #28a745;
      display: none;
      border-radius: 8px;
    }
    .answer .c-ans {
      color: #155724;
    }
    .answer-btn {
      margin-top: 10px;
    }

.pagination .page-item .page-link {
  color: #0d6efd;
  border: 1px solid #dee2e6;
  margin: 0 4px;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding-top: 8px;
  line-height: 20px;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.pagination .page-item .page-link:hover {
  background-color: #e9f3ff;
  color: #0d6efd;
  transform: translateY(-2px);
}

.pagination .page-item.disabled .page-link {
  color: var(--primary);
  pointer-events: none;
  background-color: #fff;
  border-color: #dee2e6;
  opacity: 0.6;
}

.pagination .page-link {
  position: relative;
  overflow: hidden;
}

.pagination .page-link::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(13, 110, 253, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.pagination .page-link:hover::after {
  width: 200%;
  height: 500%;
}

p.small.text-muted {
  display: none;
}

/* Footer Base Styling */
.footer {
  background-color: #f8f9fa;
  padding: 50px 0;
  color: #343a40;
  font-family: 'Segoe UI', sans-serif;
  border-top: 1px solid #e5e5e5;
}

/* Footer Inner Container */
.ps_footer_main {
  padding: 20px 0;
}

.footer-widget {
  text-align: center;
}

/* Heading */
.footer-widget .widget-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #212529;
}

/* Description */
.footer-newsletter-content {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Form Container */
.ps_newsletter_form {
  max-width: 500px;
  margin: 0 auto;
}

/* Input + Button Group */
.newsletter-input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.newsletter-input-group input[type="text"],
.newsletter-input-group input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  outline: none;
  transition: 0.3s;
}

.newsletter-input-group input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.25);
}

.ps-subscribe-form-btn {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  background-color: #007bff;
  color: #fff;
  border-radius: 6px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.ps-subscribe-form-btn:hover {
  background-color: #0056b3;
}

/* Error Message (if used) */
.ps-subscribe-error-msg {
  display: block;
  margin-top: 10px;
  color: #dc3545;
  font-size: 14px;
}

.back-to-top {
  text-align: right;
}
@media (max-width: 768px) {
.th-live-time{
  display: none;
}
.th-update{
  text-align: center;
}
}

/* Responsive Fix */
@media (max-width: 575px) {
  .newsletter-input-group {
    flex-direction: column;
    align-items: stretch;
  }

  .ps-subscribe-form-btn {
    width: 100%;
    margin-top: 10px;
  }
  .main-box {
    border:none;
    padding: 0;
    box-shadow: none;
  }
  .question-block {
    background: transparent;
    border: none;
    padding: 0px;
    box-shadow: none;
  }
  .correct-label{
    display: noneq;
    color: #000;
  }
  .options {
    margin-top: 6px;
}
/*.text-container {
      position: relative;
    }

    .text-content {
      max-height: 4.5em;
      overflow: hidden;
      position: relative;
      transition: max-height 0.3s ease;
    }

    .text-container.expanded .text-content {
      max-height: 1000px; 
    }

    .show-more-btn {
        color: #842029;
        cursor: pointer;
        position: absolute;
        bottom: 2px;
        right: 4px;
        display: inline-block;
        padding: 3px 4px 0px 7px;
        line-height: 19px;
        border-radius: 50px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.6));
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: 0.3s ease;
        font-size: 14px;
    }*/
}