@import url("https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100..700;1,100..700&family=Lora:ital,wght@0,400..700;1,400..700&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+Slab:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  width: 100vw;
  background-color: white;
  overflow-x: hidden;
}

header {
  /* padding: 30px 50px; */
  position: sticky;
  top: 0;
  z-index: 2000;
}

.The-header {
  width: 100%;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background-color: white;
  /* border-radius: 20px; */
}

.logo img {
  width: 150px;
  padding: 0px 5px;
}

.nav_links {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: larger;
  font-weight: 600;
  gap: 25px;
}

.nav_links li {
  list-style: none;
  position: relative;
}

.nav_links li a {
  text-decoration: none;
  color: #554b9a;
  font-family: "Lora", serif;
  font-weight: bolder;
}

i {
  cursor: pointer;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 200;
}

.icons i {
  color: #554b9a;
  font-size: larger;
  padding-right: 50px;
}

.hamburger {
  display: none;
}

.lines {
  width: 25px;
  background-color: #554b9a;
  height: 3px;
  margin: 5px;
}

.The-header nav ul li a::after {
  position: absolute;
  content: "";
  width: 0;
  height: 3px;
  left: 0;
  bottom: -8px;
}

.The-header nav ul li a:hover::after {
  width: 100%;
  background-color: #a392f5;
}

.page {
  position: relative;
}

.drop_menu {
  display: none;
}

.drop_menu1 {
  display: block;
  position: absolute;
  left: 0;
  bottom: -45px;
  padding: 10px 6px;
  color: #554b9a;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

@media screen and (max-width: 1200px) {
  .nav_links {
    font-size: large;
  }
}

@media screen and (max-width: 1080px) {
  .nav_links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .icons i {
    padding-right: 5px;
  }
}

/* ---------------------------------------------------------------------------- */

/* Sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow-x: hidden;
  transition: 1s;
  padding-top: 20px;
  margin-top: 12vh;
}

.sidebar ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px 15px;
  position: relative;
}

.sidebar ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #554b9a;
  font-weight: 600;
  text-decoration: none;
}
.sidebar ul li div span {
  color: black;
  text-decoration: none;
}

.flexdiv {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sidebar ul li a:hover {
  color: #f1f1f1;
}

.sidebar ul li .submenu {
  list-style: none;
  padding-left: 15px;
  /* max-height: 0; */
  overflow: hidden;
  display: none;
}
.sidebar ul li .submenu2 {
  padding-left: 15px;
  display: none;
}
.submenu1 {
  padding-left: 15px;
  display: block;
}

/* Close button */
.sidebar .close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 36px;
  cursor: pointer;
  color: black;
}

.hide {
  display: none;
}

/* ---------------------------------------------------- */

body {
  /* background: #0f0f11; */
  /* color: white; */
  padding: 20px;
}

header h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 600;
}

.cards {
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.card {
  width: 100%;
  background-color: #a392f5;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 26px;
  font-weight: bold;
}

.chartGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 20px;
  padding-bottom: 20px;
}

.chartBox {
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.chartBox h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.chartBox canvas {
  width: 100% !important;
  height: 300px !important;
}
/* ----------- Responsive for 500px to 310px ----------- */
@media (max-width: 500px) {

  header h1 {
    font-size: 22px;
    line-height: 28px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .card {
    width: 90%;
    padding: 15px;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 22px;
  }

  .chartGrid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .chartBox {
    padding: 15px;
  }

  .chartBox h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .chartBox canvas {
    height: 230px !important;
  }
}

/* ----------- Extra Small 350px to 310px ----------- */
@media (max-width: 350px) {

  header h1 {
    font-size: 18px;
  }

  .card {
    width: 95%;
    padding: 12px;
  }

  .card p {
    font-size: 20px;
  }

  .chartBox {
    padding: 12px;
  }

  .chartBox h3 {
    font-size: 14px;
  }

  .chartBox canvas {
    height: 200px !important;
  }
}

/* ------------------ FOOTER PAGE ------------------------ */

footer {
  overflow: hidden;
}

.footer-parent {
  display: flex;
  flex-wrap: wrap;
  overflow-x: hidden;
  position: relative;
}

.footer-map {
  padding: 20px 40px 10px 40px;
}

.footer-map iframe {
  position: relative;
  border-radius: 10px;
}

#vanta-fr {
  min-height: 100vh;
  position: absolute;
  inset: 0;
}

.set1,
.set2,
.set3,
.set4 {
  flex: 300px;
  padding: 0px 20px 0px 20px;
  text-align: center;
}

.set1 {
  padding-top: 30px;
}

.set1 img {
  width: 220px;
  height: 70px;
  object-fit: cover;
  padding: 0px;
}

.footer-para {
  font-size: larger;
}

.set1 a {
  text-decoration: none;
}

.set1 a i {
  font-size: x-large;
  color: #554b9a;
  padding: 20px;
}

.set1 a i:hover {
  color: purple;
}

.set2 {
  padding-top: 60px;
}

.footer-li {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.footer-li a {
  display: inline-block;
  font-size: larger;
  padding: 10px;
  text-decoration: none;
  color: black;
  font-weight: 600;
}

.footer-li > a:hover {
  color: purple;
}

.footer-header {
  color: #554b9a;
}

.set3 {
  padding-top: 60px;
}

.set3 .footer-para {
  padding: 10px;
  font-weight: 400;
}

.set4 {
  padding-top: 60px;
}

.set4 > .footer-para {
  padding: 10px;
  font-weight: 400;
  line-height: 40px;
}

@media screen and (max-width: 769px) {
  .footer-parent {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }
}

@media screen and (max-width: 430px) {
  .footer-para {
    font-size: medium;
  }

  .footer-li a {
    font-size: medium;
  }

  .footer-header {
    font-size: larger;
  }
}
