 #header {
  width: 700px;
  background: #08915e;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  padding: 20px 15px;
  z-index: 1000;
  transition: transform 0.9s ease;
  
}

#header::after {
  content: "";
  width: 1000px;
  height: 1500px;
  background: #08915e;
  position: absolute;
  right: -112px;
  top: -280px;
  z-index: -1;
  border-radius: 100%;
}

#header.hide {
  transform: translateX(-100%);
}

#header.hidden {
  display: none;
}


.close-btn {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 10px;
}


.sidebar {
  width: 400px;
  /*padding-left: 50px;*/
  position:relative;
  z-index: 9000;
}
.sidebar h2 {
  font-size: 24px;
  color: white;
  margin-bottom: 20px;
}

.nav-menu {
  list-style: none;
}

.nav-menu > li {
  position: relative;
  /* margin-bottom: 10px; */
  border-bottom: 1px solid #38a071;
  /* transition: background-color 0.3s ease; */
}

.nav-menu > li:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
}

.nav-menu > li > a {
  text-decoration: none;
  color: white;
  padding: 5px 35px 5px 10px; /* right padding for arrow space */
  display: block;
  position: relative;
}

/* Dropdown arrows aligned right */
.nav-menu > li:has(ul.submenu)::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url(https://greenwoodhigh.edu.in/wp-content/uploads/2021/01/right-arrow.png); 
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* #Nav_menu .menu-item-has-children {
    position: relative;
    background: url(https://greenwoodhigh.edu.in/wp-content/uploads/2021/01/right-arrow.png) no-repeat center right;
    background-size: 24px;
    background-position-x: 95% !important;
} */

/* .nav-menu > li:hover:has(ul.submenu)::after {
  background-image: url('https://cdn-icons-png.flaticon.com/512/32/32195.png');
} */

/* Submenu */
.submenu {
  position: absolute;
  left: 100%;
  /*this two lines of code is responsible for showing the submenu bottom or to the right*/
  top: 0;
  min-width: 250px;
  background: #045f3e;
  display: none;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  list-style: none;
}

.submenu li a {
  color: white;
  padding: 5px 15px;
  border-bottom: 1px solid #38a071;
  display: block;
  text-decoration: none;
}

.submenu li:last-child a {
  border-bottom: none;
}

.submenu li a:hover {
  /* background-color: rgba(255, 255, 255, 0.1); */
  color: #08915e;
}

.nav-menu > li:hover > .submenu {
  display: flex;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  padding-left: 5px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
}

/* Main content */
.main-content {
  margin-left: 250px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .main-content {
    margin-left: 0;
  }

  .submenu {
    position: relative;
    left: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .nav-menu li:hover > .submenu {
    display: none;
  }

  .nav-menu li.active .submenu {
    display: flex;
  }

  .nav-menu li > a::after {
    display: none;
  }
}


.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f0f0f0;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.social-icons img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

#open-btn {
  position: fixed;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 30% 30%, #0ccf8c, #08915e 60%, #066c47 100%);
  color: white;
  border: none;
  font-size: 40px;
  width: 110px;
  height: 110px;
  cursor: pointer;
  z-index: 999;
  border-bottom-right-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transition: opacity 0.3s ease; */
}

.menu-tog {
  margin-top: -30px;
  margin-left: -10px;
}


#open-btn.hidden {
  opacity: 0;
  pointer-events: none;
}




.floating-buttons {
  position: fixed;
  top: 130px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 1000;
  color: white;
}

.floating-buttons-right {
  position: fixed;
  right: 50px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  color: #333;
  background-color: white;
  border-top: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 20px;
  gap: 12px;
  font-family: 'Segoe UI', sans-serif;
  /* magic part → makes the bottom fully rounded */
  border-bottom-left-radius: 9999px;
  border-bottom-right-radius: 9999px;
}


.circle-btn {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 30%, #0ccf8c, #08915e 60%, #066c47 100%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  color: white;
  font-size: 20px;
  border: 1px solid white;
}

.circle-btn:hover {
  transform: scale(1.1);
}

.circle-btn img {
  width: 28px;
  height: 28px;
  filter: brightness(1000%);
}


.emp {
    color: #E62020 !important;
}

.wht {
    color: white !important;
}

.progress-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 999;
    cursor: pointer;
    background: #08915e;
    color: white;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .progress-circle-bg {
    stroke: rgba(255, 255, 255, 0.3);
  }

  .progress-circle {
    stroke: white;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.2s ease;
  }

  .arrow {
    position: absolute;
    font-size: 24px;
    pointer-events: none;
  }

#calendar {
  max-width: 1000px;
  margin: 40px auto;
  padding: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

/* Header styling */
.fc-toolbar-title {
  font-size: 24px;
  font-weight: 600;
  color: #08915e;
}

.fc-button {
  background-color: #0ccf8c !important;
  border: none !important;
  border-radius: 6px !important;
}

.fc-button:hover {
  background-color: #08915e !important;
}

/* Event style */
.fc-event {
  background-color: #0ccf8c;
  border: none;
  padding: 4px;
  border-radius: 4px;
  font-size: 14px;
}

/* Today's date highlight */
.fc-day-today {
  background: #f3fdf9 !important;
  border: 1px solid #0ccf8c;
}

.circle-container {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #08915e;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
  animation: floatUpDown 3s ease-in-out infinite;

  z-index: 1000; /* Ensures it's on top */
}


@keyframes floatUpDown {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-15px); /* Reduced bounce */
  }
}

svg {
  width: 100px;
  height: auto;
}


