/* 

TemplateMo 586 Scholar

https://templatemo.com/tm-586-scholar

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer

--------------------------------------------- */
:root {
  --hmcp-green: #619d69;
  --hmcp-white: #fff;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");

/* Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e1e1e;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 700;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 28px;
  color: #4a4a4a;
}

img {
  width: 100%;
  overflow: hidden;
}

/* Selection */
::selection {
  background: var(--hmcp-green);
  color: #fff;
}
::-moz-selection {
  background: var(--hmcp-green);
  color: #fff;
}

/* Section */
.section {
  padding-top: 30px;
  margin-top: 120px;
}

.section-heading {
  margin-bottom: 60px;
}
.section-heading h2 {
  font-size: 36px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 20px 0;
  line-height: 44px;
}
.section-heading h2 em,
.section-heading h6 {
  color: var(--hmcp-green);
  font-style: normal;
}
.section-heading h6 {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Main Button */
.main-button a {
  display: inline-block;
  background-color: var(--hmcp-green);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 25px;
  border-radius: 20px;
  transition: all .3s;
}
.main-button a:hover,
.orange-button:hover {
  background-color: #4e7e56 !important;
  color: #fff !important;
}
.orange-button {
  background-color: var(--hmcp-green) !important;
  color: #fff !important;
  border: none;
  border-radius: 20px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all .3s;
}

/* Preloader */
.js-preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.99);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  transition: opacity 0.25s ease;
}
.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  position: relative;
  width: 142px;
  height: 40px;
  background: transparent;
}
.preloader-inner .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: var(--hmcp-green);
  border-radius: 50%;
  transform: translateX(0);
  animation: dot 2.8s infinite;
}
.preloader-inner .dots {
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  animation: dots 2.8s infinite;
}
.preloader-inner .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  background: var(--hmcp-green);
  border-radius: 50%;
}
@keyframes dot { 50% { transform: translateX(96px); } }
@keyframes dots { 50% { transform: translateX(-31px); } }

/* Header */
.background-header {
  background-color: var(--hmcp-green) !important;
  border-radius: 0px 0px 25px 25px;
  height: 80px!important;
  position: fixed!important;
  top: 0!important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
  transition: all .5s ease 0s;
}
.header-area {
  position: absolute;
  background-color: transparent;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all .5s ease 0s;
}
.header-area .main-nav {
  background: transparent;
  display: flex
}
.header-area .main-nav .logo img {
  max-height: 60px;
  width: auto;
}
.header-area .main-nav .logo h1 { display: none; }
.header-area .main-nav #search input {
  background-color: rgba(255, 255, 255, 0.10);
  height: 44px;
  width: 250px;
  border-radius: 23px;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  padding: 0px 20px 0px;
}
.header-area .main-nav #search input::placeholder { color: rgba(250, 250, 250, 0.75); }
.header-area .main-nav #search i {
  position: absolute;
  color: #fff;
  right: 20px;
  top: 15px;
  font-size: 16px;
}
.header-area .main-nav ul.nav {
  border-radius: 0px 0px 25px 25px;
  flex-basis: 100%;
  margin-right: 0px;
  justify-content: right;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}
.header-area .main-nav .nav li:last-child { padding-right: 0px; }
.header-area .main-nav .nav li {
  padding-left: 5px;
  padding-right: 5px;
  height: 40px;
  line-height: 40px;
}
.header-area .main-nav .nav li a {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 20px;
  font-weight: 300;
  font-size: 14px;
  height: 40px;
  line-height: 40px;
  text-transform: capitalize;
  color: #222 !important;
  background: transparent;
  transition: all 0.4s ease 0s;
  border: transparent;
  letter-spacing: .25px;
}
.header-area .main-nav .nav li a.active,
.header-area .main-nav .nav li a:hover {
  color: var(--hmcp-green) !important;
  background: #fff !important;
}
.header-area .main-nav .nav li:last-child a {
  background: var(--hmcp-green) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 8px 18px;
}
.header-area .main-nav .nav li .ai-tab {
  background: #fff !important;
  color: var(--hmcp-green) !important;
  border: 2px solid var(--hmcp-green);
  border-radius: 6px;
  padding: 8px 18px;
  margin-left: 8px;
}
footer {
  background: var(--hmcp-green);
  color: #fff;
}
footer p a { color: #fff !important; }
footer p a:hover { opacity: 0.75; }

/* Banner */
.main-banner {
  background-image: url(../images/banner-bg.jpg);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 170px 0px 120px 0px;
}
.main-banner .item-1 { background-image: url(../images/banner-item-01.jpg); }
.main-banner .item-2 { background-image: url(../images/banner-item-02.jpg); }
.main-banner .item-3 { background-image: url(../images/banner-item-03.jpg); }
.main-banner .item {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 25px;
  padding: 100px 100px;
  margin-left: 130px;
}
.main-banner .item span.category {
  background-color: var(--hmcp-green);
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 50px;
}
.main-banner .item h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 70px;
  width: 60%;
  margin-bottom: 40px;
}
.main-banner .item p { color: #fff; width: 65%; }
.main-banner .item .buttons { display: flex; margin-top: 50px; }
.main-banner .item .buttons .main-button { margin-right: 30px; }
.main-banner .item .buttons .main-button a {
  font-size: 14px;
  color: var(--hmcp-green);
  background-color: #fff;
  display: inline-block;
  height: 50px;
  line-height: 50px;
  padding: 0px 25px;
  border-radius: 25px;
  font-weight: 500;
}
.main-banner .item .buttons .icon-button i {
  color: var(--hmcp-green);
  background-color: #fff;
  display: inline-block;
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 16px;
}
.main-banner .item .buttons .icon-button a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.main-banner .owl-nav {
  position: absolute;
  max-width: 1320px;
  bottom: 23px;
  left: 0;
  text-align: right;
}
.main-banner .owl-nav .owl-prev i,
.main-banner .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 1;
  transition: all .3s;
}
.main-banner .owl-nav .owl-prev i:hover,
.main-banner .owl-nav .owl-next i:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.5);
}

/* Services */
.services .service-item:hover .icon img { margin-top: -10px; }
.services .service-item { position: relative; margin-top: 95px; }
.services .service-item .icon {
  width: 190px;
  height: 190px;
  display: inline-block;
  text-align: center;
  line-height: 190px;
  background-color: var(--hmcp-green);
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: -95px;
}
.services .service-item .icon img { max-width: 86px; transition: all .2s; }
.services .service-item .main-content {
  border-radius: 25px;
  padding: 80px 30px 50px 30px;
  background-color: #f1f0fe;
  margin-bottom: 30px;
  margin-right: 80px;
  transition: all .4s;
}
.services .service-item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 30px;
  transition: all .4s;
}
.services .service-item p { color: #4a4a4a; margin-bottom: 25px; }

/* Team */
.team { margin-top: 100px; padding-top: 140px; }
.team-member { position: relative; }
.team-member img {
  max-width: 220px;
  border-radius: 50%;
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translateX(-110px);
  transition: all .3s;
}
.team-member .main-content {
  border-radius: 25px;
  padding: 140px 30px 40px 30px;
  background-color: #f1f0fe;
  text-align: center;
}
.team-member .main-content span.category {
  color: var(--hmcp-green);
  font-size: 15px;
}
.team-member .main-content h4 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 15px;
}
.team-member .main-content ul li {
  display: inline-block;
  margin: 0px 2px;
}
.team-member .main-content ul li a {
  background-color: #fff;
  color: var(--hmcp-green);
  display: inline-block;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all .3s;
}
.team-member .main-content ul li a:hover {
  background-color: var(--hmcp-green);
  color: #fff;
}

/* Footer */
footer {
  margin-top: 150px;
  position: relative;
  background-color: var(--hmcp-green);
  vertical-align: middle;
  min-height: 150px;
  border-radius: 150px 150px 0px 0px;
}
footer p {
  text-align: center;
  line-height: 150px;
  color: #fff;
  font-weight: 400;
}
footer p a {
  color: #fff;
  transition: all .3s;
  position: relative;
  z-index: 3;
}
footer p a:hover { opacity: 0.75; }

/* Responsive */
@media (max-width: 1200px) {
  .header-area .main-nav #search input { width: 200px; }
  .header-area .main-nav .nav li.has-sub:after { right: 15px; }
}
@media (max-width: 992px) {
  .header-area .main-nav #search input,
  .header-area .main-nav #search i { display: none; }
  .main-banner { padding-top: 100px; }
  .main-banner .item { padding: 100px 60px 140px 60px; margin-left: 0px; text-align: center; }
  .main-banner .item h2, .main-banner .item p { width: 100%; }
  .main-banner .item h2 { font-size: 36px; line-height: 50px; }
  .main-banner .item .buttons { display: inline-block; text-align: center; }
  .main-banner .item .buttons .main-button { margin-right: 0px; margin-bottom: 30px; }
  .main-banner .owl-nav { left: 50% !important; transform: translateX(-60px) !important; bottom: 60px; }
  .main-banner .owl-nav .owl-prev i { bottom: 0px; }
  .main-banner .owl-nav .owl-next i { bottom: 0px; position: absolute; left: 65px; }
  .services { margin-top: 80px; }
  .about-us { margin-top: 100px; }
  .accordion { padding: 40px 25px 10px 25px; }
  .services .service-item .icon { width: 170px; height: 170px; line-height: 170px; }
  .about-us .section-heading { margin-left: 0px; margin-top: 120px; }
  .about-us::before, .testimonials::before, .contact-us::before { display: none; }
  .about-us .section-heading p, .testimonials .section-heading p, .contact-us .section-heading p { margin-top: 30px; }
  .about-us .section-heading .main-button { margin-top: 30px; }
  .about-us .main-button a { background-color: var(--hmcp-green); color: #fff; }
  .courses { margin-top: 100px; }
  .fun-facts { margin-top: 70px; }
  .team { margin-top: 160px; }
  .team-member { margin-bottom: 140px; }
  .testimonials { margin-top: -50px; padding: 0px; }
  .testimonials .section-heading { margin-left: 0px; margin-top: 40px; }
  .testimonials .item { padding: 40px 40px 60px 40px; }
  .testimonials .item h4 { font-size: 17px; }
  .testimonials .item img { margin-right: 15px; }
  .testimonials .owl-nav { display: none; }
  .events { margin-top: 80px; }
  .events .item { margin-bottom: 66px; }
  .events .item .image img { position: relative; max-width: 100%; }
  .events .item ul { margin-top: -40px; }
  .events .item ul li:first-child { width: 100% !important; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #ddd; }
  .events .item ul li:nth-child(2) { width: 40% !important; }
  .events .item ul li { display: inline-block; width: 28% !important; }
  .events .item ul li:last-child { text-align: right; }
  .events .item a { bottom: 150px; top: auto; }
  .events .item ul li h6 { font-size: 14px; }
  .contact-us { padding-top: 20px; }
  .contact-us .section-heading { margin-right: 0px; }
  .contact-us .special-offer { background-color: #f1f0fe; margin-bottom: 60px; padding: 34px 30px 34px 100px; width: 100%; }
  .contact-us .special-offer h4 { font-size: 17px; }
  .contact-us .special-offer a { width: 40px; height: 40px; line-height: 40px; top: 15px; right: 15px; }
  .contact-us .contact-us-content { padding: 30px; }
  footer { margin-top: 30px; }
}
@media (max-width: 767px) {
  .header-area { top: 0px; }
  .main-banner .item { padding: 80px 30px 120px 30px !important; }
  .main-banner .owl-nav { left: 30px !important; }
  .event_filter  { padding: 15px 20px; }
  .event_filter li { display: inline-block; margin: 0px; padding: 0px; }
    .event_filter li a { padding: 10px 15px; }
  }