* {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  font-family: 'Montserrat', sans-serif;
}

.header {
  min-height: 100vh;
  width: 100vw;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(https://i.ytimg.com/vi/tyMUVsmWaYw/maxresdefault.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav a{
  text-decoration: none;
}
nav h1 {

  color: #fff;
  font-size: 45px;
  margin-left: 30px;
}

nav .fa-solid {
  display: none;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  margin-left: 40px;
  font-weight: bold;
  transition: .3s ease all;
  cursor: pointer;
  letter-spacing: -1px;
  opacity: 0.8;
  text-transform: uppercase;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.nav-links ul li::after {
  content: '';
  height: 2px;
  width: 0;
  background: orangered;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.nav-links ul li a:hover {
  color: rgb(236, 78, 5);
}

.headline {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 60vw;
  color: #fff;
  transform: translate(-50%, -50%);
  text-align: center;
}

.headline h1 {
  font-size: 65px;
}

.headline p {
  margin-top: 1rem;
}

.learn-btn {
  margin-top: 2.5rem;
  display: inline-block;
  background: #fdfdfd;
  text-decoration: none;
  padding: .8em 2em;
  border-radius: 30px;
  transition: .4s ease all;
  box-shadow: inset 0 -.7em rgba(0, 0, 0, .1);
  transition: all 1s ease-in-out;
  cursor: pointer;
}

.learn-btn:hover {
  color: blue;
  background: crimson;
  transform: scale(1.2);
}

@media only screen and (max-width : 700px) {
  .headline h1 {
    font-size: 22px;
  }

  .nav-links {
    position: fixed;
    background: #0c0c0c;
    height: 100vh;
    width: 200px;
    right: -200px;
    top: 0;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  .nav-links ul li {
    display: block;
    margin: 5% auto;
  }

  nav .fa-solid {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links ul {
    padding: 30px;
  }
}

/*------course------*/

.course {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.course h2 {
  font-size: 42px;
  font-weight: 800;
}

.course p {
  color: #777;
  font-size: 13px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: .5px;
  margin: auto;
}

.course-row {
  display: flex;
  justify-content: space-between;
  margin-top: 3%;
}

.course-col {
  flex-basis: 31%;
  background: #fff3f3;
  border-radius: 10px;
  margin-top: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}

.course-col h3 {
  text-align: center;
  font-weight: bold;
  font-size: 28px;
  color: #fc648a;
}

.course-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width : 700px) {
  .course-row {
    flex-direction: column;
  }
}

/*----Campus----*/

.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 10%;
}

.campus h2 {
  font-size: 42px;
  font-weight: 800;
}

.campus p {
  font-size: 13px;
  color: #777;
}

.campus-row {
  display: grid;
  justify-content: space-between;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 5%;
}

.campus-col {
  cursor: pointer;
}

.campus-col:hover {
  transform: scale(1.05) translateY(-6px);
  transition: .3s ease-in-out;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

@media only screen and (max-width : 700px) {
  .campus-row {
    grid-template-columns: repeat(1, 1fr);
  }
}

/*------Facilities------*/

.faciliti {
  width: 70%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.faciliti h2 {
  font-size: 42px;
  font-weight: 800;
}

.faciliti p {
  font-size: 13px;
  color: #777;
}

.faciliti-row {
  margin: auto;
  padding-top: 7%;
}

.faciliti-col {
  display: flex;

}

.faciliti-col img {
  width: 100%;
  box-sizing: border-box;
  border-radius: 20px;
  box-shadow: 3px 3px 5px lightgray;
}

.faciliti-col1 {
  padding: 50px 30px;
}

@media only screen and (max-width : 700px) {
  .faciliti-col {
    display: block;
  }

  #facility-col {
    padding-bottom: 5%;
  }
}

.testimonial {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.testimonial h2 {
  font-size: 42px;
  font-weight: 800;
}

.testimonial .head {
  font-size: 13px;
  color: #9a9a9a;
}

.testimonial-row {
  padding-top: 7%;
  display: flex;
  justify-content: space-between;
}

.testimonial-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background-color: #fff3f3;
  padding: 25px;
  cursor: pointer;
}

.testimonial-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.testimonial-col .para {
  font-size: 15px;
  color: #0c0c0c;
}

.testimonial-col h3 {
  padding-top: 2%;
}

.testimonial-col .fa-solid {
  color: #fc648a;
}

@media only screen and (max-width : 700px) {
  .testimonial-row {
    padding-top: 7%;
    display: block;
    justify-content: space-between;
  }
}

/*-----Contact Section Start-----*/

.cs {
  width: 80%;
  margin: 10px auto;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(Img/background1.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}

.cs h2 {
  font-size: 38px;
  font-weight: 600;
  color: white;
}

.cs a {
  margin-top: 2.5rem;
  display: inline-block;
  background: #fdfdfd;
  text-decoration: none;
  padding: .8em 2em;
  border-radius: 30px;
  transition: .4s ease all;
  box-shadow: inset 0 -.7em rgba(0, 0, 0, .1);
  transition: all 1s ease-in-out;
  cursor: pointer;
}

.cs a:hover {
  color: blue;
  background: rgb(8, 237, 54);
  transform: scale(1.1);
}

@media only screen and (max-width : 700px) {
  .cs h2 {
    font-size: 25px;
    font-weight: 600;
    color: white;
  }
}

/*------map-------*/

.map {
  width: 100%;
  height: 660px;
}

/*---------About Us----------*/

.about {
  width: 80%;
  margin: 70px auto;
  text-align: center;
}

.about h2 {
  color: #ec637c;
  font-size: 38px;
  font-weight: 700;
  padding-bottom: 30px;
}

/*----------footer--------*/

footer {
  margin-top: 30px;
  background: #0ca96f;
  width: 100vw;
  bottom: 0;
  left: 0;
}

footer::before {
  position: absolute;
  left: 0;
  top: 100px;
  height: 1px;
  width: 100%;
  background: #AFAFB6;
}

footer .content {
  max-width: 1250px;
  margin: auto;
  padding: 30px 40px 40px 40px;
}

footer .content .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.content .top .logo-details {
  color: #fff;
  font-size: 30px;
}

.content .top .media-icons {
  display: flex;
}

.content .top .media-icons a {
  height: 40px;
  width: 40px;
  margin: 0 8px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.top .media-icons a:nth-child(1) {
  background: #4267B2;
}

.top .media-icons a:nth-child(1):hover {
  color: #4267B2;
  background: #fff;
}

.top .media-icons a:nth-child(2) {
  background: #1DA1F2;
}

.top .media-icons a:nth-child(2):hover {
  color: #1DA1F2;
  background: #fff;
}

.top .media-icons a:nth-child(3) {
  background: #E1306C;
}

.top .media-icons a:nth-child(3):hover {
  color: #E1306C;
  background: #fff;
}

.top .media-icons a:nth-child(4) {
  background: #0077B5;
}

.top .media-icons a:nth-child(4):hover {
  color: #0077B5;
  background: #fff;
}

.top .media-icons a:nth-child(5) {
  background: #FF0000;
}

.top .media-icons a:nth-child(5):hover {
  color: #FF0000;
  background: #fff;
}

footer .content .link-boxes {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer .content .link-boxes .box {
  width: calc(100% / 5 - 10px);
}

.content .link-boxes .box .link_name {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}

.link-boxes .box .link_name::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 35px;
  background: #fff;
}

.content .link-boxes .box li {
  margin: 6px 0;
  list-style: none;
}

.content .link-boxes .box li a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.4s ease
}

.content .link-boxes .box li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.content .link-boxes .input-box {
  margin-right: 55px;
}

.link-boxes .input-box input {
  height: 40px;
  width: calc(100% + 55px);
  outline: none;
  border: 2px solid #AFAFB6;
  background: #0ca96f;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 15px;
  color: #fff;
  margin-top: 5px;
}

.link-boxes .input-box input::placeholder {
  color: #AFAFB6;
  font-size: 16px;
}

.link-boxes .input-box input[type="button"] {
  background: #fff;
  color: #0ca96f;
  border: none;
  font-size: 18px;
  font-weight: 500;
  margin: 4px 0;
  opacity: 0.8;
  cursor: pointer;
  transition: all 0.4s ease;
}

.input-box input[type="button"]:hover {
  opacity: 1;
}

footer .bottom-details {
  width: 100%;
  background: #0ca96f;
}

footer .bottom-details .bottom_text {
  max-width: 1250px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
}

.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
}

.bottom-details .bottom_text a:hover {
  opacity: 1;
  text-decoration: underline;
}

.bottom-details .bottom_text a {
  margin-right: 10px;
}

@media (max-width: 900px) {
  footer .content .link-boxes {
    flex-wrap: wrap;
  }

  footer .content .link-boxes .input-box {
    width: 40%;
    margin-top: 10px;
  }
}

@media (max-width: 700px) {
  footer {
    position: relative;
  }

  .content .top .logo-details {
    font-size: 26px;
  }

  .content .top .media-icons a {
    height: 35px;
    width: 35px;
    font-size: 14px;
    line-height: 35px;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 3 - 10px);
  }

  footer .content .link-boxes .input-box {
    width: 60%;
  }

  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a {
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  footer::before {
    top: 145px;
  }

  footer .content .top {
    flex-direction: column;
  }

  .content .top .media-icons {
    margin-top: 16px;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 2 - 10px);
  }

  footer .content .link-boxes .input-box {
    width: 100%;
  }
}



/*------ About Us Page -------*/

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(Img/background.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  text-align: center;
  color: #fff;
}

.sub-header h1 {
  font-size: 35px;
  font-weight: bold;
  margin-top: 100px;
}

.about-us {
  width: 80%;
  margin: auto;
  padding-top: 80px;
  padding-bottom: 50px;
}

.about-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;
  box-shadow: rgba(9, 30, 66, .2) 0px 4px 8px -2px,
    rgb(9 30 66 / 2%) 0px 0px 1px;
  transition: .3s ease all;
}

.about-col {
  text-align: center;
  padding: 30px 2px;
}

.about-col h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.about-col p {
  line-height: 1.7em;
}

.about-col a {
  margin-top: 2.5rem;
  display: inline-block;
  background: #f6e0e0;
  text-decoration: none;
  padding: .8em 2em;
  border-radius: 30px;
  transition: .4s ease all;
  box-shadow: inset 0 -.7em rgba(0, 0, 0, .1);
  transition: all 1s ease-in-out;
  cursor: pointer;
}

.about-col a:hover {
  color: blue;
  background: rgb(8, 237, 54);
  transform: scale(1.1);
}

.about-col img {
  padding: 0 8px;
  border-radius: 20px;
}

@media only screen and (max-width : 700px) {
  .about-row {
    display: block;
  }

  .about-col img {
    height: 250px;
    width: 270px;
  }
}

/*---- Blog Page ----*/

.blog {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.container {
  display: flex;
  justify-content: center;
  border-radius: 20px;
  box-shadow: rgba(9, 30, 66, .2) 0px 4px 8px -2px,
    rgb(9 30 66 / 2%) 0px 0px 1px;
  transition: .3s ease all;
  padding-top: 30px;
}

.container-left {
  flex-basis: 77%;
}

.container-left img {
  width: 100%;
  border-radius: 15px;
}

.container-left h2 {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 3rem;
  color: #323532;
  text-align: center;
  line-height: .8em;
  letter-spacing: -.05em;
  word-wrap: break-word;

}

.container-left p,
ol {
  padding: 10px 0;
  word-wrap: break-word;
}

/*---- Contact Page -----*/

.contact {
  width: 80%;
  margin: 50px 0;
}

.contact div {
  padding-left: 10%;
}

.contact-us {
  width: 80%;
  margin: auto;
}

.contact-row {
  display: flex;
  justify-content: space-between;
}

.contact-col div {
  display: flex;
  padding: 20px 20px;
  padding-left: 5%;
}

.contact-col div span {
  margin-left: 15px;
}

.fa-solid {
  color: #f5a505;
}

/*--contact form --*/

.contact-col form {
  padding: 20px 20px;
  padding-right: 18%;
}

.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

#submit {
  margin-top: 2.5rem;
  display: inline-block;
  background: #f36507;
  text-decoration: none;
  padding: .8em 2em;
  border-radius: 10px;
  transition: .4s ease all;
  transition: all 1s ease-in-out;
  cursor: pointer;
}

#submit:hover {
  color: blue;
  background: rgb(28, 203, 63);
  transform: scale(1.1);
}
@media only screen and (max-width : 700px) {
  .contact-col div {
    
    padding-left: 0%;
  }
  .contact-row {
    display: block;
  }
}