﻿:root {
  --primary-color: #1B253B;
  --accent-color: #FDE1A9;
  --text-color: #333;
  --light-bg: #f7f7f7;
   --bg-color: #1B253B;    /* Background color when hovered */
  --main-color: #FDE1A9;  /* Default button background */
  --swiper-theme-color: #ffbc00 !important;
}

a
{
    text-decoration:none;
}

/*========= NEW And Notice Section Style START =========*/
.notice_news {
  /*background: #003262; */
  background: linear-gradient(45deg, #000000, #ef7f1a);
  margin-top: 0;
  padding: 3px 0;
  position: relative;
  text-align: center;
  z-index: 9;
}

.notice_news .new_highlight {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  position: relative;
}

.notice_news .new_highlight:before {
  background: radial-gradient(#fff, #0000);
  content: "";
  height: 100%;
  left: 107%;
  position: absolute;
  top: 0;
  width: 2px;
  z-index: 9;
}
/*========= NEW And Notice Section Style END =========*/


/*========= Main Header Style ==============*/
.header {
    width: 100%;
    background: transparent;
    padding:10px 0;
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.22);
   /* position: absolute; */
    z-index: 11;
    top: 0;
    transition: all 300ms ease-in-out;
}
.mainHeader {
    display: flex;
    justify-content: space-between;
}
.logo {
    width: 293px;
    position: relative;
    min-height: 1px;
    transition: all 300ms ease-in-out;
}
.navi {
    position: relative;
    display: flex;
    z-index: 2;
}
.navi ul {
    margin-bottom: 0;
    display: flex;
}
@media (min-width: 992px) {
    .d-lg-flex {
        display: flex !important;
    }
}
.list-inline {
    padding-left: 0;
    list-style: none;
}
.navi ul li a {
    height: 100%;
    color: #000;
    font: 16px var(--font-bold);
    text-transform: uppercase;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .5rem;
    transition: all 300ms ease-in-out;
}

/*========= Main Header Style END ==============*/



/*======== Navbar Menu Style ========*/
.main-navbar {
  border-top: 1px solid #e4924e;
  padding: 0 20px;
  position: relative;
  top: 16px;
  margin: -16px 0 0 0;
}

@media (max-width:768px) {
  .main-navbar { margin: 0; }
  .school-header .admd { display: none; }
}

.nav-toggle {
  color: black;
  font-size: 24px;
  display: none;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.nav-menu li { position: relative; }

.nav-menu li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  position: relative;
}

.nav-menu li a:hover,
.nav-menu .nav-item:hover > a {
  color: #07134c;
}

.active,
.nav-menu li:hover {
  background-color: #eab04e;
}

/* Dropdown Links Hover */
.dropdown-menu ul li a:hover {
  color: #ffd700;
}

.nav-menu .nav-item a {
  display: block;
  padding: 12px 9px;
  color: #000;
  text-decoration: none;
  position: relative;
}

.nav-menu .nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0%;
  width: 0;
  height: 3px;
  background-color: #1c275a;
  transition: width 0.3s ease;
}

.nav-menu .nav-item:hover > a::after { width: 100%; }

@media (max-width:1000px) {
  .main-navbar .nav-menu .nav-item .contact-dropdown { width: 150px !important; }
}

@media (min-width:1200px) {
  .nav-menu { padding-left: 0; padding-right: 71px; }
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #e9af53;
  min-width: 230px;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-menu li:hover .dropdown-menu { display: block; }

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu ul li {
  padding: 5px 0;
  border-bottom: 1px dotted #fff;
}

.dropdown-menu ul li:last-child { border-bottom: none; }

.dropdown-menu ul li a {
  display: block;
  padding: 18px 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu ul li a:hover {
  background-color: #e3a72f;
  color: #fff;
}

/* Submenu 2 */
.sub-dropdown {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: rgb(0, 100, 0);
  min-width: 220px;
}

.dropdown-menu ul li a { padding: 1px 20px !important; }

.hover-item:hover .sub-dropdown { display: block; }

.sub-dropdown ul li {
  padding: 7px 15px;
  border-bottom: 1px dotted #fff;
}

.sub-dropdown ul li:last-child { border-bottom: none; }

.sub-dropdown ul li a { color: white; }
.sub-dropdown ul li a:hover { color: #b2ff00; }

/* Responsive */
@media (max-width:768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #efba41;
  }

  .nav-menu.active { display: flex; }

  .nav-menu li { width: 100%; text-align: left; }

  .dropdown-menu {
    position: static;
    background: #db9800;
    box-shadow: none;
  }

  .dropdown-menu ul li a { padding-left: 30px; }

  .main-navbar { top: 0; }
  .logoArea img { max-height: 60px; }
}
/*========= Navbar Menu Style END ==========*/

/*========= Home Slider Style ===========*/
 .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
     /* Stylish navigation buttons */
  .swiper-button-next,
  .swiper-button-prev {
    color: #fff;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
  }

  /* Hover effect */
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: linear-gradient(135deg, #f2e69a,#f2e69a);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(242, 230, 154, 0.8);
    color:#000;
  }

  /* Arrow icon customization */
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
  }
  
/*========= Home Slider Style END ============*/

/*========= Home Page School About Style ============*/
.position-relative {
    z-index: 1;
}
.padding
{
    padding: 5rem 0;
}
.overflow-hidden {
    overflow: hidden !important;
}
.HomeAbout_sec
{
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}
.HomeAbout_sec:after
{
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 540px;
    background: url(../IMAGES/SketchImg.jpg) center 0% / cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}
.MKPS_Head {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    opacity: 1;
}
.headingTitle
{
    display: table;
    margin-bottom: 3rem;
}
.mKPS-5
{
    font-size:1.25rem;
}
/*========= Home Page School About Style END ============*/

/*========= Motto And Event With Youtube Style ============*/
.mottoeventyt
{
    /*background:#0C207C; */
    background: linear-gradient(223deg, #24242400, #db9f28);
    
}

/* Section Base */
.school-moto-section {
  width: 100%;
  padding: 100px 0;
  overflow: hidden;
}

.school-bg {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.school-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.school-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

/* Left Content */
.school-text {
  flex: 1;
  min-width: 300px;
  animation: slideInLeft 1s ease-in-out;
}

.school-text h1 {
  font-size: 2.6rem;
  color: #fff;
  margin: 15px 0;
}

.school-text .highlight {
  color: #fff;
}

.school-text p {
  color: #ffffff;
  line-height: 1.7;
  font-size: 1rem;
}

.school-features {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Right Side Video */
.school-video {
  flex: 1;
  min-width: 300px;
  text-align: center;
  animation: slideInRight 1s ease-in-out;
}

.video-wrapper {
  position: relative;
  display: inline-block;
}

.video-thumb {
  border-radius: 10px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Play Button with Wave Animation */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-color);
  color: var(--primary-color);
  font-size: 28px;
  border-radius: 50%;
  padding: 24px 24px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Wave Animation */
.wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background: rgba(253, 225, 169, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: wavePulse 2.5s infinite ease-out;
  z-index: 1;
}

.wave.delay1 {
  animation-delay: 0.6s;
}
.wave.delay2 {
  animation-delay: 1.2s;
}

@keyframes wavePulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 70px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content iframe {
  border: none;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  height: 500px;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

/* Animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.stat-card
{
    border: 1px solid #ffff;
    padding: 7px !important;
    border-radius: 28px;
}
/*========= Motto And Event With Youtube Style END ============*/



/* Infrastructure */
/* ========== Base Section Styling ========== */
.infrastructure-section {
  background: url(../images/abt-bg.png) center/cover no-repeat;
  position: relative;
  z-index: 1;
}

.infra-heading h2 {
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.infra-heading h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--theme-color, #0078d7);
  margin: 12px auto 0;
  border-radius: 2px;
}

.infra-heading p {
  margin: 15px 0 25px;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.infra-btn {
  background: var(--theme-color, #0078d7);
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.infra-btn:hover {
  background: #005fa3;
}

/* ========== Cube Grid ========== */
.infra-grid {
  margin-top: 40px;
}

.infra-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.infra-cube {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.infra-cube img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills cube properly */
  transition: transform 0.6s ease;
}

.infra-cube:hover img {
  transform: scale(1.1); /* zoom effect */
}

.infra-cube p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  z-index: 10;
  transition: all 0.3s ease;
}

.infra-cube::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.5));
  z-index: 5;
}

/* Hover shadow lift */
.infra-cube:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .infra-heading h2 {
    font-size: 2rem;
  }
  .infra-cube p {
    font-size: 0.9rem;
  }
}
/* ========== Infrastructure END========== */

/* ========== Home Principal Style ========== */
.principal-section {
  width: 100%;
  padding: 60px 0;
}

.principal-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.principal-content .principal-box {
  position: relative;
  background: #fff;
  padding: 20px;
}

.principal-content .principal-box::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12rem;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  left: -10px;
  top: -40px;
  z-index: 0;
}

.principal-content h4 {
  position: relative;
  z-index: 1;
}

.principal-content p {
  position: relative;
  z-index: 1;
  color: #444;
  line-height: 1.7;
}

.btn-primary {
  background-color: #0d6efd;
  border: none;
}

.btn-primary:hover {
  background-color: #0b5ed7;
}


/* ========== Home Principal Style END========== */

/*========= Academic Section START =========*/
#gallery {
  /*background:#f6efd1; 
   background: linear-gradient(135deg, #fffb8245, #004080ed); */
   background:url(../IMAGES/pattern.png);
  padding: 80px 0;
  color: #fff;
  position: relative;
}

.owl-carousel .item {
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.owl-carousel .item:hover {
  transform: scale(1.03);
}

.owl-carousel .item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  
}

.owl-prev-btn,
.owl-next-btn {
  border: 1px solid #000;
  background: rgba(255, 255, 255, 0.1);
  color: #000;
  transition: 0.3s;
}

.owl-prev-btn:hover,
.owl-next-btn:hover {
  background: #fff;
  color: #001f3f;
}

.owl-dots {
  margin-top: 20px;
}

.owl-dot span {
  width: 12px;
  height: 12px;
  background: #ddd !important;
  border-radius: 50%;
  transition: 0.3s;
}

.owl-dot.active span {
  background: #f9b208 !important;
  transform: scale(1.2);
}
/*========= Academic Section END =========*/

/* Read More Button */
.read_more {
  background: #fecc00;
  color: #000;
  padding: 4px 23px 4px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  line-height: 32px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-weight: 500;
  font-size: 15px;
  min-width: 160px;
  transition: color 0.3s ease;
}

.read_more::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: #015c39;
  z-index: -1;
  transition: height 0.4s ease-in-out;
  border-radius: 45px;
}

.read_more:hover::after {
  height: 100%;
}

.read_more:hover {
  color: #fff;
}

/* Icon Circle */
.mpms_btn {
  width: 33px;
  height: 33px;
  background: #d3aa00;
  border-radius: 50%;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Arrow Icon Animation */
.arrow-icon {
  color: #fff;
  font-size: 14px;
  animation: bounceArrow 1.2s infinite;
}

@keyframes bounceArrow {
  0% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(5px); opacity: 0.6; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .desk-card {
    align-items: center !important;
    text-align: center;
  }

  .desk-img {
    margin-right: 0 !important;
  }

  .desk-content {
    text-align: center;
  }
}

/**==== Director & Principal Desk Style END ====**/

/**======== Read More Button Style ===========**/
.readmore-btn {
    position: relative;
    display: inline-block;
    padding: 5px 5px;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
   /* background: #fde1a9; */
   border:3px solid #ffca00 !important; 
   border-radius:29px;
    color: #000;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.readmore-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0%;
  background: #ffca00;
  transition: 0.3s ease-in-out;
  z-index: 0;
}

.readmore-btn:hover::after {
  height: 93%;
}

.readmore-btn .description {
  position: relative;
  z-index: 2;
}

.readmore-btn:hover .description {
  animation: fadeInColor 0.4s ease-in forwards;
}

@keyframes fadeInColor {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    color: #fff;
  }
}

/* Arrow hover animation */
.readmore-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.readmore-btn:hover i {
  transform: translateX(6px);
}

/**======== Read More Button Style END ===========**/

/**** Edu Category Style ****/
  .cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    padding: 6px;
}

.card_imtem
{
    background-color: #ffffff00;
}

.card {
  position: relative;
  width: 330px !important;
  height: 323px !important;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius:0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
}

.card .content {
  position: relative;
  width: 100%;
  height: 100%;
}

.card .front img {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.card .front h2 {
  background-color: #000000aa;
  color: white !important;
  font-size: 16px;
  line-height: 2.1;
  font-weight: 500;
  height: 38px;
  margin-top: -9px;
  position: relative;
  z-index: 9;
  top: -31px;
  text-align: center;
}

.card:hover .front h2 {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}


.card .back {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:rgba(227, 167, 47,0.8) !important;
  color: white;
  transition: top 0.5s ease;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.card:hover .back {
  top: 0;
}

.back.from-bottom h2 {
  padding-top: 60px;
  font-size: 22px;
  margin-bottom: 10px;
}

.back.from-bottom .des {
  font-size: 16px;
  line-height: 26px;
  padding: 10px 0;
  color:#fff;
}

.hoverbutton {
  background-color: #fff;
  color: #000;
  padding: 10px 26px;
  font-size: 16px;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.hoverbutton:hover {
  background-color: #974377;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .card {
        width: 100% !important;
        height: 319px !important;
        border-radius: 0;
  }
}
/**** Edu Category END ****/


/**=== Button Style ===**/
.read_more {
    background: #1e1e60;
    color: #fff;
    padding: 4px 23px 4px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    line-height: 32px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 500;
    font-size: 15px;
    min-width: 160px;
    transition: color 0.3s ease;
}

.read_more::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: #cf3a2f;
    z-index: -1;
    transition: height 0.4s ease-in-out;
    border-radius: 45px;
}

.read_more:hover::after {
    height: 100%;
}

.read_more:hover {
    color: #fff;
}

.mpms_btn {
    width: 33px;
    height: 33px;
    background: #d3aa00;
    border-radius: 50%;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Font Awesome Arrow Style */
.arrow-icon {
    color: #fff;
    font-size: 14px;
    animation: bounceArrow 1.2s infinite;
}

@keyframes bounceArrow {
    0% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 0.6; }
    100% { transform: translateX(0); opacity: 1; }
}
/**=== Burron Style END ===**/

/**=== Footer Section  ===**/
.footer_sec
{
    background: linear-gradient(rgba(244, 237, 143, 0.99), rgba(0, 39, 76, 0.8)),url(../IMAGES/HomeSlider/1.jpg);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*padding: 70px 20px 0 0;*/
}
.footer_sec .menu_cont .mnsec a:hover
{
    transform:scale(1.02);
    padding-left:10px;
    transition:0.5s ease;
}
/** Footer Social Content **/
.socialL
{
    display:flex;
    list-style:none;
}

.socialL li
{
    padding:0 15px;
}

.socialL li a i
{
    font-size:20px;
}

@media(min-width:992px)
{
    .socialL li
    {
        padding:0 30px;
    }
}

.bord_prm
{
    border-color:#ef7f1a !important;
}

/** Footer Social Content END **/
/** Back To Top Style **/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

/** Back To Top Style END **/

/**=== Footer Section END ===**/

.school-text i
{
    color:#ffffff;
}
.school-text h1
{
    color:#ffffff;
}
.school-text h4
{
    color:#ffffff;
}
.school-text p
{
    color:#ffffff;
}

@media(max-width:768px)
{
    .school-text i
{
    color:#454444;
}
.school-text h1
{
    color:#454444;
}
.school-text h4
{
    color:#454444;
}
.school-text p
{
    color:#454444;
}
}





