* {
    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;
}
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: 125px 0px 100px 0px!important; /* Prevent overlap with fixed header and footer */
    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;
    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: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
  }

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

  .school-name {
    font-weight: 700;
    font-size: 1.4rem;
    color: #00a8ff;
    text-transform: uppercase;
    margin-bottom: 0;
  }

  .school-meta {
    color: #cfd8dc;
    font-size: 0.9rem;
    margin-bottom: 2px;
  }

  .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;
}
.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);
  }
}
.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;
    }

#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;
    }
  }