html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: inherit;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.section-title {
  font-size: 3vw;
  text-decoration: underline;
  font-family: 'Bitter';
  font-weight: 600;
  color: red;
  text-align: center;
  margin-bottom: 25px;
}

/* Back to Top */

#progress {
  position: fixed;
  bottom: 50px;
  right: 50px;
  height: 50px;
  width: 50px;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 9;
}
#progress-value {
  height: 40px;
  width: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #001a2e;
}



/* Header */

.contact {
  color: white;
  text-align: right;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  padding: 2px 0px;
}


/* Heading */

.heading-section {
  padding-top: 15px;
}

.logo {
  width: 100%;
  height: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.heading h1 {
  font-family: 'Bevan';
  font-variant: small-caps;
  font-size: 4vw;
  text-align: center;
  color: red;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.mid-heading {
  font-family: 'Aldrich';
  text-decoration: underline;
  text-align: center;
  color: brown;
  font-size: 1.5vw;
  margin-bottom: 0;
  font-weight: bold;
}

.head-paragraph {
  text-align: center;
  color: black;
  font-size: 1.2vw;
  font-weight: bold;
  margin-bottom: 8px;
}


/* Nav Bar */

.navs a {
  color: white !important;
  font-size: 20px;
  font-weight: 600;
  font-family: 'Chivo';
  line-height: 30px;
  border-right: 2px white solid;
  padding: 0px 27px !important;
}

.nav-border-last {
  border-right: none !important;
}

.navs a:hover{
  color: rgb(87, 11, 11) !important;
  /* text-decoration: underline rgb(87, 11, 11); */
}


/* Courousel */

.carousel-captions {
  position: absolute;
  bottom: 30%;
  left: 15%;
  z-index: 10;
  color: #fff;
  text-align: center;
}

.cour-head {
  font-size: 4vw;
  font-family: 'Aldrich';
  color: rgb(87, 11, 11);
  font-weight: 700;
}

.cour-text {
  font-size: 2vw;
  line-height: 35px;
  color: #001a2e;
  font-weight: bold;
}

.carousel-captions a {
  font-style: inherit;
  border: 1px solid #f2bb1b;
  background-color: #f2bb1b;
  color: white;
  font-size: 1.3vw;
  padding: 5px 10px 10px 10px;
  border-radius: 8%;
  text-decoration: none !important;
}


/* about */

.about {
  margin-top: 50px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.about-head {
  text-align: center;
  font-family: 'Bitter';
  letter-spacing: 1.5px;
  color: red;
  padding-top: 15px;
  text-decoration: underline;
  font-size: 2.5vw;
  font-weight: bold;
}

.person {
  width: 95%;
  height: 90%;
  border-radius: 30%;
}

.content {
  font-size: 1.3vw;
  text-align: justify;
}


/* Cards */

.Cards_section {
  margin-top: 35px;
}


.card-row p {
  position: absolute;
  top: 48%;
  left: 26%;
  font-size: 1.5rem;
  font-weight: 600;
  background-color: #28a745;
  padding: 2px 12px;
}

.card-fas {
  position: absolute;
  top: 49%;
  left: 34%;
  font-size: 1.5rem;
  font-weight: 600;
  background-color: #28a745;
  padding: 0px 8px;
}


/* Gallery */

.Gallery_section img {
  width: 100%;
  height: 90%;
  /* object-fit: cover; */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.gal-image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .8s ease;
  backface-visibility: hidden;
}

.gal-middle {
  transition: .5s ease-in;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.img-div:hover .gal-image {
  opacity: 0.3;
  transform: scale(1.1);
}

.img-div:hover .gal-middle {
  opacity: 1;
}

.gal-text {
  background-color: #04AA6D;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}


/* ------------------------- Admission ---------------------- */
.admission-section{
  margin-top: 20px;
}

.admission-section h2 {
  font-size: 3vw;
  text-decoration: underline;
  font-family: 'Bitter';
  font-weight: 600;
  color: red;
  text-align: center;
  margin-bottom: 5px;
}

.li-head{
  text-decoration: underline;
  font-weight: 800;
  font-size: 2vw;
  color: #942937;
  font-family: 'Aldrich';
  padding-bottom: 3px;
  padding-top: 15px;
}

.li-content{
  color: #f04815;
  font-weight: 500;
  font-size: 1.4vw;
  font-family: 'Bitter';
  text-align: justify;
}

.ad-note{
  color: #780b0b;
  font-family: 'Chivo';
  font-size: 1.4vw;
}

/* ---------------------------- Course -------------------------- */


.course-section{
  margin-top: 20px;
}

.course-section h2{
  font-size: 3vw;
  text-decoration: underline;
  font-family: 'Bitter';
  font-weight: 600;
  color: red;
  text-align: center;
}

.anm{
  margin-top: -13px;
  text-align: center;
  font-size: 2vw;
}

.about-course{
  color: #159cf0;
  text-align: justify;
  font-weight: 500;
  font-size: 1.4vw;
  font-family: 'Bitter';
}


/* ----------------------------------- Contact -------------------------- */
.contact-section {
  margin-bottom: 25px;
}

.contact table {
  width: 100%;
  text-align: left;
}

.table-m {
  color: green;
  font-size: 1.4rem;
  font-weight: 600;
  padding-right: 15px;
}

.table-t {
  color: red;
  font-weight: 500;
  font-size: 1.2rem;
}


/* Footar */

footer {
  background-color: #28a745;
  padding: 25px 0;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
  font-family: 'Aldrich';
  font-size: 1.3vw;
  font-weight: 500;
  line-height: 25px;
  border-right: 2px white solid;
  padding: 0px 15px;
}

.footer-border-last {
  border-right: none;
  padding-right: 0 !important;
}

footer a:hover {
  color: rgb(87, 11, 11);
  text-decoration: none;
}

.footer-dev {
  font-family: 'Bitter';
  color: rgba(245, 242, 238, 0.927);
  text-decoration: none !important;
  font-size: 0.8vw;
  font-weight: 400;
  line-height: 30px !important;
  border-right: none;
  padding: 0;
  margin: 0 !important;
}

/* Scroll Bar */

/* width */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  /* border-radius: 8px; */
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: green;
  border-radius: 2px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #b30000;
}

/* ------------------------------------------------------------------------------------------------------------ */

/* Media Query */

/* Laptop 1024 */
@media screen and (max-width: 1024px) {

  .logo {
    width: 100%;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    font-size: 1.4vw;
    line-height: 20px;
  }

  /* Carousel */
  .cour-img {
    height: 345px;
  }

  .cour-text{
    line-height: 25px;
  }

  /* about */
  .content {
    padding-top: 4px;
    font-size: 1.6vw;
  }

  .section-title{
    font-size: 2.8vw;
  }


  /* Contact */
  .table-m {
    font-size: 1.25rem;
  }

  .table-t {
    font-size: 1.2rem;
  }

  /* Footer */
  .footer-dev {
    font-size: 10px;
  }
}

/* Tab 768 */
@media screen and (max-width: 800px) {
  .heading h1 {
    font-size: 4vw;
  }

  .head-paragraph {
    font-size: 1.5vw;
    /* margin-top: -5px; */
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    font-size: 2vw;
    padding-top: 8px !important;
    padding-left: 10px !important;
  }

  /* Carousel */
  .cour-img {
    height: 280px;
  }

  .cour-head {
    font-size: 4vw;
  }

  .cour-text {
    line-height: 18px;
  }

  /* about */

  .content {
    font-size: 1.5vw;
  }

  /* Footer */

  footer a{
      font-size: 1.8vw;
  }

  .footer-dev {
    font-size: 1.4vw;
  }
}

/* Tab 600 */


/* Mobile 480 */
@media screen and (max-width: 480px) {

  /* Back to top */

  #progress {
    bottom: 30px;
    right: 30px;
    height: 40px;
    width: 40px;
    z-index: 9;
  }
  #progress-value {
    height: 31px;
    width: 31px;
    font-size: 20px;
  }

  .contact {
    font-size: 11px;
  }

  .heading-section {
    padding-top: 5px;
  }


  .heading h1 {
    font-size: 4.2vw;
  }

  .mid-heading {
    font-size: 2vw;
  }

  .head-paragraph {
    font-size: 1.6vw;
    margin-top: 2px;
    margin-bottom: 5px;
  }

  .logo {
    width: 150%;
    height: 100%;
    padding-top: 5px;
    padding-bottom: 6px;
  }

  .navbar-light .navbar-toggler {
    padding: 3px;
  }

  .navbar-toggler-icon {
    font-size: 15px;
  }

  .navbar-expand-lg .navbar-nav .nav-link{
    padding-top: 2px !important;
  }

  /* Carousel */

  .cour-img {
    height: 185px;
  }

  .cour-text {
    font-size: 2vw;
    line-height: 14px;
    margin-bottom: 5px;
  }

  .carousel-captions a {
    font-size: 8px;
    padding: 3px 5px 5px 5px;
  }

  /* about */

  .about {
    margin-top: 20px;
    margin-bottom: -8px;
  }

  .about-head {
    font-size: 3vw;
  }

  .person {
    width: 150%;
    padding-top: 0px;
    height: 80%;
    border-radius: 30%;
  }

  .content {
    padding-top: 0px;
    font-size: 1.58vw;
  }

  .section-title {
    font-size: 5vw;
  }

  /* Card */

  .card-row p {
    position: absolute;
    top: 54%;
    left: 33%;
    font-size: 1.2rem;
  }

  /* Footer */
  footer {
    padding: 0;
  }

  footer a {
    font-size: 3.2vw;
  }

  .footer-dev{
    font-size: 3vw;
    color: rgba(245, 242, 238, 0.927);
  }

  /* ----- Admission ----- */

  .admission-section h2{
    font-size: 5vw;
  }

  .li-head{
    font-size: 3.5vw;
  }
  .li-content{
    font-size: 3vw;
  }
  .ad-note{
    font-size: 3vw;
  }

  /* ----- course ------- */
  .anm{
    font-size: 3.5vw;
    margin-top: -10px;
  }
  .about-course{
    font-size: 2.5vw;
  }
  .course-section h2{
    font-size: 5vw;
  }

}

/* Mobile 380 */
@media screen and (max-width: 380px) {
  

  .cour-img{
    height: 150px;
  }

  .cour-head{
    margin-bottom: 0;
  }
  .cour-text{
    line-height: normal;
  }

.carousel-captions a{
  font-size: 8px;
}

  .logo {
    width: 180%;
    padding-top: 5px;
  }

  /* about */

  .person{
    padding-top: 5px;
    height: 85%;
  }

  .content {
    font-size: 1.5vw;
    line-height: 10px;
  }

  /* Contact */

  .gal-text{
    padding: 10px 10px;
    font-size: 3vw;
  }


  .table-m {
    font-size: 0.9rem;
  }

  .table-t {
    font-size: 0.9rem;
  }

}

/* Mobile 325 */
@media screen and (max-width: 325px) {
  .top-heading {
    font-size: 3.8vw;
  }

  .mid-heading {
    font-size: 2.5vw;
  }

  .head-paragraph {
    font-size: 1.7vw;
  }

  .logo {
    width: 200%;
    padding-top: 5px;
  }

  /* Carousel */

  .cour-img {
    height: 130px;
  }

  /* about */

  .about-head {
    font-size: 3.5vw;
    margin-bottom: 5px;
  }

  .person {
    width: 180%;
    padding-top: 6px;
    height: 80%;
  }

  .content {
    font-size: 1.8vw;
    line-height: 8px;
    padding-bottom: 10px;
  }

  .section-title {
    font-size: 5.5vw;
  }

}