/* 

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

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/

@import url("https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700");

/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
div 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 {
  font-family: 'Tinos', sans-serif;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
  line-height: 28px;
}

header,
nav,
section,
article,
aside,
footer,
hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: 'Tinos', 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 {
  font-family: 'Tinos', sans-serif;
  color: #1e1e1e;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 700;
   line-height: 44px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-family: 'Tinos', sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #4a4a4a;
  text-align: justify;
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
---------------------------------------------
Global Styles
--------------------------------------------- 
*/
html,
body {
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #705ce6;
  color: #fff;
}

::-moz-selection {
  background: #705ce6;
  color: #fff;
}

/*.section {
  padding-top: 30px;
  margin-top: 120px;
}*/

.section-heading {
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 600;
  margin: 20px 0;
  line-height: 44px;
}

.section-heading h2 em {
  color: #705ce6;
  font-style: normal;
}

.section-heading h6 {
  color: #705ce6;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
}

.main-button a {
  display: inline-block;
  background-color: #fff;
  color: #705ce6;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 25px;
  border-radius: 20px;
  transition: all .3s;
}

.main-button a:hover {
  background-color: #705ce6;
  color: #fff;
}


/* 
---------------------------------------------
Header Style
--------------------------------------------- 
*/

.header-area {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: #705ce6;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  border-radius: 0 0 25px 25px;
}

.main-nav {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  justify-content: space-between;
}

.header-area .logo h1 {
  font-size: 24px;
  color: #fff;
  margin: 0;
}

.nav {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.nav li a:hover {
  background-color: #fff;
  color: #705ce6;
}

.menu-trigger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-trigger .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 5px;
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #705ce6;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-radius: 25px;
  }

  .nav.active {
    display: flex;
  }

  .menu-trigger {
    display: flex;
  }

  .nav li a {
    font-size: 20px;
    padding: 10px 20px;
  }
}

.no-scroll {
  overflow: hidden;
}


.home {  
  padding-top: 82px;
  padding-bottom: 20px;
  width: 90%;
  margin: 0 auto;
}

/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/

.main-banner {
  background-image: url(../images/header.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 170px 0 120px 0;
  width: 90%;
  margin: 0 auto;
  border-radius: 25px 25px 25px 25px;
}

.main-banner .item {
  padding: 100px;
  border-radius: 25px;
}

.main-banner .item h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 30px;
  width: 500px;
  background-color: #705ce6;
  padding: 15px;
  border-radius: 25px;
}

.main-banner .item p {
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  width: 400px;
  background-color: #705ce6;
  padding: 15px;
  border-radius: 25px;
}

@media (max-width: 991px) {
  .main-banner .item {
    padding: 80px 0 60px 0 !important;
  }

  .main-banner .item h2 {
    font-size: 36px !important;
    width: auto !important;
    margin-bottom: 20px !important;
    padding: 10px !important;
  }

  .main-banner .item p {
    font-size: 16px !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 10px !important;
  }
}

/* 
---------------------------------------------
Offers Style
--------------------------------------------- 
*/

.offers {
  border: 1px solid #705ce6;
  border-radius: 25px;
  padding-top: 50px;
  width: 90%;
  margin: 0 auto;
}

.offers .section-title h2 {
  text-align: center;
}

.offers .section-heading {
  margin: 0 auto 30px;
  text-align: center;
}

.offers p {
  color: #4a4a4a;
  margin-bottom: 25px;
}

.offers .main-content {
  border-radius: 25px;
  padding: 50px 30px 50px 30px;
  background-color: #f1f0fe;
  margin-bottom: 30px;
  /*margin-right: 80px;
  transition: all .4s;
  width: 100%;
  height: calc(100% - 190px);*/
}

/* 
---------------------------------------------
Services Style
--------------------------------------------- 
*/

.services {
  border: 1px solid #705ce6;
  border-radius: 25px;
  padding-top: 50px;
  width: 90%;
  margin: 0 auto;
}

/*
.services .service-item:hover .icon img {
  margin-top: -10px;
}*/

.services .service-item {
  position: relative;
  margin-top: 95px;
  width: 100%;
  height: 500px;

}

.services .section-title h2 {
  text-align: center;
}

.services .section-title p {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 20px;
}


.services .service-item .icon {
  width: 140px;
  height: 140px;
  display: inline-block;
  text-align: center;
  line-height: 140px;
  background-color: #705ce6;
  border-radius: 50%;
  position: absolute;
  right: -15px;
  top: 220px;
}

.services .service-item .icon img {
  max-width: 86px;
  transition: all .2s;
}

.services .service-item .main-content {
  border-radius: 25px;
  padding: 50px 30px 50px 30px;
  background-color: #f1f0fe;
  margin-bottom: 30px;
  margin-right: 80px;
  transition: all .4s;
  width: 100%;
  height: calc(100% - 190px);
}

.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;
}


/* 
---------------------------------------------
References Style
--------------------------------------------- 
*/


.testimonials {
  border: 1px solid #705ce6;
  border-radius: 25px;
  padding-top: 50px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  padding: 80px 0px;
  text-align: center;
}

.testimonials:before {
  content: none;
}

.testimonials .section-heading {
  margin: 0 auto 60px;
  text-align: center;
}

.testimonials .item {
  background-color: #705ce6;
  border-radius: 25px;
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  box-sizing: border-box;
}

.testimonials .item p {
  font-size: 18px;
  line-height: 32px;
  color: #fff;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 30px;
}

.testimonials .item img {
  border-radius: 50%;
  max-width: 100px;
  margin: 0 auto 20px;
  display: block;
}

.testimonials .item h4 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-top: 10px;
}

.testimonials .item span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  color: #fff;
}

.testimonials .owl-nav {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 0;
  width: 100%;
}


.testimonials .owl-nav .owl-prev i,
.testimonials .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  display: inline-block;
  color: #705ce6;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.10);
  transition: all .3s;
}

.testimonials .owl-nav .owl-prev i:hover,
.testimonials .owl-nav .owl-next i:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 767px) {
  .testimonials .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
  }
}

/* 
---------------------------------------------
Footer Style
--------------------------------------------- 
*/

footer {
  margin-top: 82px;
  position: relative;
  background-color: #705ce6;
  text-align: center;
  min-height: 150px;
  border-radius: 25px 25px 0 0;
  padding: 50px 20px;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

footer h2 {
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

footer p {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: #ffffff;
}

/*
footer p:last-of-type {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.9;
}*/

footer .contact-form {
  /*margin: 40px auto 30px;
  max-width: 600px;*/
  text-align: left;
  background: rgba(255 255 255 / 0.15);
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #fff;
}

footer .contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #f0e9ff;
}

footer .contact-form input,
footer .contact-form select,
footer .contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 400;
  /*background-color: rgba(255 255 255 / 0.3);*/
  color: black;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

footer .contact-form input::placeholder,
footer .contact-form textarea::placeholder {
  color: #ddd;
}

footer .contact-form input:focus,
footer .contact-form select:focus,
footer .contact-form textarea:focus {
  outline: none;
  background-color: #fff;
  color: #000;
}

footer .contact-form button {
  background-color: #705ce6;
  color: #fff;
  padding: 14px 40px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
}

footer .contact-form button:hover {
  background-color: #705ce6;
}

footer a {
  color: #d1c7ff;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

footer::before {
  content: '';
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 318px;
  height: 119px;
  background: url(../images/contact-dec-01.png);
  transform: rotate(180deg);
  opacity: 0.07;
  z-index: 2;
}

@media (max-width: 700px) {
  footer .contact-form {
    padding: 20px 15px;
  }

  footer h2 {
    font-size: 26px;
  }

  footer p {
    font-size: 16px;
  }

  footer .contact-form input,
  footer .contact-form select,
  footer .contact-form textarea {
    font-size: 14px;
  }

  footer .contact-form button {
    padding: 12px 30px;
    font-size: 16px;
  }
}



/* 
---------------------------------------------
Responsive Style
--------------------------------------------- 
*/

body {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  /*.header-area {
    width:100%;
    top: 0px;
  }*/

  .header-area .main-nav .logo h1 {
    border-right: none;
  }

  .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 10px;
  }
}



@media (max-width: 600px) {
  .testimonials .owl-nav {
    max-width: 100%;
    padding: 0 10px;
    top: auto;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    width: 120px;
  }

  .testimonials .owl-nav .owl-prev i,
  .testimonials .owl-nav .owl-next i {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 18px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  }
}