/* CSS Variables */
:root {
  --primary-color: #097c09;

  --background: #ffffff;
  --surface: #f8f9fa;
  --text-primary: #1d1d1f;
  --text-secondary: #5d5d5d;
  --border-color: #d2d2d7;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
  --blur-bg: rgb(255, 255, 255);
  --max-width: 1200px;
  --border-radius: 12px;

  --tableShadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.navbar {
  background: var(--blur-bg);
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  border-top: 3px solid var(--primary-color);
 
  margin-bottom: 2em;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo img {
  width: 150px;
  height: auto;
}

.nav-menu {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;

  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);

  transform-origin: center;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

#fileData {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--tableShadow);
}

#fileData td,
#fileData th {
  border: 1px solid var(--border-color);
  padding: 8px;
}

#fileData tr {
  background-color: var(--background);
}

#fileData tr:nth-child(even) {
  background-color: var(--surface);
}

#fileData th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: var(--primary-color);
  color: white;
}

#fileData a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  color: var(--text-primary);
}

#fileData a:hover {
  color: var(--primary-color);
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 5px;
  max-width: 800px;
  margin: auto;
}

.share-btn {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
  min-width: 130px;
  text-align: center;
  cursor: pointer;
}

.share-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.share-btn span {
  display: inline-block;
  font-weight: 500;
}

.facebook {
  background-color: #3b5998;
}
.twitter {
  background-color: #1da1f2;
}
.whatsapp {
  background-color: #25d366;
}
.telegram {
  background-color: #0088cc;
}

.native {
  background-color: #65035a;
}

.share-btn:hover {
  opacity: 0.85;
  color: #fff;
}



.footer {
  background-color: #f9f9f9;
  color: #333;
  padding: 40px 0 20px;
  margin-top: 1em;
  border-top: 1px solid #ddd;
}

.footer a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-left {
  flex: 1;
  max-width: 400px;
}

.footer-logo img {
  max-width: 160px;
  height: auto;
  margin-bottom: 5px;
}

.footer-links {
  display: flex;

  gap: 8px 25px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #393939;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.content main {
  flex: 1;
}

.content aside {
  position: sticky;
  padding: 10px;
  top: 20px;
}

.paragraph a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}




.archive-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 2em;
}

.archive-links a {
  display: block;
  padding: 10px 5px;
  background-color: #f1f1f1;
  color: #333;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-size: 15px;
}

.archive-links a:hover {
  background-color: #e0e0e0;
}

.sidebar_heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 2px dashed var(--border-color);
}

.m_headeing {
  font-size: 18px;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 2px dashed var(--border-color);
}
.poupHeading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-modal {
  background: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f20000;
  border: none;
  font-size: 25px;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-btn {
  background: #eaeaea;
  color: #000;
  border: 1px solid #d2d2d7;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}



.main_content h1,
.main_content h2 {
  color: var(--text-primary);
  margin-top: 25px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.main_content h2 {
  font-size: 22px;
}

.main_content .h2 {
  font-size: 28px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  border-left: none;
}

.main_content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.main_content ul {
  padding-left: 10px;
  margin-bottom: 20px;
  list-style: none;
}

.main_content ul li {
  font-size: 16px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.main_content ul li::before {
  content: "👉";

  position: absolute;
  left: -5px;
  top: 0;
}

#searchOld {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

#searchOld label {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

#datePicker {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

#datePicker:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

#searchBtn {
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#searchBtn:hover:not(:disabled) {
  background-color: #0056b3;
}

#searchBtn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

#SearchResult {
  margin: 20px auto;
  max-width: 400px;
  padding: 10px;
  min-height: 50px;
}

.ajaxResult {
  text-align: center;
  margin: 1px auto 1em auto;
}

.ajaxResult a {
  padding: 12px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 2px solid transparent;
  background: var(--primary-color);
  color: white;
  max-width: 250px;
  margin: auto;
}

.not_404_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.not_404_container {
  max-width: 600px;
  text-align: center;
  padding: 30px;

  margin: 0 auto;
}

.not_404_title {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.not_404_message {
  font-size: 1.2rem;
  color: #555;
  margin: 20px 0;
  line-height: 1.6;
}

.not_404_note {
  font-size: 0.9rem;
  color: #666;
  margin: 20px 0;
  line-height: 1.6;
}

.not_link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.not_link:hover {
  text-decoration: underline;
}


@media (min-width: 768px) {
  .content {
    flex-direction: row;
    align-items: flex-start;
  }

  .content main {
    flex: 3;
  }

  .content aside {
    flex: 1;
  }
}




@media (max-width: 768px) {
  .nav-btn {
    background: none;
    color: #000;
    border: none;
    padding: 0px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0px;
    justify-content: center;
  }

  .nav-btn span {
    display: none;
  }

  .hide_on_mobile {
    display: none;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
 
  .not_404_container {
    padding: 10px;
  }

  .not_404_title {
    font-size: 2rem;
  }

  .not_404_message {
    font-size: 1.1rem;
  }

  .not_404_links,
  .not_404_note {
    font-size: 0.95rem;
  }

  .nav-logo img {
    width: 130px;
    height: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blur-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);

    opacity: 0;
    visibility: hidden;

    z-index: 500;
  }

  .nav-right {
    gap: 20px;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    background: var(--background);
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 6px;
  }
}
