@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Oswald:wght@200..700&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Variables */
:root {
  --primary-color: hsl(235, 66%, 30%);
  --secondary-color: #ffab00;
  --accent-color: #ff6d00;
  --sidebar-bg: rgba(26, 35, 126, 0.95);
  --dropdown-bg: rgba(93, 110, 88, 0.9);
  --light-bg: #f8f9fa;
  --dark-bg: #121212;
  --success-color: #00c853;
  --warning-color: #ffab00;
  --danger-color: #d50000;
  --text-light: #ffffff;
  --text-dark: #212121;
  --border-radius: 12px;
  --font-family: 'Poppins', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: "Roboto Slab", serif;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
#loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #c1f0d1;
  border-top: 6px solid #df690a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Content */
.content {
  padding: 2rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

/* Navbar */
.navbar {
  width: 100%;
  background: var(--secondary-color);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}
.nav-logo-img,
.navbar-brand img {
  width: 50px;
  height: 50px;
  margin-right: 14px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .nav-logo-img,
  .navbar-brand img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  }
  .nav-logo {
  font-size: 1.1rem;
  }
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-menu li a:hover {
  color: #a8d5a0;
}
.navbar-toggler {
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
}
.navbar-toggler-icon {
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.63);
  z-index: 0;
}


/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 30px;
  font-size: 14px;
  width: 100%;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
  flex-direction: column;
  align-items: flex-start;
  }
  .nav-menu {
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
  }
  .nav-menu li {
  width: 100%;
  }
  .nav-menu li a {
  display: block;
  padding: 10px;
  width: 100%;
  }
}
