/* Sticky nav css  */
.issticky {
  /* overflow: hidden; */
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* sub menue  */
.sub-dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  padding: 12px;
  width: 252px;
  left: 100%;
  top: 0;
}
.sub-dropdown-menu a {
  color: #084e30;
}

.sub-dropdown-toggle:hover + .sub-dropdown-menu, /* Use adjacent sibling selector */
  .sub-dropdown-menu:hover {
  /* To keep menu open while hovering over it */
  display: block;
}

/* Service area banner bottom  */
.service1-inner-area {
  position: absolute;
  bottom: 0px;
  z-index: 2;
  width: 100%;
  font-size: 15px;
  color: #fff;
}
.service1-wrapper {
  background: #dcc346d6;
  padding: 15px 0;
}
.service-box-content h3 a {
  color: #084e30;
}

/* Notice area index  */
/* Blink css  */
.blink {
  height: 24px; /* Adjust the height as needed */
  animation: blink 1s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* Index Gallery  */

.photos-grid-container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-gap: 0;
  align-items: start;
}
@media (max-width: 580px) {
  .photos-grid-container {
    grid-template-columns: 1fr;
  }
}
.photos-grid-container .img-box {
  border: 1px solid #ffffff;
  position: relative;
}
.photos-grid-container .img-box:hover .transparent-box {
  background-color: rgba(0, 0, 0, 0.6);
}
.photos-grid-container .img-box:hover .caption {
  transform: translateY(-5px);
}
.photos-grid-container img {
  max-width: 100%;
  display: block;
  height: 100%;
}
.photos-grid-container .caption {
  color: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 1.5rem;
}
.photos-grid-container .transparent-box {
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photos-grid-container .main-photo {
  grid-row: 1;
  grid-column: 1;
}
.photos-grid-container .sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 0em;
}
.photos-grid-container .sub:nth-child(0) {
  grid-column: 1;
  grid-row: 1;
}
.photos-grid-container .sub:nth-child(1) {
  grid-column: 2;
  grid-row: 1;
}
.photos-grid-container .sub:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.photos-grid-container .sub:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.hide-element {
  border: 0;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* index client section  */
.clients-logo .item {
  padding: 10px;
}
.row-reverse {
  display: flex;
  flex-direction: row-reverse; /* Reverses the order of flex items along the main axis */
}
.bg-f4f3f3 {
  background: #f4f3f3;
}
.mv-card {
  padding: 20px;
  border: 7px;
  margin-bottom: 10px;
}

@media screen and (min-width: 1280px) {
  .container {
    margin: 0 auto;
    width: 1250px;
  }
}
/* Side bar  */
.sidebar {
  background: #ddd;
  padding: 10px;
  border-radius: 7px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.sidebar2 {
  background: transparent;
  padding: 10px;
  border-radius: 7px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.sidebar3 {
  background: #ddd;
  padding: 10px;
  border-radius: 7px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.sidebar-notice {
  background-color: transparent;
  color: #dcc346;
}
.sidebar-notice:hover {
  background-color: #dcc346;
  color: #fff;
}
/* first Nav-bar  */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  animation: marquee 20s linear infinite;
}

.marquee:hover {
  animation-play-state: paused; /* Pause animation on hover */
}

.marquee p {
  color: #fff;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* contact Page  */
.contact-card {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #292f61;
  height: 200px;
  border-radius: 7px;
  margin-bottom: 10px;
  color: #fff;
}
.contact-card a {
  color: #fff;
}

/* blog Details page css  */
.media-body,
.media-left,
.media-right {
  display: table-cell;
  vertical-align: top;
}
.font-16 {
  font-size: 16px !important;
}

.font-weight-600 {
  font-weight: 600 !important;
}

/* Training and placement page  */
.active-tp-card {
  text-align: center;
  border: 1px solid #292f61;
  border-radius: 7px;
  padding: 15px;
}
.active-tp-card .thumb {
  height: 70px;
  overflow: hidden;
  margin-bottom: 12px;
}
.active-tp-card .thumb img {
  height: 70px;
}
.bg-fff {
  background: #fff;
}
.bg-fff:hover {
  background: #292f61;
}
.bg-fff:hover h6 {
  color: #fff;
}
.nav-color {
  background: #292f61;
}
@media (max-width: 768px) {
  .cat-overlay {
    opacity: 1;
    overflow: visible;
    /* position: relative; */
  }
  #popupForm {
    width: 90%;
  }
  .nav-color {
    background: #fff;
  }
  .navbar-light .navbar-nav .nav-link {
    color: #292f61;
  }
  .service1-inner-area {
    position: relative;
  }
  .sub-dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    padding: 7px;
    width: 70%;
    left: 32%;
    top: 56px;
  }
}
.online-admission {
  border: 5px solid #292f61;
  border-radius: 18px;
  padding: 20px;
  background: #ededed;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* Styles for the overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  z-index: 9998; /* Place the overlay behind the popup form */
}
/* Styles for the popup form container */
.popup-form-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 9999; /* Place the popup form above the overlay */
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}
.popup-form-container label {
  margin: 0;
  font-size: 12px;
}

/* Styles for the form fields */
.popup-form-container input[type="text"],
.popup-form-container input[type="email"],
.popup-form-container select {
  width: 100%;
  height: 35px;
  padding: 6px;
  margin: 0px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
/* Styles for the close button */
.close {
  color: #ff0000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  opacity: 1 !important;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* Style for the sidebar button */
.sidebar-button {
  position: fixed;
  top: 50%;
  right: -40px;
  transform: translateY(-50%) rotate(90deg);
  z-index: 2;
  padding: 10px 15px;
  background-color: #292f61;
  color: white;
  border: none;
  border-radius: 0px 0px 25px 25px;
  cursor: pointer;
}

.light-wave {
  animation: radiate 3s infinite;
}

@keyframes radiate {
  0% {
    transform: scale(1.1);
    opacity: 1;
  }
  50% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}
.single-events-card {
  padding: 20px;
  margin-bottom: 25px;
  transition: 0.5s;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.single-events-card .image {
  margin-bottom: 25px;
}
.single-events-card .content {
  padding-left: 15px;
}
.single-events-card .content .date {
  position: relative;
  margin-right: 13px;
  padding-right: 13px;
}
.single-events-card .content .date h2 {
  font-size: 42px;
  line-height: 29px;
  margin-bottom: 8px;
  color: #ffc333;
}
.single-events-card .content .date span {
  display: block;
  text-align: center;
  letter-spacing: 0.63px;
  color: rgb(0, 30, 67);
  text-transform: uppercase;
  color: rgb(0, 30, 67);
  transition: 0.5s;
  font-size: 18px;
  font-weight: 600;
}
.single-events-card .content .title {
  margin-top: 5px;
}
.single-events-card .content .title h4 {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 13px;
}
.single-events-card .content .title h4 a {
  color: #292f61;
}
.single-events-card:hover {
  background-color: #002a5c;
}
.single-events-card:hover .content .date span {
  color: rgba(255, 255, 255, 0.65);
}
.single-events-card:hover .content .title h4 a {
  color: #ffffff;
}
