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: #d8c9ff;
  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: #785cc1; /* Text color */
}

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

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

.nav-link:hover {
  background-color: white; /* Background styling */
  color: #785cc1; /* 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: #785cc1;
}
.info-card ul {
  padding-left: 20px;
  margin-top: 10px;
}
.info-card li {
  margin-bottom: 8px;
}

.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: #d8c9ff;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #785cc1;
}

/* Arrows: Only WebKit allows this */
::-webkit-scrollbar-button:single-button {
  display: block;
  background-color: #785cc1;
  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: #785cc1; /* Text color */
}

.footer-bar {
  background-color: #d8c9ff; /* 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: #785cc1; /* 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 */
}