@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Fredoka:wght@300..700&display=swap');

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

::selection {
  background-color: #ff8a8a;
  color: black;
  box-shadow: 2px 2px 10px white;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
}

p,
h5,
h6,
a,
span,
h4,
button {
  font-family: "Roboto", sans-serif;
}


h1,
h2,
h3 {
  font-family: "Fredoka", sans-serif;
}

p {
  margin: 0px !important;
  font-size: 18px;
}

li {
  font-size: 15px;
}

@media (max-width: 1366px) {
  li {
    font-size: 13px;
    /* Smaller size for 1366px or smaller screens */
  }

  .font-view-size {
    font-size: 12px;
  }
}


.top-header {
  background-color: #f70102;
  padding: 14px 0px;
}


.cstm-top-icon {
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: .5s;
}

.header-left {
  float: left;
}

.header-left a {
  text-decoration: none;
}

.header-left i {
  font-size: 20px;
  transition: 0.1s;
}

.header-left i:hover {
  color: #fda31b;
  font-size: 20px;
  cursor: pointer;
  transform: scale(1.2) !important;
}

.header-right {
  float: right;
}

.header-right a:hover {
  color: #fda31b !important;
}


/* navbar custom css  */
.page-header {
  transition: all 0.3s ease-in-out;
}

/* Style active nav links and dropdown items */

/* Style when scrolling */
.header-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  /* Light background with opacity */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Add shadow */
}

/* header scrool animation start */
.page-header {
  /* position: absolute; */
  top: auto;
  right: 0;
  left: 0;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.page-header.is-sticky {
  position: fixed;
  top: 0;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  animation: slideDown 0.35s ease-out !important;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* header scrool animation end */



.cstm-nav {
  margin-left: 570px;
}


.cstm-nav li a:hover {
  color: #f70102;
}

.nav-home {
  font-weight: 500 !important;
}

.nav-home:hover {
  color: #f70102 !important;
}

.nav-home.active {
  color: #f70102 !important;
}

.dropdown-item:hover {
  color: #fff !important;
  background-color: #f70102;
}

/* hero section stART  */

.logo-name {
  font-size: 14px;
  color: #f70102;
}

/* carousel section start  */
.owl-carousel .item img {
  max-height: 590px;
  width: 100%;
  object-fit: cover;
}

.nav-item .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  border-radius: 8px !important;
  border: none;
  background-color: #fff;
}

.dropdown-item {
  padding: 10px;
  font-weight: 500;
}

.dropdown-item:active {
  background-color: #f70102;
}

.dropdown-menu:active,
.nav-link.active {
  color: red;
}


.carousel-text p:first-child {
  color: #fda31b;
  font-size: 16px;
}

.carousel-text h1 {
  font-size: 44px;
  margin: 10px 0px;
}

.owl-prev {
  color: white !important;
  font-size: 80px !important;
  position: absolute;
  left: 50px;
  transition: 0.3s;
  top: 240px;
}

.owl-next {
  color: #fff !important;
  font-size: 80px !important;
  position: absolute;
  right: 50px;
  top: 240px;
  transition: 0.3s;
}

.owl-next:hover,
.owl-prev:hover {
  background-color: rgba(255, 255, 255, 0) !important;
  color: #f70102 !important;
}

.owl-theme .owl-dots .owl-dot span {
  width: 32px !important;
  height: 6px !important;
  transition: background-color 0.3s ease, transform 0.3s ease !important;
}

.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #f70102 !important;
}

.owl-theme .owl-dots .owl-dot.active span {
  background-color: #f70102 !important;
  transform: scale(1.2);
}

.owl-carousel .item {
  position: relative;
  overflow: hidden;
}

.owl-carousel .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.owl-carousel .item img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}

.item {
  position: relative;
}

.item img {
  width: 100%;
  height: auto;
}

.carousel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  /* Text color */
  text-align: center;
  padding: 20px;
  z-index: 2;
  border-radius: 10px;
  /* Optional: rounded corners */

}

.carousel-text h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.carousel-text p {
  font-size: 1rem;
  margin: 0;
}

/* carousel section css end  */


/* about section start  */
.about-margin {
  margin: 100px 0px !important;
}

.about_1 {
  border-radius: 30px;
  width: 520px;
  object-fit: cover;
  height: 500px;
}

.about_2 {
  width: 270px;
  height: 270px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: 200px;
  border: 4px solid white;
}

.about_content p:first-child,
.about_content i {
  color: #f70102;
}

/* about section css end  */

/* card section css start  */

.cstm-card-icon {
  font-size: 50px;
  color: #f70102;
  margin-bottom: 18px;
}


.cstm-card h5 {
  text-align: center;
  font-weight: 600;
  line-height: 25px;
  font-size: 20px;
  margin-top: 20px;
}

.box {
  transform: translate(00%, 0%);
}

.box .front {
  background-color: white;
  box-shadow: 2px 2px 20px #a6a6a6;
  margin-top: 15px;
  border-radius: 10px;
  padding: 60px 30px;
  transition: all 0.3s ease 0s;
  backface-visibility: hidden;
  transform: perspective(1000px) rotateY(0deg);
  transition: 1s;
}

.box:hover .front {
  transform: perspective(1000px) rotateY(180deg);
}

.back p {
  font-size: 16px;
}

.box .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fda31b;
  color: white;
  backface-visibility: hidden;
  transform: perspective(1000px) rotateY(-180deg);
  transition: 1s;
  box-shadow: 2px 2px 20px #a6a6a6;
  border-radius: 10px;
  padding: 30px;
  height: 220px;
}

.box:hover .back {
  transform: perspective(1000px) rotateY(0deg);
}


/* principal_section css start  */
.principal_sec {
  margin-top: 50px;
  background-color: #fffbf4 !important;
  padding: 90px 0px;
}

.prasident_sec {
  background-color: #fff4f4 !important;
  padding: 90px 0px;
}

.principal_massage h1 {
  margin-top: 10px;
  margin-bottom: 30px;
}

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

.prasident_title {
  margin-bottom: 50px;
}

/* principal_section css end  */


/* counter css start  */
.counter-sec {
  position: relative;
  background-image: url("../img/School-2.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  /* Ensures pseudo-element doesn't overflow */
  background-attachment: fixed;
}

.counter-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Overlay color and opacity */
  z-index: 1;
  /* Ensures overlay is above the background */
}

.counter-box {
  position: relative;
  z-index: 2;
  /* Ensures content appears above the overlay */
  display: block;
  padding: 90px 20px 90px;
  text-align: center;
  transition: 0.6s;
}

.counter-box p {
  margin: 5px 0 0;
  padding: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.counter-box i {
  font-size: 60px;
  margin: 0 0 15px;
  color: #9e9e9e;
}

.counter {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 28px;
}

.colored span {
  font-size: 60px;
  margin-bottom: 20px;
}

.colored p {
  font-size: 24px;
}

/* counter css end  */


/* offer css start  */
.offer_bg {
  background-image: url("../img/slider-2.jpeg") !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  margin-top: 150px;
}

.admission_box {
  height: auto;
  width: 500px;
  float: right;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  position: relative;
  color: white;
}

.admission_box_border {
  width: 484px;
  height: 584px;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 100px 50px;
  border: 8px double #fff;
}


/* offer css end  */


/* testimonial css start  */


.testimonial-section {
  padding-top: 82px;
  padding-bottom: 50px;
  height: 700px !important;
  margin-top: 100px;
}

.swiper {
  width: 100%;
  height: 100%;
  margin: 0px auto;
}

.swiper-slide {
  text-align: center;
  border-radius: 40px;
  padding: 0px 23px;
  border: 2px solid #fda31b;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: 0.4s;
}


.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: #fda31b;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  display: none;
}

.swiper-pagination-fraction .swiper-pagination-bullet-active {
  background: #fda31b;
}

.swiper.testimonial-wrapper {
  padding-bottom: 60px;
}

.testimonial-items {
  height: 430px !important;
}

.testimonial-items .testimonial-text {
  text-align: center;
  max-width: 330px;
  margin-bottom: 45px;
  overflow: hidden;
}

.testimonial-items .testimonial-title {
  color: #fda31b;
  text-align: center;
  font-size: 22px;
  margin-bottom: 35px;
  position: relative;
}

.testimonial-items .testimonial-title::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 13px;
  width: 20px;
  height: 1px;
  background-color: #fda31b;
}

.testimonial-img {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .section-title::before,
  .section-title::after {
    width: 141px;
  }
}

/* testimonial css end  */


/* footer css start  */
.footer-bg {
  background-color: #222;
  color: white;
  padding: 100px 10px;
}


.footer-bg a {
  color: white;
  text-decoration: none;
}

.footer-bg li {
  list-style-type: none;
}

.footer-bg ul {
  padding-left: 0px !important;
}

.footer_cstm_icon {
  background-color: #333;
  padding: 10px;
  color: #fff;
  transition: 0.4s;
  transform-origin: right;
  border-radius: 4px;
}

.footer_cstm_icon:hover {
  background-color: #fda31b;
  color: white;
  transform: scale(1.05);
}

.foote_uselink {
  transition: 0.2s;
}

.foote_uselink:hover {
  border-left: 2px solid #fda31b;
  color: #fda31b;
  padding-left: 14px;
}

.footer_img img {
  border-radius: 6px;
}

.copy_right {
  background-color: #f70102;
  padding: 20px 0px;
  color: white;
  text-align: center;
}

.Footer_name a {
  transition: 0.4s;
  color: white;
  text-decoration: none;
}

.Footer_name a:hover {
  color: #fda31b;
}

.cstm-hover-address a:hover {
  color: #fda31b !important;
}

.cstm-hover-address i {
  color: #fda31b;
}

.cstm-hover-address:hover {
  color: #fda31b;
  cursor: pointer;
  transition: 0.3s ease-in;
}

.cstm-hover-address:hover i {
  color: #fff;
}

/* footer css end  */


/* ********************************contact us page css start************************************  */
.contact_margin {
  margin-top: 100px;
  margin-bottom: 100px;
  background-color: white;
  box-shadow: 4px 4px 20px #9e9e9e;
  border-radius: 30px;
}

.contact_img {
  position: relative;
  padding-left: 20px;
}

.row>* {
  padding-left: 20px;
}

.contact_img::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 100%;
  background: #f70102;
  border-radius: 20px 0 0 20px;
  clip-path: polygon(100% 0, 20% 50%, 100% 100%, 0 100%, 0 0);
  z-index: 1;
}

.form-control:focus {
  box-shadow: none;
}

.contact_img img {
  width: 100%;
  clip-path: polygon(100% 0, 100% 100%, 10% 100%, 0 50%, 10% 0);
}

.form_input {
  padding-left: 15px;
  margin-top: 30px;
}

.form_input input,
textarea {
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid #efefef;
  font-family: "Roboto", serif;
  padding-left: 15px;
  width: 100%;
  outline-color: #fda31b;
  resize: none;
}

.form_input label {
  font-family: "Roboto", serif;
  margin-bottom: 7px;

}

.form_input input:focus {
  outline: none;
  border: 2px solid #fda31b !important;
}

.btn1 {
  font-size: 18px;
  font-weight: bold;
  width: 200px;
  height: 50px;
  border: 2PX solid #f70102;
  background-color: WHITE;
  color: #000;
  border-radius: 8PX;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: 0.5 all ease;
  margin-top: 30px;
  margin-left: 15px;
}

/* btn1 custom css  */
.btn1::before {
  content: '';
  height: 100%;
  position: absolute;
  background-color: #f70102;
  width: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  transform: translatey(102%);
  transition: all 0.5s ease;
}

.btn1:hover::before {
  transform: translateX(0%);
}

.btn1:hover {
  color: white;
  border-color: white;
}


/* ********************************contact us page css end************************************  */


/* ********************************history us page css end************************************  */
.histry_margin {
  margin: 100px 0px;
}

.histry_margin h1 {
  margin: 0px 0px 20px 0px;
}

.histry_margin p {
  line-height: 34px;
}


/* ********************************history us page css end************************************  */


/* ********************************aim us page css start************************************  */
.aim_content {
  margin: 100px 0px;
}

/* ********************************aim us page css end************************************  */


/* ********************************form us page css start************************************  */
.form-download-section {
  text-align: center;
  padding: 20px;
  border: 1px solid #a6a6a6;
  border-radius: 5px;
  max-width: 1000px;
  margin: 20px auto;
}

.form-download-section h2 {
  color: #f70102;
  margin-bottom: 10px;
}

.admission-form-container {
  max-width: 500px;
  margin: 30px auto;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #f70102;
}

.admission-form-header {
  background: #f70102;
  color: white;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.admission-form-control,
.admission-form-select {
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 10px;
}

.admission-form-control:focus,
.admission-form-select:focus {
  border-color: #f70102 !important;
}

.admission-btn-submit {
  background: #f70102;
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: 0.3s;
}

.admission-btn-submit:hover {
  background: #c60002;
  color: white;
  box-shadow: 0px 0px 8px #6f6f6f;
}


/* ********************************form us page css end************************************  */


/***************** Mandatory Disclosure page css start  *****************/
.table {
  font-family: "Roboto", serif;
}

.heading-box {
  background-color: #f70102;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 40px;
}

.table tr th {
  margin-top: 50px;
  background-color: #f70102 !important;
  padding: 20px 0px;
  color: white;
}

.nav-carousel-cstm {
  color: red !important;
}

.table_margin {
  margin: 20px 0px !important;
}

.modal-content {
  background: transparent;
  border: none;
}

.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 80%;
  max-width: 900px;
  background: transparent !important;
  border-radius: 10px;
  overflow: hidden;
  padding: 50px 0px;
}

/***************** Mandatory Disclosure page css end  *****************/


/***************** scholarship page css start  *****************/
.scholarship_margin {
  margin: 80px 0px;
}

.scholarship_margin h1 {
  margin: 0px 0px 20px 0px;
}

/***************** scholarship page css end **************** */


/* Table Styling  start*/
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
}

th,
td {
  border: 1px solid #000;
  padding: 8px 12px;
}

th {
  font-weight: bold;
}

/* Table Styling end */

/***************** School managing committee start *****************/
.teacher_details {
  margin-top: 100px;
  margin-bottom: 40px;
  text-align: center;

}

.pdf-viewer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  height: 600px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 100px;
}

.pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/***************** School managing committee end *****************/


/***************** faculty page css start  *****************/

.thumbnail {
  cursor: pointer;
  transition: transform 0.2s;
}

.thumbnail:hover {
  transform: scale(1.05);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 80%;
  max-width: 900px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.modal-content iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100vw;
  height: 80vh;
}



/* **************** faculty page css end  **************** */

/* ****************Book list page css start *****************  */
.book_dtls_heading {
  text-align: center;
  margin: 100px 0px 40px 0px;
}

.departments_hd {
  margin: 100px 0px 40px 0px;
}

table,
th,
td {
  font-family: "Roboto", serif;
  padding: 12px 18px;
}

/* ****************Book list page css end *****************  */


/* ****************result page css start *****************  */
.reslut_sec {
  margin: 60px 0px;
}


/* ****************result page css end *****************  */


/* hero_page css start  */
.hero_img {
  background-image: url("../img/school-5.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 190px 0px 100px 0px;
  position: relative;
}

.hero_img::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero_img * {
  position: relative;
  z-index: 2;
}

.hero_text h1 {
  font-size: 50px;
  color: white;
  font-weight: 800;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.hero_text p a,
i {
  color: white;
  text-align: center;
  text-decoration: none;
}

.hero_text p {
  color: #fda31b;
  text-align: center;
}

/* hero_page css start  */


/* socil icon css */
.side_button {
  position: fixed;
  z-index: 10;
  top: 200px;
  transition: 0.5s;
}

.facebook,
.youtube,
.instagram {
  padding: 10px 16px;
  font-size: 30px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  width: 60px;
  transition: width 0.3s ease;
}

.instagram {
  background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

.facebook {
  background-color: #2c80d3;
}

.youtube {
  background-color: #ff0000;
}

.main-icon {
  color: white;
}

.hover-text {
  display: none;
  font-size: 16px;
  color: white;
  white-space: nowrap;
}

.instagram:hover {
  width: 180px;
}

.facebook:hover {
  width: 180px;
}

.youtube:hover {
  width: 180px;
}

.instagram:hover,
.facebook:hover,
.youtube:hover {
  font-size: 30px;
}

.instagram:hover .hover-text,
.facebook:hover .hover-text,
.youtube:hover .hover-text {
  display: inline;
  font-size: 22px;
  text-decoration: none;
}

.instagram:hover .main-icon,
.facebook:hover .main-icon,
.youtube:hover .main-icon {
  display: none;
}

/* socil icon end */


/* backto top button  */
#button {
  display: inline-block;
  background-color: #fda31b;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s,
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

#button:hover {
  cursor: pointer;
  background-color: #333;
}

#button:active {
  background-color: #555;
}

#button.show {
  opacity: 1;
  visibility: visible;
}

/* backto top button end   */


/* Button 3 Start  */
.main_btn {
  font-size: 16px;
  font-weight: 600;
  width: 140px;
  height: 50px;
  border: 2PX solid white;
  background-color: white;
  color: white;
  border-radius: 8PX;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: 0.5 all ease;
}

.main_btn::before {
  content: '';
  height: 100%;
  position: absolute;
  background-color: rgb(247, 1, 2);
  width: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  transform: translateX(-49%);
  transition: all 0.5s ease;
}

.main_btn:hover::before {
  transform: translateX(-100%);
}

.main_btn::after {
  content: '';
  height: 100%;
  position: absolute;
  background-color: rgb(247, 1, 2);
  width: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  transform: translateX(50%);
  transition: all 0.5s ease;
}

.main_btn:hover::after {
  transform: translateX(100%);
}

.main_btn:hover {
  color: rgb(247, 1, 2);
  border: 3px solid rgb(247, 1, 2);
}

/* main_btn end  */

@media only screen and (max-width: 426px) {

  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next {
    display: none;
  }

  .top-header {
    display: none;
  }

  .carousel-text p {
    width: 400px;
  }

  .about_1 {
    border-radius: 30px;
    width: 370px;
    object-fit: cover;
    height: 500px;
  }

  .about_2 {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 200px;
    border: 4px solid white;
  }

  .about_content {
    margin-top: 50px;
  }

  .admission_box_border {
    width: 284px;
    height: 384px;
    padding: 30px 20px;
  }

  .admission_box {
    height: 400px;
    width: 300px;
    margin-top: -45px;
  }

  .admission_box_border h1 {
    color: #f70102;
    font-size: 22px;
  }

  .admission_box_border p {
    font-size: 16px;
  }

  .footer-social {
    margin-bottom: 20px !important;
  }

  .carousel-text h1 {
    font-size: 20px;
  }

  .carousel-text p {
    font-size: 14px !important;
  }

  p {
    font-size: 16px;
  }

  .testimonial-items {
    height: 350px !important;
  }

  .section-title::before,
  .section-title::after {
    content: "";
    position: absolute;
    left: 5%;
    top: 24px;
    width: 45px;
    height: 2px;
    background-color: #fda31b;
  }

  .section-title::after {
    left: unset;
    right: 5%;
  }

  .side_button {
    position: fixed;
    z-index: 10;
    top: 300px;
    right: 0;
    transition: 0.5s;
  }

  .instagram,
  .facebook,
  .youtube {
    border-radius: 0px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
  }

  .president_img {
    width: 290px;
  }
}

@media only screen and (max-width: 768px) {
  .admission_box {
    height: 450px;
    width: 350px;
    margin-top: -45px;
  }

  .admission_box_border {
    width: 334px;
    height: 434px;
    padding: 50px 20px;
  }

  .admission_box_border h1 {
    font-size: 22px;
  }

  .admission_box_border p {
    font-size: 16px;
  }

  .section-title::after {
    width: 40px;
  }

  .section-title::before {
    width: 40px;
  }
}

@media only screen and (max-width: 1024px) {
  .admission_box {
    height: 467px;
    width: 350px;
    margin-top: -45px;
  }

  .admission_box_border {
    width: 334px;
    height: 450px;
    padding: 50px 20px;
  }

  .admission_box_border h1 {
    font-size: 22px;
  }

  .admission_box_border p {
    font-size: 16px;
  }

  .section-title::after {
    width: 40px;
  }

  .section-title::before {
    width: 40px;
  }

  .about_1 {
    border-radius: 30px;
    width: 420px;
    object-fit: cover;
    height: 500px;
  }

  .about_2 {
    width: 270px;
    height: 270px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 200px;
    margin-left: -50px;
    border: 4px solid white;
  }
}



/* pop up css start  */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.popup-content {
  background: white;
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.popup-header {
  font-size: 1.5rem;
  font-weight: bold;
}

.popup-body {
  font-size: 1rem;
  margin: 10px 0;
}

.popup-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
}

@media (max-width: 576px) {
  .popup-header {
    font-size: 1.25rem;
  }
}

/* pop up css end */

/* gallery page css start  */
.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 20px 0px;
  text-align: center;
}

.property-wrapper {
  text-align: center;
  padding: 20px 0;
  height: 50%;
}

.property-item {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% / 3);
  padding: 0 7px;
}

.property-item a {
  display: block;
  position: relative;
}

.property-slide {
  padding: 10px 0 0;
}

.property-item .property-img:before {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background: rgba(153, 126, 67, 0.3);
  opacity: 0;
  outline: 1px solid #ffffff;
  outline-offset: -10px;
}

.property-item .property-img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  background: #c600034f;
}

.property-img {
  position: relative;
}

.property-img img {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.property-item:hover .property-img:before,
.property-item:hover .property-img:after {
  opacity: 1;
}

/* gallery page css end */

/* news section css start */
.news_sec {
  margin: 70px 0px;
}

.news_img img {
  border: 3px solid #555;
  margin-bottom: 20px;
}

/* news section css end */

/* Infrastructure section css Start */

.class-room h4,
.math-lab h4,
.Library-room h4,
.school-area h4,
.science-lab h4,
.school-ground h4 {
  font-size: 1.6rem;
  font-weight: 500;
}

.class-room img,
.math-lab img,
.Library-room img,
.science-lab img,
.school-area img,
.school-ground img {
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.class-room img:hover,
.math-lab img:hover,
.Library-room img:hover,
.science-lab img:hover,
.school-area img:hover,
.school-ground img:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Infrastructure section css End */

/* Other facilities section css start */

.facilities {
  /* background-color: #f5f7fa; */
  padding: 60px 20px;
}

.facilities h2 {
  color: #2b2d42;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.facility-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.facility-card i {
  font-size: 3rem;
  /* color: #4CAF50;   */
  color: rgb(247, 1, 2);
  margin-bottom: 15px;
}

.facility-card h4 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.facility-card p {
  color: #666;
  font-size: 1rem;
}

/* Other facilities section css end */

/* notice page css start  */
.flip-card-container {
  width: 300px;
  height: 460px;
  perspective: 1000px;
  margin: auto;
}

.flip-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card-container:hover .flip-card {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flip-card-front {
  background-size: cover;
  background-position: center;
}

.flip-card-back {
  background-color: #c60002;
  color: white;
  padding: 20px;
  transform: rotateY(180deg);
}

.flip-card-back p {
  font-size: 16px;
}

/* notice page css end  */