body { /* Base body styles */
  margin: 0; /* Margin for spacing */
  font-family: Arial, sans-serif; /* Font family for consistency */
  background: #f8f8ff; /* Background styling */
  color: #333; /* Text color */
}

/* Reset and Base Styles */
body { /* Base body styles */
  margin: 0; /* Margin for spacing */
  font-family: 'Poppins', sans-serif; /* Font family for consistency */
  background-color: #f9f9f9; /* Background styling */
  color: #333; /* Text color */
  padding-top: 70px;
}

h2, h3 {
  text-align: center; /* Text alignment */
}

/* Header */
.header-bar {
  position: fixed; /* Changed from sticky */
  top: 0;
  width: 100%;
  background-color: #a8c2ff;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease;
}

.header-hidden {
  top: -100px; /* Pushes header out of view */
}


.header-inner {
  display: flex; /* Display type */
  justify-content: space-between; /* Horizontal alignment */
  align-items: center; /* Vertical alignment */
  padding: 10px 20px; /* Padding for spacing */
  flex-wrap: wrap; /* Flexbox layout */
}

.logo-section {
  display: flex; /* Display type */
  align-items: center; /* Vertical alignment */
}

.logo {
  height: 50px; /* Element height */
  width: 50px; /* Element width */
  border-radius: 6px; /* Border styling */
  margin-right: 10px; /* Margin for spacing */
}

.site-title {
  font-size: 28px; /* Font size */
  font-weight: 600; /* Font weight */
  margin: 0; /* Margin for spacing */
  color: #0015ff; /* Text color */
}

.nav-links {
  display: flex; /* Display type */
  gap: 10px; /* Gap between elements */
}

.nav-link {
  padding: 8px 16px; /* Padding for spacing */
  background-color: #0015ff; /* Background styling */
  color: white; /* Text color */
  text-decoration: none;
  border-radius: 6px; /* Border styling */
  font-weight: 700; /* Font weight */
  border: 2px solid #0015ff; /* Border styling */
}

.nav-link:hover {
  background-color: white; /* Background styling */
  color: #0015ff; /* Text color */
}
.policy-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.policy-container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0008ff;
}

.center-heading {
  text-align: center;
}

.policy-container h2 {
  font-size: 1.2rem;
  margin-top: 20px;
  color: #222;
}

.policy-container p {
  line-height: 1.6;
  margin-bottom: 15px;
}

/* About & Help Page Enhancements */
.page-content ul {
  padding-left: 20px;
  margin-top: 10px;
}
.page-content li {
  margin-bottom: 8px;
}
.page-content p {
  margin: 15px 0;
}
.page-content strong {
  font-weight: 600;
}
.page-content .faq-question {
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
}
.info-card {
  background-color: white;
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  line-height: 1.8;
}
.info-card h2, .info-card h3 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
    font-size: 2rem;
  color: #0008ff;
}
.info-card ul {
  padding-left: 20px;
  margin-top: 10px;
}
.info-card li {
  margin-bottom: 8px;
}
/* About & Help Page Enhancements */
.page-content ul {
  padding-left: 20px; /* Padding for spacing */
  margin-top: 10px; /* Margin for spacing */
}

.page-content li {
  margin-bottom: 8px; /* Margin for spacing */
}

.page-content p {
  margin: 15px 0; /* Margin for spacing */
}

.page-content strong {
  font-weight: 600; /* Font weight */
}
.page-content .faq-question {
  font-weight: bold; /* Font weight */
  margin-top: 20px; /* Margin for spacing */
  text-align: center; /* Text alignment */
  font-size: 15px; /* Font size */
}
.info-card {
  background-color: white; /* Background styling */
  max-width: 1000px; /* Element width */
  margin: 40px auto; /* Margin for spacing */
  padding: 30px; /* Padding for spacing */
  border-radius: 16px; /* Border styling */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Shadow for depth */
  font-size: 16px; /* Font size */
  line-height: 1.8; /* Element height */
}


.section-divider {
  border: none;
  border-top: 1px solid rgb(154, 154, 154); /* Dark gray line */
  margin: 15px 0;             /* Top and bottom spacing */
}
.explore-btn {
  background-color: #2f40ff;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.explore-btn:hover {
  background-color: #0015ff;
}


/* Force vertical scrollbar */
html {
  height: 100%;
  overflow-y: scroll !important;
}

/* Webkit Browsers (Chrome, Edge, Brave, Opera, newer Safari) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #bac6ff;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0015ff;
}

/* Arrows: Only WebKit allows this */
::-webkit-scrollbar-button:single-button {
  display: block;
  background-color: #bec0ff;
  height: 12px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Up Arrow */
::-webkit-scrollbar-button:single-button:decrement {
  height: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  background-color: transparent;
  background-image: url("../media/up-arrow.png"); /* Replace with correct path */
  /* Make it an up arrow */
}

/* Down Arrow */
::-webkit-scrollbar-button:single-button:increment {
  height: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  background-color: transparent;
  background-image: url("../media/down-arrow.png"); /* Use original image */
}
/* Footer */
.footer {
  background-color: #f0f0f0; /* Background styling */
  padding: 50px 10px; /* Padding for spacing */
  text-align: center; /* Text alignment */
  margin-top: 60px; /* Margin for spacing */
  width: 100%;  /* Ensure full width */ /* Element width */
  box-sizing: border-box;  /* Prevent any overflow */ /* Border styling */
}

.features {
  display: flex; /* Display type */
  justify-content: center; /* Horizontal alignment */
  gap: 10px; /* Gap between elements */
  flex-wrap: wrap; /* Flexbox layout */
  margin-bottom: 20px; /* Margin for spacing */
}

.feature-item {
  display: flex; /* Display type */
  flex-direction: column; /* Flexbox layout */
  align-items: center; /* Vertical alignment */
  max-width: 100px; /* Element width */
}

.feature-item img {
  width: 40px; /* Element width */
  margin-bottom: 10px; /* Margin for spacing */
}

.useful-links ul {
  list-style: none;
  padding: 0; /* Padding for spacing */
  display: flex; /* Display type */
  justify-content: center; /* Horizontal alignment */
  flex-wrap: wrap; /* Flexbox layout */
  gap: 20px; /* Gap between elements */
  font-weight: 600; /* Font weight */
  font-size: 15px; /* Font size */
}

.useful-links a {
  text-decoration: none;
  color: #0015ff; /* Text color */
}

.footer-bar {
  background-color: #bac6ff; /* Background styling */
  padding: 8px; /* Padding for spacing */
  color: #333; /* Text color */
  font-weight: 500; /* Font weight */
  font-size: 14px; /* Font size */
  position: fixed;  /* Make sure it's at the bottom */ /* Positioning */
  bottom: 0;  /* Stick to the bottom */
  left: 0;
  width: 100%;  /* Ensure it's full width */ /* Element width */
  text-align: center; /* Text alignment */
  z-index: 1000; /* Layer order */
}

a {
  text-decoration: none;
}
.feature-item {
  display: flex; /* Display type */
  justify-content: center; /* Horizontal alignment */
  align-items: center; /* Vertical alignment */
  flex-direction: column; /* Flexbox layout */
  padding: 1rem; /* Padding for spacing */
  text-align: center; /* Text alignment */
  transition: transform 0.2s ease-in-out; /* Smooth transitions */
}

.feature-item a {
  display: flex; /* Display type */
  flex-direction: column; /* Flexbox layout */
  align-items: center; /* Vertical alignment */
  text-decoration: none;
  color: inherit; /* Text color */
  transition: transform 0.2s ease-in-out; /* Smooth transitions */
}

.feature-item img {
  width: 40px; /* Element width */
  height: 40px; /* Element height */
  margin-bottom: 0.5rem; /* Margin for spacing */
}

.feature-item a:hover {
  transform: scale(1.08);
}
/* Main Content Styling */
.page-content {
  max-width: 900px; /* Element width */
  margin: 2rem auto; /* Margin for spacing */
  padding: 0 8px; /* Padding for spacing */
}

.page-content h2 {
  color: #3c00ff; /* Text color */
  font-size: 2rem; /* Font size */
  margin-bottom: 1rem; /* Margin for spacing */
}

.page-content h3 {
  color: #333; /* Text color */
  font-size: 1.4rem; /* Font size */
  margin-top: 2rem; /* Margin for spacing */
}

.page-content p {
  line-height: 1.6; /* Element height */
  margin-bottom: 1rem; /* Margin for spacing */
}



















/* Block common ad elements inside sidebar */
#sidebar ins,
#sidebar iframe,
#sidebar .adsbygoogle {
  display: none !important;
  visibility: hidden !important;
}

/* Sidebar title */
.sidebar-title {
  margin-top: 17px;   /* space below close button */
  margin-bottom: 0px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: #333;
}

/* Divider line */
.sidebar-divider {
  height: 2px;
  background: #ccc;
  margin: 5px 0 20px;
}



/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 300px;
    height: 100vh; /* full viewport height */
  overflow-y: auto; /* allow scroll if content is longer */

  background: #f5f5f5;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  padding: 0px 20px;
  transition: right 0.3s ease;
  z-index: 9999;
}
.sidebar.open {
  right: 0;
  height: 100vh;
}

/* Sidebar links & buttons */
.sidebar a, .sidebar button:not(.close-btn) {
  display: block;
  margin: 15px 0;   /* consistent spacing */
  padding: 12px;
  text-align: center;
  border-radius: 6px;
  background:  #0015ff;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}
.sidebar a:hover, .sidebar button:not(.close-btn):hover {
  background: #005bb5;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}
/* On mobile, move close button to 10px from top */
@media (max-width: 768px) {
  .close-btn {
    top: 10px;
    right: 15px;
  }
}
/* Default (light mode) */
.dark-mode-card {
  padding: 12px;
  background: #ddd;
  border-radius: 8px;
  margin: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
}

/* Dark mode version */
body.dark .dark-mode-card {
  background: #333;
  color: #fff;
}


.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input { display: none; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: 0.4s;
}
.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.4s;
}
input:checked + .slider {
  background-color:  #0015ff;
}
input:checked + .slider:before {
  transform: translateX(26px);
}

/* Light / Dark */
body.light { background: #fff; color: #000; }
body.dark { background: #121212; color: #fff; }




.adsbygoogle {
  text-align: center;     /* center the ad horizontally */
  margin: 20px 0;         /* spacing above & below */
}

.adsbygoogle ins.adsbygoogle {
  display: inline-block;  /* makes it center correctly */
  max-width: 100%;        /* responsive */
}

