html {
  scroll-behavior: smooth;
  scroll-padding-top: 12vh;
}
@media screen and (max-width: 486px) {
  html {
    scroll-padding-top: 14vh;
  }
}
@media screen and (max-width: 355px) {
  html {
    scroll-padding-top: 21vh;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Roboto", sans-serif; */
  font-family: "Lato", sans-serif;
}

:root {
  --navyblue: #393186;
  --lightblue: #01a0e4;
  --darkblue: #0a1f3f;
  --orange: #cd6300;
  --purple: #613186;
  --lightpurple: #edecf8;
}

main {
  display: flex;
  flex-direction: column;
  margin-top: 10vh;
  /* background-image: url(photos/rohit-tandon-9wg5jCEPBsw-unsplash.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position-y: center; */
  background: linear-gradient(
    to bottom right,
    hsl(216 73% 96% / 1),
    var(--navyblue)
  );
}
@media screen and (max-width: 355px) {
  main {
    margin-top: 11vh;
  }
}
body {
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1.75px;
  color: var(--orange);
  /* margin: 1rem; */
  align-self: center;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  background-color: white;
}
@media screen and (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
  }
}
h3 {
  font-size: 1.25rem;
}
p {
  max-width: 75ch;
}
a {
  text-decoration: none;
  color: black;
}
header {
  background-color: var(--navyblue);
  /* background-color: white; */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4vw 0 4vw;
  min-height: 11vh;
  z-index: 999;
  /*background-color: aquamarine;*/
}
.logo {
  color: white;
  /* padding-top: 2px; */
  display: flex;
  font-size: 1.5rem;
  font-weight: 700;
  justify-content: flex-start;
  align-items: center;
  /* font-family: "Sacramento", cursive; */
  letter-spacing: 1px;
  gap: 1rem;
}
.logoimgh {
  display: flex;
}
.logoimgh > img {
  height: 9vh;
  width: 9vh;
  border-radius: 50%;
}
.nav-links {
  display: flex;
  justify-content: space-between;
  max-width: 50%;
  gap: 5vw;
}
.nav-links li {
  display: block;
  list-style: none;
}
.nav-links a {
  color: var(--lightpurple);
  /* color: #1f2937; */
  text-decoration: none;
  font-weight: 400;
  /* font-size:; */
}
.nav-links a:hover {
  color: var(--lightblue);
  transform: scale(2);
  transition: all;

  text-shadow: #1f2937;
}
.burger {
  display: none;
  cursor: pointer;
}
.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  /* background-color: black; */
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .logo {
    font-size: 1.2rem;
    font-weight: 500;
    gap: 0.5rem;

    /* padding: 3px 0px; */
  }
  nav {
    padding: 0 0.5rem;
    /* padding-right: 0.5rem; */
  }
  .nav-links {
    position: absolute;
    right: 0px;
    height: 100vh;
    top: 0;
    background: linear-gradient(
      to bottom right,
      var(--navyblue),
      var(--purple)
    );
    /* background-color: blue; */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    justify-content: space-evenly;
    /* padding-top: 15vh; */
  }
  .nav-links a:hover {
    color: #fff;
    font-size: large;
    font-weight: 500;
    text-shadow: #1f2937;
  }
  .overlay {
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease-out;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    position: fixed;
    top: 10vh;
  }
  .overlay-active {
    opacity: 1;
  }
  .burger {
    display: block;
  }
  .nav-active {
    transform: translateX(0%);
  }
  .toggle .bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .toggle .bar2 {
    opacity: 0;
  }
  .toggle .bar3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

.container-c {
  width: 100%;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  z-index: 1;
  /* padding: 2rem 6rem 2rem 6rem; */
}

.hero .container-c {
  width: 100%;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  z-index: 1;
  gap: 0.5rem;
}
.hero {
  background-image: url(photos/rohit-tandon-9wg5jCEPBsw-unsplash.webp);
  background-attachment: fixed;
  background-size: cover;
  background-position-y: center;
  height: 82vh;
  display: flex;
  justify-content: center;
  /* text-align: center; */
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  font-size: 3.7rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  /* margin-bottom: 1rem; */
  z-index: 1;
  margin-top: 2.5rem;
}

.hero p:first-of-type {
  color: var(--orange);
  font-size: 2rem;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 1;
  font-weight: 600;
}
.hero p:last-of-type {
  color: #b3b2b2;
  font-size: 1.7rem;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.hero-svg {
  position: absolute;
  top: 2vh;
  height: 109vh;
  min-width: 167vw;
  /* width: 100%; */
  max-width: 50%;
}
.hero .btn {
  position: absolute;
  z-index: 2;
  top: 50%;
}
.display-m {
  display: none;
}
.background {
  background-image: url(svgs/book-idea-full.svg);
  background-repeat: no-repeat;
  background-size: 276vh;
  background-position: top;
  background-position-y: 3vh;
  height: 107vh;
  width: 100vw;
  position: absolute;
  top: -1vh;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .background {
    background-image: url(svgs/book-idea-mobile.svg);
    background-repeat: no-repeat;
    background-size: 84vh;
    background-position: center;
    background-position-y: 10vh;
    height: 78vh;
    width: 100vw;
    position: absolute;
    top: -1vh;
    z-index: 0;
  }
  .hero {
    padding: 1rem;
    height: 55vh;
  }
  .hero-svg-m {
    position: absolute;
    top: -3vh;
    height: 80vh;
    min-width: 143vw;
    /* width: 100%; */
    max-width: 50%;
  }
  .hero .container-c {
    gap: 0.25rem;
    padding-top: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-top: 0;
    padding-top: 1rem;
  }
  .hero p:first-of-type {
    font-size: 1.25rem;
  }
  .hero p:last-of-type {
    font-size: 1rem;
  }
  .display-m {
    display: block;
  }
  .display-d {
    display: none;
  }
  .hero .btn {
    padding: 1rem;
    font-size: 1rem;
    top: 42vh;
  }
}
.btn {
  display: inline-block;
  color: #fff;
  padding: 1.5rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: center;
  margin-top: 1rem;
  background: linear-gradient(to bottom right, var(--navyblue), var(--purple));
  /* background: linear-gradient(96.43deg, #393186 0%, #613186 103.24%); */
  border: 2px solid #ffffff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
}

#about .container-c {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}

#about p:last-of-type {
  color: var(--color1);
  font-weight: 600;
}
.about-svg {
  height: 20vw;
  min-height: 250px;
}
#about h2 {
  margin: 0;
}
@media screen and (max-width: 768px) {
  #about {
    padding-top: 6rem;
  }
  #about .container-c {
    flex-direction: column;
  }
}
@media screen and (max-width: 425px) {
  .about-svg {
    width: 90vw;
  }
}

.text {
  background-color: white;
  background: linear-gradient(#ffffff, rgb(237 236 248 / 40%));
  border-radius: 20px;
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.whytextbox {
  background: linear-gradient(to bottom right, var(--navyblue), var(--purple));
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  /* gap: 1.5rem; */
  border: 6px solid;
  padding-top: 6rem;
  height: 100%;
  justify-content: space-between;
}
.whytextbox h3 {
  text-shadow: 1px 1px 6px rgb(0 0 0 / 15%);
}
.bordercolor1 {
  border-color: #fccc38;
}
.bordercolor2 {
  border-color: #cd6300;
}
.bordercolor3 {
  border-color: #41933a;
}

.whytextbox.bordercolor1 h3 {
  color: #fccc38;
}
.whytextbox.bordercolor2 h3 {
  color: #cd6300;
}
.whytextbox.bordercolor3 h3 {
  color: #41933a;
}
.whytextbox ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  padding: 1rem;
  color: var(--lightpurple);
  font-weight: 300;
  padding-right: 0;
}
.subheading {
  font-weight: 700;
  color: white;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
  grid-gap: 2rem;
  row-gap: 9rem;
  justify-items: center;
  padding-top: 6rem;
}
.box {
  position: relative;
  box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  /* height: fit-content; */
}
.course-grid .box:hover {
  box-shadow: 0px 1px 19px 3px rgb(0 0 0 / 77%);
}
#why .course-grid .box:hover {
  box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.4);
}

.imgbox {
  display: flex;
  position: absolute;
  top: -6.5rem;
  width: 100%;
  justify-content: center;
  /* animation: why-bounce 2s ease-in-out infinite; */
}
@keyframes why-bounce {
  0% {
    filter: drop-shadow(0px 5px 10px rgb(0 0 0 / 0.4));
    transform: translateY(0px);
  }
  50% {
    filter: drop-shadow(0px 5px 10px rgb(0 0 0 / 0.2));
    transform: translateY(5px);
  }
  100% {
    filter: drop-shadow(0px 5px 10px rgb(0 0 0 / 0.4));
    transform: translateY(0px);
  }
}
.imgbox img {
  /* background-color: #ffffff; */
  width: 100%;
  object-fit: contain;
  border-radius: 10px 10px 0 0;
  /* max-height: 600px;
    object-fit: contain; */
}

#why img {
  height: 200px;
  width: 200px;
  border-radius: 50%;
}
.box h3,
.box p {
  padding: 1.5rem 1rem 0rem 1rem;
}
#why .container-c {
  align-items: normal;
  gap: 2rem;
}
.altbtn {
  padding: 1rem 1.5rem;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(to bottom left, var(--navyblue), var(--purple)) border-box;
  border: 4px solid transparent;
  align-self: center;
  color: var(--navyblue);
  margin: 0.5rem;
  transition: background-color 0.3s ease;
  width: -webkit-fill-available;
  background: linear-gradient(white, var(--lightpurple)) padding-box,
    linear-gradient(to bottom left, var(--navyblue), var(--purple)) border-box;
}
.btn:hover,
.altbtn:hover {
  background: #1f2937;
  color: #fff;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .imgbox {
    --whyimgheight: 26vh;
    display: flex;
    position: absolute;
    width: 100%;
    justify-content: center;
    top: calc(var(--whyimgheight) / -2);
  }
  #why img {
    height: var(--whyimgheight);
  }
  .whytextbox {
    padding: 1rem;
    padding-top: 5rem;
    /* padding-right: 0; */
  }
  .altbtn {
    padding: 1rem;
    font-size: 1rem;
    top: 38%;
  }
}
/*
  .box>.text:hover{
    background-color: rgba(255, 255, 255, 0);
  } */
.box p {
  padding: 1rem;
  /* padding-top: 0; */
}
#features {
  display: flex;
  flex-direction: column;
  padding-top: 8rem;
}
.grid {
  display: grid;
  /* background-color: pink; */
  /* height: 70vh; */
  /* width: 90vw; */
  margin: 0rem 6vw;
  /* grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); */
  /* border: 3px solid red; */
  grid-template-columns: repeat(4, 1fr);
  /* grid-template-rows: repeat(2, auto); */
  gap: 1vw;
  padding-top: 1.5rem;
}

.ft {
  display: flex;
  background-color: var(--lightpurple);
  background: linear-gradient(
    to bottom right,
    var(--lightpurple),
    rgb(237 236 248 / 40%)
  );
  flex-direction: column;
  text-align: center;
  border-radius: 20px;
  padding: 1.25rem;
  gap: 0.5rem;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.2);
}
.ficon {
  align-self: center;
  /* animation: ft-bounce 1.5s ease-in-out infinite; */
  /* padding-bottom: 0.5rem; */
}
@keyframes ft-bounce {
  0% {
    filter: drop-shadow(0px 5px 10px rgb(0 0 0 / 0.2));
    transform: translateY(0px);
  }
  50% {
    filter: drop-shadow(0px 5px 10px rgb(0 0 0 / 0.1));
    transform: translateY(5px);
  }
  100% {
    filter: drop-shadow(0px 5px 10px rgb(0 0 0 / 0.2));
    transform: translateY(0px);
  }
}
.ficon img {
  height: 80px;
}
.ft h3 {
  font-weight: 700;
  color: var(--navyblue);
}

@media screen and (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 0;
    margin-top: 1rem;
  }
  .ft {
    padding: 0.5rem;
  }
}
.contact {
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  width: calc(33.33% - 1rem);
}

#about,
#why,
#courses,
#program-info,
#environment,
#Reviews,
#admission-form {
  /* min-height: 90vh; */
  position: relative;
  padding: 8rem 6vw 0rem 6vw;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
#about {
  padding-top: 12rem;
  /* padding-bottom: 6rem; */
}

#Reviews {
  padding-bottom: 8rem;
}
footer {
  width: 100%;
  position: relative;
  bottom: 0;
  background: var(--color1);
  background: linear-gradient(
    to bottom right,
    var(--navyblue),
    var(--darkblue)
  );
  color: white;
  padding-top: 2rem;
  padding-bottom: 2rem;
  line-height: 25px;
  font-size: 16px;
}
.row {
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.col {
  flex-basis: 25%;
  padding: 1rem;
  align-self: flex-start;
}
.logoimg {
  height: 150px;
  border-radius: 50%;
}
/* .logo {
  width: 80%;
  text-decoration: none;
} */
.col h1 {
  padding-top: 1rem;
  width: fit-content;
  /* font-family: "Sacramento", cursive; */
  line-height: 2.5rem;
  letter-spacing: 1px;
}
.col h3 {
  width: fit-content;
  margin-top: 1rem;
  position: relative;
}
.location {
  width: 50%;
}
.icons {
  display: inline-flex;
  align-items: flex-end;
  color: var(--lightpurple);
}
.icons i {
  color: var(--lightpurple);
  padding-left: 1rem;
}
.icons i:hover {
  color: var(--lightblue);
}
@media screen and (max-width: 768px) {
  .course-grid {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    gap: 5rem;
    padding-top: 4.5rem;
    justify-content: center;
  }
  .box {
    margin-bottom: 3rem;
  }

  #about,
  #why,
  #environment,
  #Reviews,
  #admission-form {
    padding: 6rem 1rem 0rem 1rem;
  }
  #features {
    padding: 3rem 0.5rem;
  }
  .col {
    flex-basis: 50%;
  }
}
@media screen and (max-width: 426px) {
  .col {
    flex-basis: 100%;
  }
}

#admission-form {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px;
  background-color: white;
  /* background-image: url(photos/colorballs.jpg); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
form {
  background-color: #00c2cb;
  border: #f8362c;
  border-width: 5px;
  padding: 2rem;
  max-width: 500px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
  margin-top: 4rem;
}
input {
  /* width: 50%; */
  border: none;
  border-bottom: 2px red;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 1%;
  border-width: 10px;
}
.svg-shadow {
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0% {
    filter: drop-shadow(0px 5px 10px rgb(0 0 0 / 0.6));
    transform: translateY(0);
  }
  50% {
    filter: drop-shadow(0px 5px 10px rgb(0 0 0 / 0.2));
    transform: translateY(-10px);
  }
  100% {
    filter: drop-shadow(0px 5px 10px rgb(0 0 0 / 0.6));
    transform: translateY(0);
  }
}
.slideshow-container {
  /* max-width: 350px; */
  position: relative;
  margin: auto;
  padding: 1.5rem 0;
}

.mySlides {
  display: none;
}
.mySlides img {
  max-width: 700px;
  width: 100%;
  min-height: auto;
}

img {
  /* width: 100%; */
  min-height: auto;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  font-weight: bold;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: none;
}
.slideshow-container a {
  font-size: 1rem;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover,
.prevrev:hover,
.nextrev:hover {
  color: black;
  background-color: white;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.review-container {
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navyblue);
  background: linear-gradient(to bottom right, var(--navyblue), var(--purple));
  border-radius: 20px;
  box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.4);
  padding: 3rem 0rem;
  margin-top: 1.5rem;
}
.prevrev,
.nextrev {
  position: relative;
  padding: 16px;
  font-weight: bold;
  transition: 0.6s ease;
  border-radius: 10px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 45%);
  color: #fff;
  margin: 2rem;
  border: none;
}
.nextrev {
  right: 0;
  border-radius: 10px;
}
.revs {
  display: none;
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
}
.revs p {
  font-style: italic;
  text-align: center;
}
.revs p:last-of-type {
  padding-top: 1rem;
  font-style: normal;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  #Reviews {
    padding-bottom: 8rem;
  }
  .prevrev,
  .nextrev {
    margin: 0;
  }
}
/* -------------ABOUT US PAGE------------ */
#Method,
#Motivation,
#Envi-info,
#Founders {
  background: white;
  padding: 4rem;
  margin: 4rem 10vw;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}
#Method h2,
#Motivation h2,
#Envi-info h2,
#Founders h2 {
  padding: 0;
}
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}
#Method img,
#Motivation img,
#Founders img {
  height: 200px;
}
#Method .right-img,
#Motivation .right-img,
#Envi-info .right-img,
#Founders .right-img {
  padding-right: 6vw;
  padding-left: 6vw;
}
#Method .sub-heading,
#Motivation .sub-heading,
#Envi-info .sub-heading {
  font-weight: 700;
}
#Method .left-img,
#Motivation .left-img,
#Envi-info .left-img,
#Founders .left-img {
  padding-left: 6vw;
  padding-right: 6vw;
}
.title p,
.conclusion p {
  font-weight: 600;
  max-width: fit-content;
  padding-top: 2rem;
  color: var(--purple);
}
.sub-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#Envi-info .main-container {
  padding-top: 2rem;
}
#Envi-info {
  padding-left: 5vw;
  padding-right: 5vw;
}
#Envi-info img {
  height: 100px;
}
.foundertext {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.subtitle :nth-child(2) {
  color: var(--navyblue);
  font-weight: 800;
  padding-top: 0.25rem;
}
.subtitle :nth-child(3) {
  font-weight: 400;
}
@media screen and (max-width: 768px) {
  #Method,
  #Motivation,
  #Envi-info,
  #Founders {
    margin: 2rem;
  }
  #Method .container,
  #Motivation .container,
  #Founders .container {
    gap: 1rem;
    flex-direction: column;
  }
  #Method .reverse,
  #Motivation .reverse,
  #Founders .reverse {
    flex-direction: column-reverse;
  }
}
@media screen and (max-width: 426px) {
  #Method,
  #Motivation,
  #Envi-info,
  #Founders {
    margin: 1rem;
    padding: 1.5rem 1rem;
  }
  #Envi-info .container {
    gap: 1rem;
    flex-direction: column;
  }
}
.linkedIn p {
  color: silver;
  font-size: 0.85rem;
}
.linkedIn span {
  text-decoration: underline;
  color: #0d6efd;
  text-underline-offset: 3px;
}
