* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: #e10707;
}

body {
  margin:0;
  color:#747474;
  background-color: #d7d6d6;
  min-width:320px;
  -webkit-text-size-adjust:100%;
  font-size: 16px;
  font-family: "PT Sans",Arial,Helvetica,sans-serif;
 }

 #wrapper {
  margin: 0 auto;
  max-width: 1100px;
  background-color: #F6F6F6;
}

#loading {
  width: 6em;
  height: 6em;
  border-radius: 50%;
  background-clip: padding-box;

  position: absolute;
  top: 35%;
  left: 50%;
  margin: -3em 0 0 -3em;
  color: transparent;
  font-size: 10px;
  border-top: .5em solid rgba(0,0,0,.2);
  border-right: .5em solid rgba(0,0,0,.2);
  border-bottom: .5em solid #333;
  border-left: .5em solid rgba(0,0,0,.2);
  -webkit-animation: rotate-animation .8s infinite linear;
  animation: rotate-animation .8s infinite linear;
}

@keyframes rotate-animation {
  0% {
   -webkit-transform:rotate(0);
   transform:rotate(0)
  }
  100% {
   -webkit-transform:rotate(360deg);
   transform:rotate(360deg)
  }
 }

/* header main nav styles */

#header-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  box-shadow: 0px 10px 50px -2px rgba(0, 0, 0, 0.14);
  -webkit-box-shadow: 0px 10px 50px -2px rgba(0, 0, 0, 0.14);
  background-color: #fff;
  z-index: 10010;
  height: 6rem;
  padding-left: 30px;
  padding-right: 30px;
  transition: background-color .25s ease-in-out;
  font-family: "Antic Slab";
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  position: relative;
}

#logo {
  display: flex;
  max-width: 100%;
  flex: 1 1 10rem;
}

#logo-image {
  display: block;
  width: 60px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  flex: 1 1 75%;
  transition: all 0.5s ease;
}

.nav-links .main-menu-link .main-link {
  display: block;
  color: #333333;
  padding: 2.2rem 0px;
  border-top: 3px solid #fff;
  transition: background-color .25s ease;
}

.nav-links .main-menu-link .main-link:hover {
  color: #e10707;  
  border-top: 3px solid #e10707;
}

.nav-links .main-menu-link .main-link.active {
  color: #e10707;  
  border-top: 3px solid #e10707;
}

.nav-open {
  transform: translateX(-100%);
}

/* sub menu styles */

.nav-links li {
  position: relative;
}

.nav-links li ul {
  visibility:hidden;
  position:absolute;
  top:100%;
  left:0;
  opacity:0;
  transition: 
    visibility 0s linear,
    opacity .25s linear; 
}


  .nav-links li:hover ul {
    visibility:visible;
    opacity:1;
    /* position: absolute; */
    background-color: #f2efef;
    width: 180px;
    border-top: 3px solid #e10707;
    box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
    -webkit-box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
  }


.nav-links li ul .sub-menu a{
  display: block;
  padding: 7px 20px;
  font-family: "PT Sans";
  font-size: 13px;
  border-bottom: 1px solid #dcdadb;
  color: #333333;
  line-height: 1.5;
  transition: background-color .25s ease;
}

.nav-links li ul .sub-menu a:hover{
  background-color: #fff;
}

.has-submenu {
  display: flex;
  gap: 5px;
}

.nav-links .down-arrow {
  cursor: pointer;
  width:0;
  height:0;
  margin-top: 45px;
  /* make triangle */  
    border-top:7px solid #989999;
  border-right:7px solid transparent;
  border-bottom:7px solid transparent;
  border-left:7px solid transparent;
}

/* Responsive menu styles */

@media screen and (max-width: 840px) {

  #header-wrapper {
    height: 5.5rem;
  }
  .burger {
    cursor: pointer;
  }

  .burger span {
    padding: 1.5px 20px;
    background: #dcdadb;
    margin: 4px 0px;
    display: block;
  }

  .nav-links{
    background: #f6f6f6;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 5.5rem;
    /* padding-top: 5.5rem; */
    left: 100%;
    flex-direction: column;
    align-items: center;
    z-index: -1;
    display: flex;
    justify-content: unset;
  }

  .nav-links .main-menu-link .main-link {
    display: block;
    color: #333333;
    padding: 10px 0px;
    border: none;
    width: 100%;
    border-bottom: 1px solid #dcdadb;
    padding: 1rem 2rem;
  }
  
  .nav-links .main-menu-link .main-link:hover {
    color: #e10707;  
    border-top: none;
    background-color: #fff;
  }
  
  .nav-links .main-menu-link .main-link.active {
    color: #e10707;
    border: none;
    width: 100%;
    border-bottom: 1px solid #dcdadb;
  }
  
  /* sub menu styles */
  
  .nav-links .main-menu-link {
    width: 100%;
  }

  .has-submenu {
    position: relative;
  }

  .nav-links .down-arrow {
    cursor: pointer;
    position:absolute;
  bottom:34%;
  right:7%;
  width:0;
  height:0;
  /* make triangle */  
    border-top:7px solid #989999;
  border-right:7px solid transparent;
  border-bottom:7px solid transparent;
  border-left:7px solid transparent;
  }

  @media screen and (hover:hover) {
    .nav-links .down-arrow:hover { 
      border-top: 7px solid #e82b2b;
    }
  }
  
  
  .nav-links li ul {
    visibility: hidden;
    opacity: 0;
    width: 100%;
    transition: 
      visibility 0s linear,
      opacity .25s linear; 
  }
  
  .nav-links li:hover ul {
    visibility:visible;
    opacity:1;
    position: unset;
    background-color: #f2efef;
    width: 100%;
    border-top: none;
    box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
    -webkit-box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
  }
  
  .nav-links li ul .sub-menu a{
    display: block;
    width: 100%;
    padding: 7px 0px 7px 52px;
    font-family: "PT Sans";
    font-size: 13px;
    border-bottom: 1px solid #dcdadb;
    color: #333333;
    line-height: 1.5;
    transition: background-color .25s ease;
  }
  
  .nav-links li ul .sub-menu a:hover{
    background-color: #fff;
  }
}

/* slideshow styles */

.slideshow-container {
  position: relative;
  margin: auto;
  transition: all 1.5s ease;
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 6px 11px;;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.slideshow-dots {
  position: absolute;
  bottom: 5%;
  margin: auto;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(0,0,0,.5);;
  border-radius: 20px;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot-active, .dot:hover {
  background-color: #000;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  background-color: rgba(0,0,0,0.4);
}

.prev {
  background-color: rgba(0,0,0,0.4);
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color: #fff;
}

.slide-text {
  color: #f2f2f2;
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  padding-left: 30px;
  padding-right: 30px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  font-family: "Antic Slab";
  animation: 2s slide-up;
  -webkit-animation: 1.5s slide-up;
}

.slide-text .heading {
  background-color: rgba(0,0,0, 0.4);
  padding: 8px 25px;
  color: rgb(255, 255, 255);
  font-size: 60px;
  line-height: 60px;
  width: max-content;
  margin: auto;
  margin-bottom: 14px;
}

.slide-text .desc {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  color: #fff;
  font-size: 24px;
  line-height: 38px;
  margin: 0px 50px;
}

@keyframes slide-up {
  from {
    top: 65%;
    opacity: 0;
  }
  to {
    top: 50%;
    opacity: 1;
  }
}

/* Fading animation */
.fade {
  animation: fade 2s ease-in-out;
}

@keyframes fade {
  from {opacity: 0}
  to {opacity: 1}
}

/* main content */

.main-content {
  padding: 0px 30px;
  color: #000;
  padding-top: 40px;
}

.main-content #main-title {
  color: #ff0000;
  text-align: center;
  font-family: "Antic Slab";
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0px;
  margin-bottom: 20px;
}

.main-content #main-intro {
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.5;
}

.main-content .main-cards {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.main-cards .card {
  background-color: #fff;
  flex: 1;  
  border-radius: 10px;
  box-shadow: 0px 0 16px 0 rgba(0, 0, 0, 30%);
  transition: all .2s ease;
}

.main-cards .card:hover {
  box-shadow: 0px 0 30px 0 rgba(0, 0, 0, 30%);
  background-color: #e0e0e0;
}

.main-cards .card img {
  max-width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.main-cards .card .card-details {
  padding: 30px;
}

.card-title {
  font-size: 22px;
  line-height: 23px;
  font-family: "Antic Slab";
  font-weight: 400;
  color: #333333;
  margin-bottom: 16px;
}

.card-title:hover {
  color: #e10707;
}

.card-text {
  color: #747474;
  margin-bottom: 15px;
}

.separator {
  border: 1px solid #dedede;
  margin: 50px 0px;
  height: 8px;
  border-left: 0;
  border-right: 0;
}

.gallery {
  display: flex;
  gap: 50px;
  padding: 0px 30px;
}

.gallery-area {
  text-align: center;
}

.gallery-area .album-thumb img {
  border-radius: 20px;
  width: 300px;
  height: 300px;
  transition: all .5s ease;
}

.album-thumb img:hover {
  transform: scale(1.05);
  opacity: .7;
}

.gallery .post-area {
  border-width: 0px;
  border-left-width: 3px;
  border-left-color: #e10707;
  border-style: solid;
  padding: 30px 30px 27px 31px;
}

footer {
  background-color: #282a2b;
  padding-top: 40px;
  padding-bottom: 30px;
  padding-left: 30px;
  padding-right: 30px;
  color: #c0c0c0;
}

footer .footer-info {
  display: flex;
  justify-content: center;
  /* gap: 50px; */
}

.contact {
  flex: 1;
  text-align: center;
  padding-right: 20px;
  border-right: 1px solid #787777;
}

.contact h2, .socials h2 {
  font-family: "Antic Slab";
  font-size: 20px;
  padding-bottom: 15px;
}

.socials {
  flex: 1;
  padding-left: 20px;
  text-align: center;
}

.icon-facebook-official {
  font-size: 50px;
  color: #c0c0c0;
}

.icon-youtube-play {
  font-size: 50px;
  color: #c0c0c0;
}

.icon-facebook-official:hover {
  color: #1877F2;
}

.icon-youtube-play:hover {
  color: #FF0000;
}

footer .info {
  border-top: 1px solid #787777;
  margin-top: 20px;
}

footer .info p{
  padding-top: 22px;
  font-size: 13px;
  text-align: center;
}

/* articles pages styles */

.breadcrumbs {
  height: 45px;	
  border-top: 1px solid #d2d3d4;	
  border-bottom: 1px solid #d2d3d4;
  padding: 12px 30px 0px 100px;
  font-size: 13px;
	letter-spacing: 1.5px
}

.text-articles {
  margin-bottom: 40px;
}

.text-articles p {
  padding: 0px 30px;
  margin: 20px 0px;
  line-height: 1.7;
  text-align: justify;
  text-indent: 30px;
}

.text-articles h2 {
  margin-left: 30px;
  font-family: "Antic Slab";
}

.text-articles h3 {
  margin-left: 30px;
}

.text-articles ol {
  list-style: disc; 
  text-align: justify; 
  padding: 0px 75px; 
  line-height: 2;
}

.text-articles-img-container {
  margin: 30px 50px;
}

.text-articles img {
  display: block; 
  width:100%; 
  margin: auto;
  border-radius: 10px;
}

blockquote {
  border-left: 3px solid #e10707;
  margin-left: 60px;
}

.button-link {
  background: #fbfbfb;
  background-image: linear-gradient(to top,#f0f0f0,#fbfbfb);
  border: 1px solid #ababab;
  color: #000;
  padding: 13px 29px;
  transition: color .5s ease;
  width: 208px;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.text-articles .button-link:hover {
  color: #ababab;
}

/* Admission form styles */

.form-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-container input {
  padding: 10px 20px;
  font-size: 16px;
}

/* respnsive styles */

@media screen and (max-width: 768px) {

  .slide-text .heading {
    padding: 0px 25px;
    font-size: 40px;
  }

  .slide-text .desc {
    padding: 6px 25px;
    font-size: 20px;
  }

  .text-articles-img-container {
    margin: 30px 30px;
  }

}

@media screen and (max-width: 700px) {

  .slide-text .desc {
    line-height: 27px;
    font-size: 17px;
  }

  .main-content .main-cards {
    gap: 50px;
  flex-direction: column;
  align-items: center;
  }

  .main-cards .card {
    width: 70%;
  }

  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .gallery-area .album-thumb {
    display: block;
  }
}

@media screen and (max-width: 650px) {

  .slide-text .heading {
    font-size: 30px;
  }

  .slide-text .desc {
    line-height: 20px;
  font-size: 16px;
  }

}

@media screen and (max-width: 600px) {

  .slide-text .heading {
    margin-bottom: 0;
  }

  .slide-text .desc {
    display: none;
  }

  .text-articles-img-container {
    margin: 30px 0px;
  }

  .main-cards .card {
    width: 90%;
  }

  footer .footer-info {
    flex-direction: column;
    gap: 50px;
  }

  .contact {
    padding-right: 0px;
    border-right: none;
  }

  .socials {
    padding-left: 0px;
  }

  .text-articles p {
    padding: 0px 0px;
  }

  .text-articles ol {
    padding: 0px 25px;
  }

  .text-articles img {
    padding: 0px 0px;
  }

  .text-articles h2 {
    margin-left: 0px;
  }
  .text-articles h3 {
    margin-left: 0px;
  }

  blockquote {
    margin-left: 0px;
  }

}

@media screen and (max-width: 450px) {

  #header-wrapper {
    padding-left: 14px;
  }

  .mySlides {
    height: 178px;
  }
  
  .mySlides img {
    height: 100%;
    width: 100%;
  }

  .slide-text .heading {
    font-size: 25px;
  }

  #main-title {
    margin-top: 20px;
  }

  .for-450px {
    margin-top: 20px;
  }

  .main-content {
    padding: 0px 15px;
  }

  .main-cards .card {
    width: 100%;
  }

  .breadcrumbs {
    padding-left: 0;
    text-align: center;
  }
}