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

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f9fa;
  /*New code*/
  /* background-image:
            radial-gradient(#c1c1c1 1px, transparent 1px),
            radial-gradient(#c1c1c1 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px; */
}
header,
footer {
  background-color: #fff;
  text-align: center;
  position: fixed;
  width: 100%;
  left: 0;
}
footer {
  padding-top: 15px;
}

header {
  top: 0;
  border-bottom: 2px solid #ccc;
  z-index: 9999;
}

footer {
  bottom: 0;
  border-top: 2px solid #ccc;
}
.top-header {
  height: auto;
  padding-bottom: 10px;
}
main {
  flex: 1;
  padding: 20px 0px;
  margin: 120px 0px 70px 0px !important;
  overflow-y: hidden; /* Disable vertical scrolling */
}
/*main button start here */
/* new navbar css start here 10-10-2025*/
.header-top {
  position: relative;
  z-index: 1;
  background: radial-gradient(circle at 20% 20%, #003366, #001a33 70%);
  backdrop-filter: blur(6px);
  padding: 10px 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.logo-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, #0033cc 0%, #001a66 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  position: relative;
  box-shadow:
    0 0 30px rgba(0, 123, 255, 0.6),
    0 0 60px rgba(0, 123, 255, 0.3);
}

.logo-wrap img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #fff;
}

.school-info {
  text-align: left;
}

.school-name {
  font-weight: 700;
  font-size: 1.4rem;
  color: #00a8ff;
  margin-bottom: 0;
}
.school-meta {
  color: #cfd8dc;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.director-box {
  background-color: #00f0f1;
  border-radius: 20px;
  padding: 5px 15px 4px 15px;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 240, 241, 0.7);
  animation: glowFlashdirector 2s infinite ease-in-out;
}
.director-box:hover {
  background-color: #0dcaf0;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 240, 241, 0.9);
}
@keyframes glowFlashdirector {
  0% {
    box-shadow:
      0 0 5px rgba(0, 240, 241, 0.4),
      0 0 10px rgba(0, 240, 241, 0.3);
  }
  50% {
    box-shadow:
      0 0 15px rgba(0, 240, 241, 0.8),
      0 0 25px rgba(0, 240, 241, 0.6);
  }
  100% {
    box-shadow:
      0 0 5px rgba(0, 240, 241, 0.4),
      0 0 10px rgba(0, 240, 241, 0.3);
  }
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfd8dc;
  font-size: 0.95rem;
  justify-content: flex-end;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
}

.contact-item i {
  color: #00a8ff;
}
.digital-clock {
  font-family: "Courier New", monospace;
  font-size: 1.1rem;
  font-weight: bold;
  color: #00ffff;
  text-shadow:
    0 0 5px #00ffff,
    0 0 10px #00ffff,
    0 0 20px #00ffff,
    0 0 40px #00ffff;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 1px;
  display: inline-block;
}
.icon-box-navbar i {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 18px;
  transition: 0.3s ease;
  cursor: pointer;
}

#active {
  box-shadow:
    rgba(0, 0, 0, 0.4) 0px 1px 2px,
    rgba(0, 0, 0, 0.3) 0px 3px 2px -15px,
    rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  background-color: #4300ff;
  color: #fff;
  border: none;
}
.navbar-btn nav .dropdown button {
  border: none;
  padding: 6px 10px;
  background-color: #fff;
  color: #787878;
  font-size: 14px;
  letter-spacing: 0.7px;
  border: 0.1px solid #eee;
  margin-left: 6px;
  border-radius: 5px;
  cursor: pointer !important;
}
.navbar-btn nav a button {
  border: none;
  padding: 6px 10px;
  background-color: #fff;
  cursor: pointer !important;
  color: #787878;
  font-size: 14px;
  letter-spacing: 0.7px;
  border: 0.1px solid #eee;
  margin-left: 6px;
  border-radius: 5px;
}
.navbar-btn nav a button:hover,
.navbar-btn nav .dropdown button:hover {
  border: 0.1px solid #091057;
  transition: all 2s;
  cursor: pointer !important;
}
/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button style */
.dropbtn {
  border: none;
  padding: 6px 10px;
  background-color: #fff;
  color: #787878;
  font-size: 14px;
  letter-spacing: 0.7px;
  border: 0.1px solid #eee;
  margin-left: 6px;
  border-radius: 5px;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  margin-left: 5px;
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
}
/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 6px 10px;
  text-decoration: none;
  display: block;
  color: #787878;
  text-align: left;
  font-size: 14px;
  border: 0.1px solid #eee;
  border-radius: 5px;
}
/* Hover effects */
.dropdown-content a:hover {
  border: 0.1px solid #091057;
  transition: all 2s;
}
.dropdown:hover .dropdown-content {
  display: block;
}
/* #profile{
    display: none;
} */
.home-title a {
  text-decoration: none;
  color: #4d4d4d;
}
.home-card {
  height: 100px;
  background-color: #fff;
  margin-top: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
.home-card .home-card-left {
  height: 100px;
  width: 30%;
  float: left;
  display: block;
  text-align: center;
  padding-top: 6.3%;
}
.home-card .home-card-left i {
  color: #ff7601;
  background-color: #ffedf3;
  padding: 13px;
  border-radius: 50%;
  font-size: 30px;
}
.home-card .home-card-right {
  height: 100px;
  width: 70%;
  float: left;
}
.home-card .home-card-right .num {
  padding-right: 25px;
  font-size: 22px;
  font-family: "Exo 2";
  padding-top: 16px;
  text-align: right;
  font-weight: bold;
}
.home-card .home-card-right .title {
  padding-right: 25px;
  letter-spacing: 1px;
  padding-top: 5px;
}
/* .total-print{
    padding-top: 6px;
}
.total-print a{
    color: #4b5563;
    text-decoration: none;
} */
.total-print {
  display: flex;
  align-items: center;
  gap: 15px;
  float: right;
}

.total-print a {
  font-family: "Exo 2";
  color: #4b5563;
  text-decoration: none;
  font-size: 16px;
}

.total-print a i {
  margin-right: 7px;
  color: #00a8ff;
}

.total-print form {
  margin: 0;
}

.total-print button {
  background: #dd0303;
  color: #fff;
  border: none;
  padding: 2px 10px 3px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.total-print button i {
  color: #fff;
}

.total-print button:hover {
  background: #0056b3;
}
.chart-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  /* max-width: 1000px; */
  margin: auto;
  text-align: center;
  margin-top: 15px;
}
.chart-title {
  font-size: 17px;
  margin-bottom: 10px; /* reduce margin so circle is closer */
  color: #333;
  text-align: center;
  font-family: "Exo 2";
}
/* Circle container for percentage */
.percentage-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 0px; /* centered and some space below */
}
.percentage-circle svg {
  transform: rotate(-90deg);
  width: 120px;
  height: 120px;
}
.percentage-circle circle {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
}
.percentage-circle .bg {
  stroke: #eee;
}
.percentage-circle .progress {
  stroke: #00c853;
  stroke-dasharray: 339.292; /* 2 * PI * r (r=54) */
  stroke-dashoffset: 130.2; /* for 61.7% */
  transition: stroke-dashoffset 0.7s ease;
}
.percentage-circle .percentage-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: bold;
  color: #00c853;
  user-select: none;
}
.chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 250px;
  padding: 0 10px;
  margin-bottom: 25px;
  overflow: visible;
  margin-top: -150px;
}
.bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 55px;
  position: relative;
}
.bar {
  width: 100%;
  background: #4caf50;
  border-radius: 8px 8px 0 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: 0.3s;
  color: #000;
  font-size: 12px;
  white-space: nowrap;
  overflow: visible;
}
.bar:hover {
  background: #388e3c;
}

.bar span {
  position: absolute;
  top: -22px;
  background: #fff;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.month {
  font-size: 12px;
  color: #555;
  margin-top: 8px;
}
.bottom-text {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}
.software-porform {
  height: 230px;
  padding-bottom: 20px;
  background-color: #fff;
  margin-top: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center; /* centers content horizontally */
  gap: 10px; /* space between span and circle */
  padding: 20px;
}
.software-porform span {
  font-family: "Exo 2";
}
.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
}
.progress-circle svg {
  transform: rotate(-90deg);
}
.percentage-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: bold;
  color: #00c853;
  user-select: none;
}
.software-porform .payment-btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #4300ff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ff7601;
  color: #fff;
  font-size: 22px;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  animation: borderFlash 1s infinite;
}
@keyframes borderFlash {
  0% {
    border-color: #4300ff;
    box-shadow: 0 0 0px #4300ff;
  }
  50% {
    border-color: #ff00ff;
    box-shadow: 0 0 10px #ff00ff;
  }
  100% {
    border-color: #4300ff;
    box-shadow: 0 0 0px #4300ff;
  }
}
footer p {
  font-size: 14px;
}
@media (max-width: 600px) {
  .navbar-btn nav a button {
    margin-top: 10px;
  }
}
/* @media (max-width: 1350px) {
    .navbar-btn nav .dropdown button {
        font-size: 11px !important;
        font-weight: 500;
    }
    #active{
        font-weight: 500;
        font-size: 11px!important;
    }
   #desk-top button {
        font-size: 11px !important;
        font-weight: 500!important;
    }
    h1.school-name {
        font-size: 17px !important;
    }
    p.school-address{
        font-size: 12px!important;
    } 
    .top-header .top-header-right span{
        font-size: 11px!important;
    }
    .top-header .top-header-right span img{
        height: 30px!important;
        width: 30px!important;
    }
    .top-header .top-header-right input[type="search"]{
        height: 30px!important;
        padding-top: 10px!important;
    }
    .top-header .top-header-right input[type="search"]::placeholder{
        font-size: 12px!important;
    }
    #profile{
        width: 300px!important;
    }
    #profile a{
        font-size: 12px!important;
    }
    #profile button{
        font-size: 12px!important;
    }
} */
@media (max-width: 1440px) {
  .navbar-btn nav a button {
    font-size: 13px !important;
  }
  .school-name {
    font-size: 23px !important;
  }
  .top-header .top-header-left {
    padding-top: 10px !important;
  }
  .top-header .top-header-left a {
    font-size: 14px !important;
  }
  main {
    margin-top: 130px !important;
    padding: 15px;
  }
  .home-card .title {
    font-size: 14px !important;
  }
  .home-card .num {
    font-size: 17px !important;
  }
  .top-header .top-header-right {
    padding-top: 18px !important;
  }
  .top-header .top-header-right span i {
    font-size: 15px !important;
  }
  footer p {
    font-size: 13px !important;
  }
  .software-porform span {
    font-size: 14px !important;
  }
}
@media (max-width: 767.98px) {
  .logo-wrap {
    width: 80px;
    height: 80px;
  }
  .school-name {
    font-size: 1.3rem;
  }
  .school-meta {
    font-size: 0.85rem;
  }
  .contact-item {
    justify-content: center;
  }
}

/*marquee tag css*/
.marquee-container {
  position: relative;
  background: linear-gradient(90deg, #001f3f, #003366);
  padding: 5px 0;
  border-bottom: 2px solid #00ffff;
  box-shadow: 0 0 10px #00ffff;
  border-radius: 20px;
}

.marquee {
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.scroll {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 25s linear infinite;
}

@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.text-glow {
  font-size: 17px;
  font-weight: 600;
  color: #00ffff;
  text-shadow:
    0 0 5px #00ffff,
    0 0 10px #00e5ff,
    0 0 20px #00ccff,
    0 0 40px #00bfff;
}

.diya {
  display: inline-block;
  position: relative;
  top: 6px;
  margin: 0 10px;
  width: 25px;
  height: 15px;
  background: #a0522d;
  border-radius: 0 0 20px 20px;
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.5);
}

.flame {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 20px;
  background: radial-gradient(
    ellipse at bottom,
    #ffff66 0%,
    #ff6600 60%,
    transparent 100%
  );
  border-radius: 50%;
  animation: flameFlicker 0.2s infinite alternate;
}

@keyframes flameFlicker {
  0% {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scaleY(1.3);
    opacity: 0.8;
  }
}

@media (max-width: 600px) {
  .marquee-container {
    display: none !important;
  }
}
/* chat area start*/
.chat-float-btn {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #4300FF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 999999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.chat-notify {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: red;
  border: 2px solid #fff;
}
/* Wrapper */
.chat-wrapper {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 450px;
  max-width: 95%;
  height: 600px;
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
  z-index: 9999;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

/* Header */

.chat-wrapper .chat-header {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-wrapper .chat-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.chat-wrapper .chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.chat-wrapper .chat-header h5 {
  margin: 0;
}
.chat-wrapper .chat-header button {
  border: none;
  background: none;
  color: #fff;
  font-size: 25px;
}

/* Select Area */
.chat-wrapper .chat-select-area {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f7f7ff;
  border-bottom: 1px solid #eee;
}
.chat-wrapper .chat-field {
  width: 100%;
}
.chat-wrapper .chat-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
}
.chat-wrapper .chat-select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: #fff;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
/* Main */
.chat-wrapper .chat-main {
  display: flex;
  height: 100%;
}
/* Users */
/* .chat-users-list {
  width: 32%;
  border-right: 1px solid #eee;
  background: #fafafa;
} */

/* .chat-search {
  padding: 15px;
} */

/* .chat-search input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: #f1f1f1;
  outline: none;
} */

/* .chat-user {
  display: flex;
  gap: 12px;
  padding: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.chat-user:hover,
.chat-user.active {
  background: #ecebff;
}

.user-image {
  font-size: 45px;
  color: #4f46e5;
} */

/* .chat-wrapper .user-content {
  width: 100%;
} */
.chat-wrapper .user-top {
  display: flex;
  justify-content: space-between;
}
.chat-wrapper .user-top h6 {
  margin: 0;
}
.chat-wrapper .user-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}
.chat-wrapper .chat-badge {
  background: #4f46e5;
  color: #fff;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 50px;
}
.chat-wrapper .online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00c853;
}

/* Conversation */
.chat-wrapper .chat-conversation {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Top */
.chat-wrapper .conversation-top {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-wrapper .conversation-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-wrapper .conversation-img {
  font-size: 45px;
  color: #4f46e5;
}
.chat-wrapper .conversation-icons {
  display: flex;
  gap: 18px;
  font-size: 18px;
  color: #555;
  cursor: pointer;
}
/* Messages */
.chat-wrapper .conversation-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f9fafc;
}
.chat-wrapper .message {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 18px;
  margin-bottom: 12px;
  font-size: 14px;
}
.chat-wrapper .message.sent {
  background: #4f46e5;
  color: #fff;
  margin-left: auto;
}
.chat-wrapper .message.received {
  background: #fff;
  border: 1px solid #eee;
}
/* Bottom */
.chat-wrapper .conversation-bottom {
  padding: 15px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
  align-items: center;
}
.chat-wrapper .conversation-bottom input {
  flex: 1;
  border: none;
  background: #f1f1f1;
  border-radius: 14px;
  padding: 14px;
  outline: none;
}
.chat-wrapper .emoji-btn,
.chat-wrapper .attach-btn,
.chat-wrapper .send-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
}

.chat-wrapper .emoji-btn {
  background: #f1f1f1;
}
.chat-wrapper .attach-btn {
  background: #f1f1f1;
}
.chat-wrapper .send-btn {
  background: #4f46e5;
  color: #fff;
}
/* Mobile */
@media (max-width: 768px) {
  .chat-wrapper {
    width: 95%;
    height: 90vh;
    right: 2.5%;
    bottom: 80px;
  }
  .chat-wrapper .chat-main {
    flex-direction: column;
  }
  /* .chat-users-list {
    width: 100%;
    height: 220px;
    overflow-y: auto;
  } */
  .chat-wrapper .chat-conversation {
    width: 100%;
  }
}
/*chat area end */
