@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+Kannada:wght@100..900&family=Orbitron:wght@400..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Reset some basic elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans Kannada";
  line-height: 1.6;
  background: #f4f4f4;
  color: #333;
}
a {
  color: #333;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar Styles */
.navbar {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-family: "Noto Serif Kannada", serif;
  font-size: 1.5rem;
  color: #3e6f6c;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Menu toggle for mobile */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Nav Menu */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

.nav-link:hover {
  background: #f0f0f0;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  border: 1px solid #ddd;
  min-width: 200px;
  display: none;
  z-index: 200;
}

.dropdown-menu li a {
  padding: 0.75rem 1rem;
  display: block;
  color: #333;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem;

  color: #333;
}

.hero h1 {
  font-family: "Noto Serif Kannada", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: auto;
}

/* Quiz Cards Section */
.quiz-section {
  padding: 2rem 0;
}

.quiz-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.quiz-card {
  background: #f0f0f0;
  border: 1px dashed rgba(128, 128, 128, 0.483);
  border-radius: 8px;
  padding: 0.5rem;
  transition: transform 0.3s;
}

.quiz-card:hover {
  transform: translateY(-5px);
}

.quiz-card img {
  max-width: 80%;
  border-radius: 4px;
}

.quiz-card h3 {
  margin-bottom: 0.5rem;
  font-family: "Noto Serif Kannada";
  color: black;
}

.btn {
  color: #3e6f6c;
}

.btn:hover {
  color: dodgerblue;
}

/* Info Section (About, FAQ, Policy) */
.info-section {
  background: #fff;
  padding: 2rem 1rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.info-section h1,
.info-section h2 {
  margin-bottom: 1rem;
  font-family: "Noto Serif Kannada", serif;
  color: black;
}

.info-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Footer */
/* Footer */
.footer {
  background: #f0f0f0;
  color: #333;
  padding: 2rem 0;
  text-align: center;
  width: 100%;
}

.footer-column {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-column li {
  margin: 0.5rem;
}

.footer-column a {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #3e6f6c;
}

.footer-column a i {
  margin-right: 0.5rem;
}

.copy {
  font-size: 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
  margin-top: 1rem;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.copy h4 {
  margin-top: 0.5rem;
  font-weight: 500;
  color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-column ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-column li {
    margin: 0.25rem 0;
  }
}

@media (min-width: 769px) {
  .footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .footer-column {
    display: inline-block;
    vertical-align: top;
    width: auto;
    margin: 0 1.5rem;
  }

  .copy {
    flex-basis: 100%;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    border-top: 1px solid #ddd;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
  }
}
