:root {
  --global-heading-spacing: 0 0 30px 0;
  --global-content-body-spacing: 60px;
  --global-interactive-card-spacing: 100px;

  --global-content-mobile-body-spacing: 40px 30px;
}

body {
  font-family: "Overlock";
}

/*Global CSS*/

.about_wrapper .about_text h1,
.our_school .our_school_inner_wrapper h1,
.chairperson .inner_text h1,
.VGS_legacy .inner_vgs_section h1,
.upcoming_events .upcoming_events_inner_wrapper h1,
.our_gallery h1,
.contact_us h1,
.join__vgs h1,
.apply__now h1,
.awards__colades h1,
.building__block h1,
.sporting__excellence h1,
.children__wrapper h1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 39.04px;
  padding: var(--global-heading-spacing);
}
.about_wrapper .about_text h1 span,
.our_school .our_school_inner_wrapper h1 span,
.chairperson .inner_text h1 span,
.VGS_legacy .inner_vgs_section h1 span,
.upcoming_events .upcoming_events_inner_wrapper h1 span,
.our_gallery h1 span,
.contact_us h1 span,
.join__vgs h1 span,
.growWith__us p span,
.apply__now h1 span,
.awards__colades h1 span,
.building__block h1 span,
.sporting__excellence h1 span,
.children__wrapper h1 span {
  color: rgba(24, 120, 188, 1);
}

/*
Header + BG Video CSS
*/
.main_wrapper {
  position: relative;
}
.main_wrapper .nav_inner_wrapper {
  padding: 20px 92.72px;
  z-index: 10000;
}
 

.main_wrapper .nav_inner_wrapper ul {
  list-style-type: none;
}
/* #navbar_top {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.5),
    rgba(254, 254, 254, 0.5),
    rgb(178 178 178 / 74%),
    rgba(153, 153, 153, 0.5)
  );
  backdrop-filter: blur(10px);
      position: relative;
     
      width: 100%;
      display: block;
      transition: top 0.8s;
} */

.nav_inner_wrapper {
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0.5), 
    rgba(255, 255, 255, 0.5), 
    rgba(254, 254, 254, 0.5), 
    rgba(178, 178, 178, 0.74), 
    rgba(153, 153, 153, 0.5)
  );
  backdrop-filter: blur(14px);
  position: fixed;
  
}


.main_wrapper .nav-menu li a {
  color: rgba(255, 255, 255, 1) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background-color: #003294 !important;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.text_over_video {
  bottom: 27%;
  left: 109px;
  z-index: 10;
}
.text_over_video p:nth-child(1) {
  color: rgba(255, 255, 255, 1);
  font-size: 65px;
  font-weight: 900;
  line-height: 79.3px;
  text-transform: uppercase;
}
.text_over_video p span {
  color: rgba(255, 255, 255, 1);
  font-size: 94px;
  font-weight: 900;
  line-height: 79.3px;
  text-transform: uppercase;
}
.text_over_video p:nth-child(2) {
  color: rgba(255, 255, 255, 1);
  font-size: 48px;
  font-weight: 700;
  line-height: 58.56px;
}

.bg_Video_container {
  display: inline-block; /* Or block, depending on your layout */
}

.video_overlay {
  left: 0;
  background: rgba(0, 0, 0, 0.4);
}

.nav-menu.active {
  left: 0;
}
.hamburger {
  cursor: pointer;
  margin-top: 27px;
  z-index: 1000;
}

.bar {
  background-color: #000;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  transition: all 300ms ease-in-out;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.hamburger.active .bar {
  background-color: #ffff;
}

/*About Section CSS*/
.about_wrapper,
.join__vgs,
.growWith__us,
.apply__now {
  padding: var(--global-content-body-spacing);
}
.our_gallery{
  padding: var(--global-content-body-spacing);
}
.about_wrapper .about_text p,
.join__vgs p {
  color: rgba(51, 51, 51, 1);
  font-weight: 400;
  font-size: 18px;
  line-height: 21.96px;
  margin: 0;
}
.about_wrapper .column_inner_text .column_body .icon p {
  font-size: 28px;
  line-height: 32px;
  color: rgba(51, 51, 51, 1);
  font-weight: 900;
}

.about_wrapper .column_inner_text .column_body .icon p span {
  color: rgba(24, 120, 188, 1);
}

.about_wrapper .boxSite p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(51, 51, 51, 1);
}
.about_wrapper .column_body {
  background: rgba(255, 255, 255, 1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.09);
  height: inherit;
  transition: 0.5s ease-in-out;
}
.about_wrapper .column_body:hover{
  transform: translateY(-5px);
}
.about_wrapper .column_inner_text {
  height: 100%;
}

/*Our School Section CSS*/
.our_school,
.children__wrapper,
.chairperson,
.building__block,
.contact_us {
  background-color: rgba(221, 236, 245, 1);
  padding: var(--global-content-body-spacing);
  box-shadow: 12px 15px 25px 0 rgba(0, 0, 0, 0.09);
}

body .our_school .owl-stage {
  display: flex;
  gap: 25px;
}
body .our_school .owl-item .item {
  background: rgba(255, 255, 255, 1);
  padding: 20.07px;
  border-radius: 10.04px;
  margin: 0 !important;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  transition: 0.5s ease-in-out;
  height: 100%;
}

.heading_wrapper p {
  font-size: 22.52px;
  line-height: 27.47px;
}
div#box0 .heading_wrapper {
  color: rgba(24, 120, 188, 1);
}
div#box1 .heading_wrapper {
  color: rgba(77, 50, 117, 1);
}
div#box2 .heading_wrapper {
  color: rgba(2, 91, 140, 1);
}
div#box0 .heading_wrapper p:nth-child(1),
div#box1 .heading_wrapper p:nth-child(1),
div#box2 .heading_wrapper p:nth-child(1) {
  font-weight: 700;
}
div#box0 .heading_wrapper p:nth-child(2),
div#box1 .heading_wrapper p:nth-child(2),
div#box2 .heading_wrapper p:nth-child(2) {
  font-weight: 400;
}

#box0:hover {
  background-color: rgba(24, 120, 188, 1);
}
#box0:hover .heading_wrapper {
  color: #ffff;
}
#box1:hover {
  background-color: rgba(77, 50, 117, 1);
}
#box1:hover .heading_wrapper {
  color: #ffff;
}
#box2:hover {
  background-color: rgba(2, 91, 140, 1);
}
#box2:hover .heading_wrapper {
  color: #ffff;
}

/*Chairperson Section CSS*/
.chairperson,
.awards__colades{
  padding: var(--global-content-body-spacing);
}
.chairperson p {
  font-size: 18px;
  color: rgba(51, 51, 51, 1);
  font-weight: 400;
  line-height: 22.5px;
}
.chairperson button {
  border: none;
  background: rgba(24, 120, 188, 1);
  padding: 10px;
  border-radius: 10px;
  color: white;
  font-size: 18px;
  line-height: 22.5px;
  font-weight: 700;
  cursor: pointer;
}

.chairperson .col-md-6:nth-child(2) {
  box-shadow: 8px 5px 17px 0 rgb(0 0 0 / 21%);
  padding: 0;
  margin-top: 10px;
}
.chairperson .col-md-6 {
  border-radius: 10px;
}
.chairperson .col-md-6 img {
  border-radius: 10px;
  height: 432px;
  width: 100%;
  object-fit: cover;
}

#readMore,
#readLess {
  margin: 0;
  color: #1878bc;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
div#shortText,
#fullText {
  padding-right: 18px;
}
/*VGS Legacy Section CSS*/
.VGS_legacy .icon_number_one p span {
  color: rgba(24, 120, 188, 1);
}
.VGS_legacy .icon_number_two p span {
  color: rgba(235, 36, 40, 1);
}
.VGS_legacy .icon_number_three p span {
  color: rgba(15, 122, 25, 1);
}
.VGS_legacy .icon_number_four p span {
  color: rgba(77, 50, 117, 1);
}
.VGS_legacy .inner_vgs_section .icon_number_one p,
.VGS_legacy .inner_vgs_section .icon_number_two p,
.VGS_legacy .inner_vgs_section .icon_number_three p,
.VGS_legacy .inner_vgs_section .icon_number_four p {
  font-weight: 900;
  font-size: 38px;
  line-height: 32px;
}
.VGS_legacy .inner_vgs_section p {
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  margin: 10px 0 0 0;
}

.row.vgs_box {
  background: rgba(255, 255, 255, 1);
  padding: 10px;
  justify-content: center;
  gap: 40px;
}

.row.vgs_box .g_card{
  box-shadow: 3px 3px 12px 0px rgba(0, 0, 0, 0.12);
    width: 260px;
    border-radius: 10px;
    transition: 0.5s ease-in-out;
}
.row.vgs_box .g_card:hover{
  transform: translateY(-5px);
}

/* .VGS_legacy .inner_vgs_section .row .col-md-3:nth-child(2)::after,
.VGS_legacy .inner_vgs_section .row .col-md-3:nth-child(3)::after,
.VGS_legacy .inner_vgs_section .row .col-md-3:nth-child(4)::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 70%;
  background-color: rgba(160, 157, 157, 1);
} */

/*Upcoming Event Section CSS*/
.upcoming_events,.sporting__excellence,.children__wrapper {
  padding: var(--global-content-body-spacing);
}

.upcoming_events .item .event_body p:nth-child(1) {
  color: rgba(24, 120, 188, 1);
  font-size: 28px;
  font-weight: 700;
  line-height: 29.4px;
}
.upcoming_events .item .event_body p:nth-child(2) {
  color: rgba(51, 51, 51, 1);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}
.upcoming_events .places_venus p {
  color: rgba(51, 51, 51, 1) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.upcoming_events .item .event_body {
  padding: 15px 24px;
}
.upcoming_events .event_body p span img {
  max-width: 100%;
  width: 13px;
}

.upcoming_events .owl-carousel .owl-item img {
  /* border-radius: 10px 10px 0 0; */
  width: 180px !important;
}

.upcoming_events .event_img .current_tags p:nth-child(1),
.upcoming_events .event_img p:nth-child(2) {
  color: rgba(24, 120, 188, 1);
  margin: 0;
}

.upcoming_events .event_img .current_tags p:nth-child(1) {
  font-weight: 900;
  font-size: 30px;
}
.upcoming_events .event_img .current_tags p:nth-child(2) {
  font-weight: 400;
  font-size: 14px;
}

.upcoming_events .current_tags {
  top: 0;
  right: 0;
  background: rgba(221, 236, 245, 1);
  padding: 10px 15px;
  opacity: 0.9;
  border-radius: 0 10px;
  display: none !important;
}

body .upcoming_events .owl-item.active {
  height: auto;
}
body .upcoming_events .owl-stage {
  height: 100%;
  display: flex;
  padding-bottom: 6px;
}
body .upcoming_events .item {
  height: 100%;
  background-color: white;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.09);
  border-radius: 10px;
}

/*Our Gallery CSS*/
.gallery-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
  grid-template-rows: repeat(2, 1fr); /* 2 equal rows */
  grid-gap: 18px;
  height: 100%; /* Set a height to maintain proportional grid cells */
}

.gallery-container img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  position: relative;
}

.gallery-item::after {
  content: "";
  position: absolute;
  background: #00000012;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#gallery-item-1 {
  grid-area: 1 / 1 / 2 / 2; /* Top-left corner */
}

#gallery-item-2 {
  grid-area: 1 / 2 / 3 / 4; /* Spanning two columns */
  height: 100%;
}

#gallery-item-3 {
  grid-area: 1 / 4 / 2 / 6; /* Spanning two columns */
}

#gallery-item-4 {
  grid-area: 2 / 1 / 3 / 2; /* Bottom-left corner */
}

#gallery-item-5 {
  grid-area: 2 / 4 / 3 / 5; /* Less span: occupies 1 column */
}

#gallery-item-6 {
  grid-area: 2 / 5 / 3 / 6; /* More span: occupies 2 columns */
}

.gallery-containerd {
  position: relative;
}
.gallery-container p {
  position: absolute;
  bottom: -73px;
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  font-size: 20.53px;
  z-index: 1000;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 0;
  text-align: center;
  padding: 20px;
  transition-duration: 0.4s;
  transition-delay: 0.08s;
}

.gallery-item:hover p {
  bottom: 0;
}

.gallery-item {
  position: relative;
  width: 100%;
  height: 324px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.6s linear; /* Linear transition for smooth sliding */
}

.gallery-item img.active {
  transform: translateX(0); /* Image stays in place */
}

.gallery-item img.next {
  transform: translateX(100%); /* Position next image to the right */
}

/*Contact Form CSS*/
.contact_us {
  padding: var(--global-content-body-spacing);
}
.contact_us label {
  font-weight: 800;
  display: inline-block;
  font-size: 21px;
  line-height: 24px;
  color: rgba(51, 51, 51, 1);
  margin-bottom: 20px;
}

.contact_us input {
  border: 1px solid rgba(154, 151, 151, 1) !important;
  padding: 16px !important;
  border-radius: 10px !important;
}
.contact_us form {
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact_us .row {
  background: white;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.09);
  border-radius: 10px;
}
.contact_us button {
  background-color: rgba(24, 120, 188, 1) !important;
  font-size: 21px !important;
  line-height: 24px !important;
  color: rgba(255, 255, 255, 1) !important;
  border-radius: 10px;
  padding: 16px 40px;
}
@media (min-width: 768px) {
  .contact_us .col-md-5 {
    flex: 0 0 auto;
    width: 40%;
  }
}

@media (min-width: 768px) {
  .contact_us .col-md-6 {
    flex: 0 0 auto;
    width: 60%;
  }
}

.contact_us .col-md-5 img {
  height: 100%;
  object-fit: cover;
  border-radius: 10px 0 0 10px;
}

.error-msg {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
  color: #ff0606;
  padding: 4px;
}

/*Footer Section CSS*/
.footer {
  background: rgba(24, 120, 188, 1);
  padding: 40px 40px 30px 40px;
}
.footer .first {
  text-align: left;
}
.footer .first .first_para {
  font-size: 16px;
  color: rgba(255, 255, 255, 1);
  font-weight: 400;
  text-align: left;
  margin-top: 34px;
  margin-bottom: 27px;
}
.footer .first .second_para {
  font-size: 14px;
  color: rgba(216, 216, 220, 1);
  font-weight: 400;
  text-align: left;
  margin-top: 30px;
}
.footer .second .footer_navlink p a:nth-child(1) {
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
}
.footer .second .footer_navlink p:nth-child(2) {
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
}
.footer .second .footer_navlink p:nth-child(3) {
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
}
.footer .second p:nth-child(1) {
  font-weight: 900;
  color: rgba(255, 255, 255, 1);
}
.footer .second {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer .third p:nth-child(1),
.email span {
  font-weight: 900;
  color: rgba(255, 255, 255, 1);
  text-align: left;
}
p.email {
  text-align: justify;
  color: white;
}
.footer .third p:nth-child(2),
.email a {
  color: rgba(255, 255, 255, 1);
  font-weight: 400;
  text-align: left;
}
.footer .map iframe {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  margin-top: 20px;
}
.footer .social-logos {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/*Footer Copyright*/
.footer_copyright {
  background: rgba(19, 73, 141, 1);
  padding: 10px 40px;
  color: rgba(219, 219, 233, 1);
  font-weight: 400;
}

@media screen and (max-width: 768px) {
  body .upcoming_events .owl-dots {
    display: block !important;
  }
  .text_over_video p:nth-child(1),
  .text_over_video p:nth-child(2),
  .text_over_video p span,
  .career__subtitle {
    font-size: 20px;
    line-height: inherit;
    margin: 0;
  }
  .nav-menu.active {
    padding: 0;
  }
  .hamburger {
    margin: 0 !important;
  }

  .nav_inner_wrapper .logo img {
    width: 170px;
    height: auto;
  }
  .text_over_video {
    left: 35px;
  }
  .main_wrapper .nav_inner_wrapper {
    position: relative !important;
    padding: 21px 22.72px;
    align-items: center;
  }
  .about_wrapper,
  .our_school,
  .chairperson,
  .VGS_legacy,
  .upcoming_events,
  .contact_us,
  .our_gallery,
  .contact_us,
  .footer,
  .about_wrapper,
  .join__vgs,
  .growWith__us,
  .apply__now,
  .awards__colades,
  .building__block,
  .sporting__excellence,
  .children__wrapper {
    padding: var(--global-content-mobile-body-spacing);
  }
  .row.boxSite.pt-5 {
    gap: 28px;
  }
  body .our_school .owl-stage {
    gap: 10px;
  }
  .chairperson button {
    margin-bottom: 17px;
  }
  .VGS_legacy .inner_vgs_section .row .col-md-3:nth-child(2)::after,
  .VGS_legacy .inner_vgs_section .row .col-md-3:nth-child(3)::after,
  .VGS_legacy .inner_vgs_section .row .col-md-3:nth-child(4)::after {
    position: relative;
  }
  .VGS_legacy .inner_vgs_section .row .col-md-3:nth-child(1),
  .VGS_legacy .inner_vgs_section .row .col-md-3:nth-child(2),
  .VGS_legacy .inner_vgs_section .row .col-md-3:nth-child(3) {
    border-bottom: 1px solid rgb(229 229 229);
  }
  .row.vgs_box {
    gap: 20px;
  }
  .owl-theme .owl-nav {
    display: none;
  }
  body .upcoming_events .owl-stage,
  .our_school .owl-stage {
    height: 100%;
    display: flex;
    padding-bottom: 26px;
  }
  .gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .our_gallery .gallery-container {
    width: 100%;
  }
  .footer_navlink {
    display: flex;
    justify-content: space-between;
  }
  .footer .second {
    gap: 0;
  }
  .footer .map {
    display: flex;
  }
  .footer .second p:nth-child(1) {
    display: flex;
    margin-bottom: 24px;
  }

  .nav_inner_wrapper {
    backdrop-filter: inherit;
  }
  .upcoming_events .places_venus p {
    line-height: initial !important;
  }
  .contact_us .col-md-5 img {
    border-radius: 10px 10px 0 0;
  }
  .main_wrapper .nav-menu li a {
    color: rgba(255, 255, 255, 1) !important;
    font-size: 25px !important;
  }
  .inner_thankyou {
    padding: 6px !important;
    width: 92% !important;
    height: auto !important;
  }
  .thankyou_wrapper .left_icon {
    right: 16px !important;
    width: 70px !important;
    top: 19px !important;
  }
  .thankyou_wrapper h1 {
    font-size: 30px !important;
    line-height: initial !important;
  }
  .thankyou_wrapper p:nth-child(3) {
    font-size: 16px !important;
    line-height: initial !important;
  }
  .thankyou_wrapper p:nth-child(4) {
    font-size: 16px !important;
    line-height: initial !important;
  }
  .thankyou_wrapper .right_icon {
    left: 40px !important;
    width: 54px !important;
    top: 13px !important;
    left: 19px !important;
  }

  .gallery-item img {
    transition: 0.5s ease-in-out;
  }
  .gallery-item img.next {
    transform: translateX(100%) !important;
  }
  .growWith__us p:nth-child(1) {
    padding-bottom: 26px;
    font-size: 30px !important;
  }
  .growWith__us p:nth-child(2) {
    font-size: 19px !important;
    margin-bottom: 30px;
  }
  .frameInner__wrapper p:nth-child(1) {
    font-size: 20px !important;
    margin-bottom: 0 !important;
    padding-bottom: 14px !important;
  }
  .frameInner__wrapper {
    display: block !important;
  }
  .frameInner__wrapper button {
    font-size: 14px !important;
    height: auto !important;
    padding: 11px 18px !important;
  }
  .frameInner__wrapper button span img {
    width: 18px !important;
  }
  .card__wrapper .col-md-6 {
    padding: 0 !important;
  }
  .card__wrapper .row:nth-child(1) {
    gap: 20px !important;
  }
  .apply__now .submit-btn {
    width: 100%;
  }
  .apply__now .row {
    padding-bottom: 20px !important;
  }
  .contact_us .bg__img img{
    display: block !important;
    }
    .contact_us .bg__img img{
      height: auto !important;
    }
    .awards__colades .award__img,.sporting__excellence__inner .award__img{
      flex-direction: column;
      gap: 50px;
    }
    .desktop__timeline{
      display: none;
    }
    .timeline__wrapper__mobile{
      display: flex !important;
      border-left: 10px solid #1878bc;
      border-radius: 3px;
    }
    .timeline__wrapper__mobile .mobile__timeline img{
      max-width: 80%;
      margin-bottom: 24px;
    }
}

.timeline__wrapper__mobile{
  display: none;
}
.nav-menu {
  left: -100%;
  top: 0;
  background-color: rgba(24, 120, 188, 1);
  transition: 750ms;
  z-index: 1000;
  gap: 60px;
}

.nav-menu.active {
  left: 0;
}

.nav-item {
  list-style-type: none;
}

.nav-link {
  transition: 400ms ease;
}

@media (min-width: 768px) {
  .nav-menu {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 45px;
    width: auto;
    background: transparent;
    margin: 0 !important;
  }

  .hamburger {
    display: none;
  }

  .nav_inner_wrapper .logo img:nth-child(2) {
    display: none;
  }
}

.nav-link::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background-color: rgba(24, 120, 188, 1) !important;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

#button {
  display: inline-block;
  background-color: rgba(24, 120, 188, 1);
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "";
  background-image: url(Assets/arrowhead-up.png);
  background-size: cover;
  position: absolute;
  height: 100%;
  filter: invert(1);
  width: 80%;
  display: flex;
}
#button:hover {
  cursor: pointer;
  background-color: #0b7cc0;
}
#button.show {
  opacity: 1;
  visibility: visible;
}

body .owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #1878bc;
}

/*Thankyou page css*/
#thankyou_body {
  background: rgb(24 120 188 / 83%);
  margin: 0;
  padding: 0;
}
.thankyou_wrapper {
  position: relative;
  height: 100vh;
}
.inner_thankyou {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.09);
  border-radius: 10px;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  padding: 50px 175px;
}
.thankyou_wrapper h1 {
  color: rgba(24, 120, 188, 1);
  font-size: 50px;
  font-weight: 900;
  line-height: 24px;
  text-shadow: 4px 4px rgba(249, 216, 227, 1);
}
.thankyou_wrapper p:nth-child(3) {
  color: rgba(51, 51, 51, 1);
  font-weight: 900;
  font-size: 30px;
  line-height: 24px;
}
.thankyou_wrapper p:nth-child(4) {
  color: rgba(51, 51, 51, 1);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.thankyou_wrapper .left_icon {
  position: absolute;
  right: 35px;
  width: 100px;
}
.thankyou_wrapper .right_icon {
  position: absolute;
  left: 40px;
  width: 70px;
  bottom: 35px;
}

a {
  text-decoration: none !important;
}

body .upcoming_events .owl-theme .owl-nav [class*="owl-"]:hover {
  background: #1878bc !important;
  color: #fff;
  text-decoration: none;
}

body .upcoming_events .owl-theme .owl-nav [class*="owl-"] {
  padding: 1px 10px !important;
}
body .upcoming_events .owl-dots {
  display: none;
}

body .upcoming_events .owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
  font-size: 25px !important;
}

/* Career css */
.career__subtitle {
  font-size: 32px;
  font-style: italic;
  font-weight: 100 !important;
}
.career__bottomtxt {
  bottom: 15% !important;
}
.growWith__us p:nth-child(1) {
  font-size: 52px;
  font-weight: 800;
}
.growWith__us p:nth-child(2) {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 25px;
}
frame {
  position: relative; /* Ensure parent has positioning context */
}
.frameInner__wrapper {
  position: absolute;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px;
  transition: bottom 0.5s ease-in-out; /* Animate the 'bottom' property */
}
.frame:hover .frameInner__wrapper {
  bottom: 26px;
}
.frameInner__wrapper p:nth-child(1) {
  font-size: 32px;
  color: white;
}
.frameInner__wrapper button {
  background: #1878bc;
  border-radius: 10px;
  height: 51px;
  padding: 12px 25px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  color: white;
  border: 1px solid white;
  transition: 0.5s ease-in-out;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -ms-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
}
.frameInner__wrapper button span {
  position: relative;
  top: -3px;
}
.frameInner__wrapper button:hover {
  background-color: transparent;
}
.growWith__us {
  background: #ddecf5;
}
.input-container {
  position: relative;
  /* width: 100%; */
}
input,
select {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #dadada;
  outline: none;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
label {
  font-size: 16px;
  color: gray;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}
input:focus + label,
input:not(:placeholder-shown) + label,
select:focus + label,
select:valid + label {
  top: 0;
  font-size: 12px;
  color: #007bff;
}
.full-width {
  grid-column: span 2;
}
.file-input {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.file-input input {
  display: none;
}
.file-label {
  border: 1px solid gray;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}
.submit-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  float: right;
}
/* Custom dropdown styling */
.input-container select {
  background-color: white;
  /* border-radius: 5px; */
  padding: 12px 0;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  position: relative;
}
.input-container::after {
  display: none;
}
select:focus {
  border-color: #007bff;
  outline: none;
}
select:hover {
  border-color: #0056b3;
}
.apply__now .paddingRight {
  padding-right: 40px !important;
}
.apply__now .row {
  row-gap: 30px;
  align-items: center;
}
.apply__inner {
  box-shadow: 0px 0px 10px 2px #cfcfcf;
  border-radius: 10px;
}
.apply__now .file-upload {
  display: block;
  text-align: center;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
}
.file-upload .file-select {
  display: block;
  border: 1px solid #dadada;
  border-radius: 8px;
  color: #34495e;
  cursor: pointer;
  height: 40px;
  line-height: 40px;
  text-align: left;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}
.file-upload .file-select .file-select-button {
  background: #eeece9;
  padding: 0 10px;
  display: inline-block;
  height: 40px;
  line-height: 40px;
}
.file-upload .file-select .file-select-name {
  line-height: 40px;
  display: inline-block;
  padding: 0 10px;
}
.file-upload .file-select:hover {
  border-color: #1878bc;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
.file-upload .file-select:hover .file-select-button {
  background: #1878bc;
  color: #ffffff;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
.file-upload.active .file-select {
  border-color: #3fa46a;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
.file-upload.active .file-select .file-select-button {
  background: #3fa46a;
  color: #ffffff;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
.file-upload .file-select input[type="file"] {
  z-index: 100;
  cursor: pointer;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  filter: alpha(opacity=0);
}
.file-upload .file-select.file-select-disabled {
  opacity: 0.65;
}
.file-upload .file-select.file-select-disabled:hover {
  cursor: default;
  display: block;
  border: 2px solid #dce4ec;
  color: #34495e;
  cursor: pointer;
  height: 40px;
  line-height: 40px;
  margin-top: 5px;
  text-align: left;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}
.file-upload .file-select.file-select-disabled:hover .file-select-button {
  background: #dce4ec;
  color: #666666;
  padding: 0 10px;
  display: inline-block;
  height: 40px;
  line-height: 40px;
}
.file-upload .file-select.file-select-disabled:hover .file-select-name {
  line-height: 40px;
  display: inline-block;
  padding: 0 10px;
}
.apply__now .submit-btn {
  background-color: #1877ba;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  float: right;
  font-size: 16px;
  color: white;
  font-weight: 700;
}
.frame figure {
  overflow: hidden;
}

.frame img {
  -webkit-transition: 0.8s ease-in-out;
  transition: 0.8s ease-in-out;
  -moz-transition: 0.8s ease-in-out;
  -ms-transition: 0.8s ease-in-out;
  -o-transition: 0.8s ease-in-out;
}
.frame:hover img {
  -webkit-filter: sepia(0);
  filter: sepia(0);
}
.frame:hover img {
  transform: scale(1.10);
  -webkit-transform: scale(1.10);
  -moz-transform: scale(1.10);
  -ms-transform: scale(1.10);
  -o-transform: scale(1.10);
}


.contact_us .bg__img{
  background-image: url("Assets/contact_us_leftimg.jpg");
  background-position: center;
  background-size: cover;
  border-radius: 10px 0 0 10px;
}
.contact_us .bg__img img{
display: none;
}


/* Showing card text on hover */
.card__inner {
  position: relative;
  overflow: hidden; /* Important to clip the sliding element */
  height: 100%;
}

.hover__text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 10.04px;
  display: block;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out; /* smooth animation */
}

#hover_0{
  background: rgba(24, 120, 188, 1);
}
#hover_1{
  background: rgba(77, 50, 117, 1);
}
#hover_2{
  background: rgba(2, 91, 140, 1);
}

/* On hover, slide up */
.card__inner:hover .hover__text {
  transform: translateY(0);
}
.our_school_inner_wrapper .hover__text {
  color: white;
  padding: 20px 25px;
}
.our_school_inner_wrapper .hover__text p{
  font-weight: 900;
}
.our_school_inner_wrapper .hover__text ul li{
  margin-bottom: 5px;
}

.header__logo{
  width: 220px;
}

/* Timeline css */
.timeline-container {
  width: 100%;
  position: relative;
  padding: 70px 0;
}

.timeline-line {
  position: relative;
  height: 14px;
  background: linear-gradient(to right, rgba(210, 36, 42, 1) 0%, rgba(210, 36, 42, 1) 20%, rgba(24, 120, 188, 1) 20%, rgba(24, 120, 188, 1) 40%, rgba(210, 36, 42, 1) 40%, rgba(210, 36, 42, 1) 60%, rgba(24, 120, 188, 1) 60%, rgba(24, 120, 188, 1) 80%, rgba(210, 36, 42, 1) 80%, rgba(210, 36, 42, 1) 100%);
  border-radius: 14.5px;
  margin: 40px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  animation: fadeInUp 0.8s ease-out;
  height: 0;
  top: 50%;
}

.timeline-item:nth-child(1) { left: 20%; animation-delay: 0.1s; }
.timeline-item:nth-child(2) { left: 40%; animation-delay: 0.3s; }
.timeline-item:nth-child(3) { left: 60%; animation-delay: 0.5s; }
.timeline-item:nth-child(4) { left: 80%; animation-delay: 0.7s; }
.timeline-item:nth-child(5) { left: 100%; animation-delay: 0.9s; }

.timeline-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 7px solid;
  background: white;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(1) .timeline-dot,
.timeline-item:nth-child(3) .timeline-dot,
.timeline-item:nth-child(5) .timeline-dot {
  border-color: rgba(210, 36, 42, 1);
}

.timeline-item:nth-child(2) .timeline-dot,
.timeline-item:nth-child(4) .timeline-dot {
  border-color: rgba(24, 120, 188, 1);
}

.timeline-dot:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  min-width: 200px;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-content:hover {
  transform: translateY(-5px);
}

.timeline-item:nth-child(2) .timeline-content,
.timeline-item:nth-child(4) .timeline-content {
  order: 1;
}

.timeline-item:nth-child(1) .timeline-content { top: -80px; }
.timeline-item:nth-child(2) .timeline-content { top: 30px; }
.timeline-item:nth-child(3) .timeline-content { top: -80px; }
.timeline-item:nth-child(4) .timeline-content { top: 30px; }
.timeline-item:nth-child(5) .timeline-content { top: -80px; }

.school-name {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
  line-height: 1.3;
}

.school-year {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-item:nth-child(1) .school-year,
.timeline-item:nth-child(3) .school-year,
.timeline-item:nth-child(5) .school-year {
  color: rgba(210, 36, 42, 1);
}

.timeline-item:nth-child(2) .school-year,
.timeline-item:nth-child(4) .school-year {
  color: rgba(24, 120, 188, 1);
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px) translateX(-50%);
  }
  to {
      opacity: 1;
      transform: translateY(0) translateX(-50%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline-container {
      padding: 40px 10px;
  }

  .timeline-line {
      height: 6px;
      margin: 30px 0;
  }

  .timeline-dot {
      width: 16px;
      height: 16px;
      border: 3px solid;
      background: white;
  }

  .timeline-content {
      min-width: 160px;
      padding: 8px;
      font-size: 14px;
  }

  .school-name {
      font-size: 14px;
  }

  .school-year {
      font-size: 16px;
  }

  .timeline-item:nth-child(1) .timeline-content { top: -70px; }
  .timeline-item:nth-child(2) .timeline-content { top: 25px; }
  .timeline-item:nth-child(3) .timeline-content { top: -70px; }
  .timeline-item:nth-child(4) .timeline-content { top: 25px; }
  .timeline-item:nth-child(5) .timeline-content { top: -70px; }

  .our_school_inner_wrapper .hover__text{
    overflow: auto;
  }
}

@media (max-width: 480px) {
  .timeline-container {
      padding: 30px 5px;
  }

  .timeline-content {
      min-width: 140px;
      padding: 6px;
  }

  .school-name {
      font-size: 12px;
  }

  .school-year {
      font-size: 14px;
  }

  .timeline-item:nth-child(1) .timeline-content { top: -60px; }
  .timeline-item:nth-child(2) .timeline-content { top: 20px; }
  .timeline-item:nth-child(3) .timeline-content { top: -60px; }
  .timeline-item:nth-child(4) .timeline-content { top: 20px; }
  .timeline-item:nth-child(5) .timeline-content { top: -60px; }

  .upcoming_events .left_img{
    flex-direction: column !important;
  }
}


.timeline-content.timeline_01 {
  top: 16px !important;
  left: -168px;
}
.timeline-content.timeline_02 {
  left: -194px;
  top: -102px !important;
}
.timeline-item:nth-child(3) .timeline-content {
  top: 17px;
  left: -180px;
}

.timeline-item:nth-child(4) .timeline-content {
  top: -91px;
  left: -185px;
}
.timeline-item:nth-child(5) .timeline-content {
  top: 18px;
  left: -175px;
}


/* VGS Legacy spacing */
.VGS_legacy {
  padding: 100px 0;
}

.awards__colades ul{
  padding: 60px 0 0 0;
}
.awards__colades ul li, .sporting__excellence ul li{
  list-style-type: none;
  margin-bottom: 15px;
}

.awards__colades ul li span,.sporting__excellence ul li span{
  margin-right: 10px;
}

.upcoming_events .left_img {
  display: flex;
  align-items: center;
  padding: 30px;
}

.right_content p{
font-size: 28px;
color: rgba(24, 120, 188, 1);
font-weight: 700;
}

#owl-demo2{
  margin-top: 80px;
}

.sporting__list{
  margin-top: 20px;;
}
.sporting__excellence h4{
  font-size: 24px;
  color: rgba(51, 51, 51, 1);
  font-weight: 900;
  margin-top: 41px;
}

.row.safety__card span {
  font-weight: 900;
  font-size: 17px;
}

.row.safety__card {
  row-gap: 34px;
}