@font-face {
  font-family: PP mori;
  src: url(./Fonts/ppmori.ttf);
}

#cursor {
  height: 30px;
  width: 30px;
  background-color: #028034;
  border-radius: 50%;
  position: fixed;
  z-index: 1000;
}

#cursor-blur {
  height: 400px;
  width: 400px;
  background-color: rgba(125, 167, 42, 0.228);
  border-radius: 50%;
  position: fixed;
  filter: blur(50px);
  z-index: 5;
}

#cursor,
#cursor-blur {
  pointer-events: none;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: PP mori;
  color: #fff;
  font-weight: 800;
}

html,
body {
  height: 100%;
  width: 100%;
  perspective: 800px;
  background: var(--second-color);
}

.main {
  background-color: #0f1c01;
  position: relative;
}

.page1 {
  min-height: 120vh;
  width: 100%;
}

#logo {
  position: relative;
  height: 18vh;
  width: auto;
  top: 20%;
  left: -1.2%;
}

#nav {
  height: 15vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3vw;
}

#nav-part2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
}

#nav #circle {
  height: 1.5vw;
  width: 1.5vw;
  background-color: #fff;
  border-radius: 50%;
}

#nav h4 {
  font-size: 1vw;
  text-transform: uppercase;
  font-weight: 500;
}

#acad-u {
  border-bottom: 1px solid #028034;
}

#discipline {
  margin-top: 6vw;
}

.page1 h1 {
  font-size: 7.5vw;
  font-family: PP mori;
  font-weight: 300;
  margin-left: 20vw;
  line-height: 60%;
  position: relative;
}

#discipline::before {
  content: "Discipline";
  color: #028034;
  position: absolute;
  top: -3px;
  left: -3px;
  -webkit-text-stroke: 1px rgb(125, 167, 42);
  z-index: -1;
}

#appearance::before {
  content: "Appearance";
  color: #028034;
  position: absolute;
  top: -3px;
  left: -3px;
  -webkit-text-stroke: 1px rgb(125, 167, 42);
  z-index: -1;
}
#english::before {
  content: "English";
  color: #028034;
  position: absolute;
  top: -3px;
  left: -3px;
  -webkit-text-stroke: 1px rgb(125, 167, 42);
  z-index: -1;
}
#studies::before {
  content: "Studies";
  color: #028034;
  position: absolute;
  top: -3px;
  left: -3px;
  -webkit-text-stroke: 1px rgb(125, 167, 42);
  z-index: -1;
}

.page1 h2 {
  font-size: 7.5vw;
  font-family: PP mori;
  font-weight: 300;
  margin-left: 40vw;
  position: relative;
}

.page1 video {
  width: 70%;
  margin-top: 2vw;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 50;
}

footer {
  height: 85vh;
  width: 100vw;
  bottom: 0;
  z-index: 100000;
  border-top-left-radius: 7vw;
  background: #77a1d3;
  background: -webkit-linear-gradient(to right, #77d377, #79cbca, #06c97b);
  background: linear-gradient(to right, #77d377, #79cbca, #06c97b);
  color: #fff;
  display: flex;
  justify-content: center;
}

.row {
  width: 90%;
  height: 90%;
  /* background-color: yellow; */
  margin-top: 3%;
  display: flex;
  justify-content: center;
  gap: 1.15vw;
}

.col {
  height: 98%;
  width: 25%;
  /* background-color: red; */
}

.f-logo {
  height: 37%;
  margin-bottom: 1.5vw;
}

.f-abt {
  font-family: Montserrat;
  font-size: 1.28vw;
  width: 90%;
  margin-left: 3%;
  font-weight: 400;
}

.l {
  width: fit-content;
  margin-bottom: 4vw;
  margin-top: 2vw;
  margin-left: 5%;
  color: #136a37;
  transition: all ease 0.3s;
}

.l:hover {
  color: #f6f4f4;
  transition: all linear 0.3s;
}

.col-l p {
  margin-left: 5%;
  margin-top: 0.5vw;
  font-weight: 300;
}

.gps {
  font-family: syne;
  font-weight: 700;
  font-weight: bolder;
  padding-bottom: 1.35vw;
}
#ktmn {
  margin-bottom: 2.5vw;
}

.email-id {
  font-family: syne;
  font-size: 1.24vw;

  cursor: pointer;
  margin-bottom: 2.5vw;
}

.email-id:hover {
  text-decoration: underline;
}

.phone {
  margin-left: 5%;
  font-size: 1.32vw;
}

.col-link h3 {
  font-size: 1.5vw;
  margin-top: 2vw;
  margin-left: 5%;
  color: #136a37;
}

.col-link ul li {
  list-style: none;
  display: inline-block;
  margin-top: 5%;
  margin-right: 2%;
}
.col-link ul li:nth-child(1) {
  margin-left: 7%;
}

.col-link ul li a {
  text-decoration: none;
  padding: 0.8vw;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f6f4f4;
  width: 3vw;
}

.col-link ul li a i {
  font-size: 1.2vw;
  color: #136a37;
}

.col-link h2 {
  font-family: syne;
  font-weight: 700;
  font-weight: bolder;
  margin-bottom: 0.35vw;
  font-size: 1.35vw;
  margin-left: 5%;
}

#g-1 {
  margin-top: 5vw;
  font-family: syne;
  font-size: 1.15vw;
  font-weight: 800;
}

.col-phone h3 {
  font-size: 1.5vw;
  margin-top: 2vw;
  margin-left: 5%;
  color: #136a37;
}

.col-phone p {
  margin-bottom: 0.5vw;
  font-size: 1.35vw;
  margin-left: 5%;
  font-family: Montserrat;
  font-weight: 500;
}

.col-phone-1 {
  padding-top: 2.5vw;
}

.gps-l {
  text-decoration: none;
  font-weight: 800;
  font-family: Montserrat;
}

.page2 {
  min-height: 250vh;
  width: 100%;
  position: relative;
}

.page2 h1 {
  font-size: 4vw;
  font-family: syne;
  font-weight: 700;
  text-align: center;
  margin: 15vh 0 10vh 0;
}

.page2 p {
  width: 80%;
  line-height: 1.05;
  font-family: Montserrat;
  font-size: 1.75vw;
  font-weight: 300;
  text-align: center;
  margin: 0 10%;
}

.junior {
  height: 70vh;
  width: 80vw;
  margin-left: 10vw;
  margin-right: 10vw;
  margin-top: 7vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f6f4f4;
  border-radius: 2vw;
  margin-bottom: 5vw;
}
.junior-left {
  width: 65%;
  height: 100%;
  background-color: #77d37765;
  border-right: 1px solid #f4f4f4;
  border-top-left-radius: 2vw;
  border-bottom-left-radius: 2vw;
}
.junior-right {
  width: 35%;
  height: 100%;
  /* background-color: red; */
  border-top-right-radius: 2vw;
  border-bottom-right-radius: 2vw;
}

.junior-right img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-top-right-radius: 2vw;
  border-bottom-right-radius: 2vw;
}

.junior-left h2 {
  font-size: 2vw;
  width: fit-content;
  margin-left: 10%;
  margin-top: 5%;
  border-bottom: 1.5px solid #028034;
}
.junior-left p {
  width: 87%;
  line-height: 1.2;
  font-size: 1.21vw;
  text-align: left;
  margin-top: 3%;
}

.chatbot-toggler {
  position: fixed;
  bottom: 1.5vw;
  right: 2vw;
  outline: none;
  border: none;
  height: 50px;
  width: 50px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #049c41;
  transition: all 0.2s ease;
  z-index: 10;
}
body.show-chatbot .chatbot-toggler {
  transform: rotate(90deg);
}
.chatbot-toggler span {
  color: #fff;
  position: absolute;
}
.chatbot-toggler span:last-child,
body.show-chatbot .chatbot-toggler span:first-child {
  opacity: 0;
}
body.show-chatbot .chatbot-toggler span:last-child {
  opacity: 1;
}
.chatbot {
  position: fixed;
  right: 2.5vw;
  bottom: 6.2vw;
  width: 33vw;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  transform-origin: bottom right;
  box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
    0 32px 64px -48px rgba(0, 0, 0, 0.5);
  transition: all 0.1s ease;
  z-index: 10;
}
body.show-chatbot .chatbot {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.chatbot header {
  padding: 16px 0;
  position: relative;
  text-align: center;
  color: #f2f2f2;
  background: #028034;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.chatbot header span {
  position: absolute;
  right: 15px;
  top: 50%;
  display: none;
  cursor: pointer;
  transform: translateY(-50%);
}
header h2 {
  font-size: 1.4rem;
  font-family: syne;
}
.chatbot .chatbox {
  overflow-y: auto;
  height: 57vh;
  padding: 30px 20px 100px;
}
.chatbot :where(.chatbox, textarea)::-webkit-scrollbar {
  width: 6px;
}
.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 25px;
}
.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 25px;
}
.chatbox .chat {
  display: flex;
  list-style: none;
}
.chatbox .outgoing {
  margin: 20px 0;
  justify-content: flex-end;
}
.chatbox .incoming span {
  width: 32px;
  height: 32px;
  color: #fff;
  cursor: default;
  text-align: center;
  line-height: 32px;
  align-self: flex-end;
  background: #18ac53;
  border-radius: 4px;
  margin: 0 10px 7px 0;
}
.chatbox .chat p {
  white-space: pre-wrap;
  padding: 12px 16px;
  border-radius: 10px 10px 0 10px;
  max-width: 75%;
  color: #fff;
  font-size: 0.95rem;
  background: #049c41d2;
}
.chatbox .incoming p {
  border-radius: 10px 10px 10px 0;
}
.chatbox .chat p.error {
  color: #721c24;
  background: #f8d7da;
}
.chatbox .incoming p {
  color: #000;
  background: #f2f2f2;
}
.chatbot .chat-input {
  display: flex;
  gap: 5px;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #fff;
  padding: 3px 20px;
  border-top: 1px solid #ddd;
}
.chat-input textarea {
  height: 55px;
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  max-height: 180px;
  padding: 15px 15px 15px 0;
  font-size: 0.95rem;
  color: #000;
}
.chat-input span {
  align-self: flex-end;
  color: #028034;
  cursor: pointer;
  height: 55px;
  display: flex;
  align-items: center;
  visibility: hidden;
  font-size: 1.35rem;
  z-index: 10;
}
.chat-input textarea:valid ~ span {
  visibility: visible;
}
@media (max-width: 490px) {
  .chatbot-toggler {
    right: 20px;
    bottom: 20px;
  }
  .chatbot {
    right: 0;
    bottom: 0;
    height: 100%;
    border-radius: 0;
    width: 100%;
  }
  .chatbot .chatbox {
    height: 90%;
    padding: 25px 15px 100px;
  }
  .chatbot .chat-input {
    padding: 5px 15px;
  }
  .chatbot header span {
    display: block;
  }
}
