/* CSS followed by the entire page */
:root {
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
}

*,
::after,
::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  /* overflow-x: hidden; */
}

/* crousal */
.home-crousal--layout {
  position: relative;
  height: 85vh;
  width: 100%;
}

.carousel-item{
  height: 70vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.verticalLine {
  display: inline-block;
  border-left: 2px solid #ccc;
  margin: 0px 10px;
  margin-top: 5%;
  margin-left: 2%;
  height: 250px;
}

@media (max-width: 820px) {
  .hidden-mobile {
    display: none;
  }
}

.swiper-slide img {
  display: block;
  /* width: 100%;
  height: 100%; */
  object-fit: cover;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
}

.home-crousal--slide-images--layout {
  height: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
}

/* extras */

.Extras {
  height: fit-content;
  text-align: center;
  vertical-align: middle;
}

.Extras p {
  padding: 10vh 5vw;
  margin: 15px;
  letter-spacing: 3px;
  font-family: "monospace";
  font-size: larger;
  font-weight: bold;
  color: grey;
  line-height: 30px;
}

@media (max-width: 1150px) {
  .Extras p {
    font-size: 16px;
    letter-spacing: 2px;
  }
}

@media (max-width: 675px) {
  .Extras p {
    font-size: 14px;
    letter-spacing: 2px;
  }
}

@media (max-width: 455px) {
  .Extras p {
    font-size: 12px;
    letter-spacing: 1px;
  }
}

/* Shared CSS for all 4 sections : Learn , Publications , Culture and Career */
.headings {
  font-size: max(6vw, 40px);
  padding-left: 2.4%;
  padding-top: 3px;
  color: white;
  font-weight: bold;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.subheadings {
  font-size: max(2vw, 20px);
  padding-left: 2.8%;
  padding-bottom: 8px;
  color: white;
  font-weight: bold;
  margin-top: 0px;
  padding-top: 0%;
  display: flex;
}

.headingbox {
  padding: 0px;
  width: 100%;
  display: flex;
  flex-direction: row;
  height: fit-content;
  background-image: url("../assets/inner-banner-blank.webp");
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 0px;
}

.mainBody {
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
}

.btn{
  right: 0%;
  margin-left: auto;
  margin-top: 1.2%;
  border-style: none;
}

.mainBody .cards {
  position: relative;
  margin-left: 0.5%;
  margin-right: 2.5%;
  left: 0.5%;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: fit-content;
  overflow-x: scroll;
  scrollbar-color: cornflowerblue aliceblue;
  scrollbar-width: thin;
}

.mainBody .cards .card {
  min-width: 300px;
  margin: 10px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}

.mainBody .cards .card-img-top {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  height:250px;
}

.card-body {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}

.mainBody .paragraph {
  height: inherit;
  width: 21%;
  margin: 2.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 450px;
}

.mainBody .paragraph h2 {
  width: 100%;
}

.first {
  height: fit-content;
  max-height: 70%;
  overflow: auto;
}

.mainBody .cards #leftimg {
  height: 50px;
  width: 50px;
  position: sticky;
  left: 2px;
  top: 50%;
}

.mainBody .cards #rightimg {
  height: 50px;
  width: 50px;
  position: sticky;
  right: 2px;
  top: 50%;
}

@media (max-width: 800px) {
  .mainBody {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .mainBody .paragraph {
    order: 1;
    width: 100%;
    max-width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mainBody .cards {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .mainBody .paragraph h2 {
    width: 100%;
  }
}

/* Card CSS */
.cards {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 20px;
}

.card {
  height: 18rem;
  width: 18rem;
  margin: 5px;
  box-shadow: 5px 2px 15px #888888;
}

.card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
  font-weight: bold;
}

.others {
  font-size: 15px;
  display: inline;
}

/* carousel  */
.carousel-inner img {
  width: 100vw;
  height: 47vh;
}

#carouselExampleIndicators {
  margin: auto;
  height: 60vh;
  width: 100vw;
  /* margin-top: 70px; */
}

.carousel-inner img {
  height: 60vh;
  width: 100%;
}

.carousel-inner {
  box-sizing: border-box;
  width: 100%;
}

/* /carousel  */

/* for explore more */
.button {
  align-content: center;
  display: inline-block;
  border-radius: 4px;
  background-color: lightgray;
  border: 10% gray;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  padding: 10px;
  width: 150px;
  max-width: 100%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}

.button:hover {
  background-color: gray;
}

.button a {
  text-decoration: none;
  color: black;
}

.button a:hover {
  color: black;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.button span:after {
  content: "\00bb";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

.para {
  text-decoration: none;
}

.updownarrow {
  height: 50px;
  position: fixed;
  bottom: 5%;
  right: 5%;
  width: 50px;
}

.arrow {
  height: 50px;
}

.gap {
  height: 4vh;
  width: 100%;
}

/* CSS for footer */
.site-footer {
  background-color: #26272b;
  padding: 45px 0 20px;
  font-size: 15px;
  line-height: 24px;
  color: rgb(192, 192, 192);
}

.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5;
}

.site-footer hr.small {
  margin: 20px 0;
}

.site-footer h6 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px;
}

.site-footer a {
  color: #737373;
}

.site-footer a:hover {
  color: #3366cc;
  text-decoration: none;
}

.footer-links {
  padding-left: 0;
  list-style: none;
}

.footer-links li {
  display: block;
}

.footer-links a {
  color: rgb(192, 192, 192);
  text-decoration: none;
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
  color: #3366cc;
  text-decoration: none;
}

.footer-links.inline li {
  display: inline-block;
}

.site-footer .social-icons {
  text-align: right;
}

.site-footer .social-icons a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: #33353d;
}

.copyright-text {
  margin: 0;
}

@media (max-width: 991px) {
  .site-footer [class^="col-"] {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 0;
  }

  .site-footer .copyright-text,
  .site-footer .social-icons {
    text-align: center;
  }
}

/* Copied part from the online css */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card-body {
  flex: 1 1 auto;
  padding: 1rem 1rem;
}

.card-title {
  margin-bottom: 0.5rem;
}

.card-subtitle {
  margin-top: -0.25rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  border-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-bottom,
.card-img-top {
  width: 100%;
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-bottom {
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
  color: #212529;
}

.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
  bottom: 1%;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

/* Extra CSS for the footer */
.container {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 576px) {
  .col-sm-12 {
    flex: 0 0 auto;
    width: 50%;
  }
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  width: fit-content;
  width: -moz-fit-content;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0px;
  top: 50px;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.visible {
  display: block;
}
/*  */
