/* font-family: 'Raleway', sans-serif; */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700;800;900&display=swap");
:root {
  /* hex */
  --primary: #42b883;
  --primary-light: #c2e9d7;
  --primary-dark: #236145;
  --white: #ffffff;
  --light: #f2f2f2;
  --success: #42b883;
  --black: #000000;
  --dark: #212529;
  /* rgb */
  --primary-rgb: 66, 184, 131;
  --primary-light-rgb: 194, 233, 215;
  --primary-dark-rgb: 35, 97, 69;
  --white-rgb: 255, 255, 255;
  --light-rgb: 242, 242, 242;
  --success-rgb: 66, 184, 131;
  --black-rgb: 0, 0, 0;
  --dark-rgb: 33, 37, 41;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
  background-color: var(--light);
  font-weight: 500;
}
button {
  outline: none;
  border: none;
  background-color: var(--success);
  color: var(--white);
}
a {
  text-decoration: none;
}
input,
textarea {
  outline: none;
  border: none;
}
/* button */
.button {
  padding: 10px 20px;
  font-size: 16px;
  color: var(--white);
  background-color: var(--success);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
  font-weight: 500;
}
.button:hover {
  color: var(--success);
  box-shadow: 0 10px 30px -4px rgba(var(--success-rgb), 0.5);
}
.button::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 100%;
  top: 0;
  left: -100%;
  transform: skew(50deg);
  transition-duration: 0.6s;
  transform-origin: top left;
  width: 0;
  transition: all 0.3s ease;
  background-color: var(--white);
}
.button:hover::after {
  height: 100%;
  width: 200%;
}
/* text colors */
.tc-primary {
  color: var(--primary) !important;
}
.tc-primary-light {
  color: var(--primary-light) !important;
}
.tc-white {
  color: var(--white) !important;
}
.tc-light {
  color: var(--light) !important;
}
.tc-black {
  color: var(--black) !important;
}
.tc-dark {
  color: var(--dark) !important;
}
.tc-success {
  color: var(--success) !important;
}
/* background colors */
.bgc-primary {
  background-color: var(--primary) !important;
}
.bgc-primary-light {
  background-color: var(--primary-light) !important;
}
.bgc-white {
  background-color: var(--white) !important;
}
.bgc-light {
  background-color: var(--light) !important;
}
.bgc-black {
  background-color: var(--black) !important;
}
.bgc-dark {
  background-color: var(--dark) !important;
}
.bgc-success {
  background-color: var(--success) !important;
}
/* min height 100vh */
.mh-100vh {
  min-height: 100vh;
}

/* header */
header {
  box-shadow: 0 0 15px -2px rgba(var(--primary-dark-rgb), 0.3);
  height: 70px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  position: relative;
  z-index: 999;
}
.h_fixed {
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
  width: 100%;
}
/* logo/brand */
.navbar-brand {
  font-size: 36px;
  font-weight: 600;
  color: var(--primary);
  width: 46px;
}
.navbar-brand:hover {
  color: var(--primary);
}
.navbar-brand img {
  height: 80px;
}

/* nav menu items */
header .nav-item {
  padding: 0 15px;
  position: relative;
}
header .nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  transition: 0.3s ease;
}
header .nav-link:focus,
header .nav-link:hover,
header .nav-link.active {
  color: var(--primary);
}
header .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: 0.3s ease;
}
header .nav-link:hover::before,
header .nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}
/* menu dropdown list */
header .nav-item .menu_dropdown_list{
    position: absolute;
    z-index: 9;
    top: 80px;
    min-width: 175px;
    background-color: var(--primary-dark);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease;
    box-shadow: 0 7px 20px rgba(var(--primary-dark-rgb), 0.5);
}
header .nav-item:hover .menu_dropdown_list{
    top: 57px;
    opacity: 1;
    visibility: visible;
}
header .nav-item  .menu_dropdown_list ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
header .nav-item  .menu_dropdown_list ul li a{
    font-size: 14px;
    color: var(--white);
    display: block;
    padding: 10px 15px;
    transition: 0.3s ease;
}
header .nav-item  .menu_dropdown_list ul li a:hover{
    background-color: rgba(var(--dark-rgb),0.2);
}



/* search box popup */
#search {
  position: fixed;
  z-index: 999;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--primary-dark-rgb), 0.95);
  transition: all 0.5s ease-in-out;
  transform: translate(0px, -100%) scale(0, 0);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#search form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 500px;
  position: relative;
}
#search input[type="search"] {
  width: calc(100% - 60px);
  color: #fff;
  background: transparent;
  font-size: 40px;
  font-weight: 300;
  border: 0px;
  outline: none;
}
#search input[type="search"]::placeholder {
  opacity: 1;
  color: var(--white);
}
#search .btn {
  background-color: var(--success);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  outline: none;
  font-size: 22px;
}
#search .close {
  position: fixed;
  top: 15px;
  right: 15px;
  color: #fff;
  background-color: var(--success);
  opacity: 1;
  font-size: 24px;
  outline: none;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
#search .close i {
  pointer-events: none;
}
#search.open {
  transform: translate(0px, 0px) scale(1, 1);
  opacity: 1;
}
/* main/wrapper */
.wrapper{
    min-height: calc(100vh - 70px - 84px);
}
/* hero section */
.hero__sec {
  display: flex;
}
/* g ads */
.g-ads,
.sidebar {
  width: 180px;
  min-height: calc(100vh - 70px - 84px);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 10px;
}
/* owl slider */
.banner_slider {
  width: calc(100% - 360px);
  max-width: calc(100% - 360px);
}
.banner_slider img {
  width: 100%;
  height: 600px;
  object-fit: fill;
}
.item {
  opacity: 0.4;
  transition: 0.4s ease all;
  margin: 0 20px;
  transform: scale(0.8);
}
.active .item {
  opacity: 1;
  transform: scale(1);
}
.owl-item {
  transform: translateZ(0) scale(1, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
}
.owl-controls {
  position: absolute;
  margin-top: 300px;
}
/* owl dots */
.owl-dots {
  text-align: center;
  padding-top: 15px;
}
.owl-dots button.owl-dot {
  width: 30px;
  height: 10px;
  border-radius: 50px;
  display: inline-block;
  background-color: rgba(var(--primary-dark-rgb),0.3);
  margin: 0 5px;
}
.owl-dots button.owl-dot.active {
  background-color: var(--primary-dark);
}

/* footer */
footer {
  background-color: var(--primary-dark);
  padding: 20px 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--light);
}
footer a {
  color: var(--light);
  transition: 0.3s ease;
}
footer a:hover {
  color: var(--primary-light);
}
footer .social-icons {
  text-align: right;
}
footer .social-icons a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: rgba(var(--primary-light-rgb), 0.15);
}

.social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.social-icons li {
  display: inline-block;
  margin-bottom: 4px;
}
.social-icons a {
  color: var(--primary-light);
  font-size: 16px;
  display: inline-block;
  line-height: 44px;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
}
.social-icons a.facebook:hover {
  background-color: #3b5998;
}
.social-icons a.twitter:hover {
  background-color: #00aced;
}
.social-icons a.linkedin:hover {
  background-color: #007bb6;
}
.social-icons a.dribbble:hover {
  background-color: #bc2a8d;
}

/* pages design */

/* articles */
.sidebar {
  height: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 15px;
  background-color: #0e281c !important;
}
.article-box,
.quiz-box {
    min-height: calc(100vh - 70px - 84px);
  width: calc(100% - 360px);
  padding: 30px;
}

.article-box img{max-width:100%;max-height:100%;}
.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 15px;
  text-align: left;
}
.sidebar ul li a {
  font-size: 18px;
  color: var(--light);
  margin-bottom: 5px;
  display: block;
}

/* quiz-section */
.quiz-section {
  display: flex;
}
.quiz_form ol,
.show_answers ol {
  list-style-type: upper-alpha;
  padding-left: 40px;
}
.form-check {
  padding-left: 10px;
}
.form-check label {
  position: static;
  margin-left: 10px;
  pointer-events: all;
}
.form-check input {
  margin-bottom: 0;
  width: 17px;
  height: 17px;
  padding: 0;
  margin-top: 0 !important;
  margin-left: 0 !important;
  transition: all 0.3s ease;
}
.form-check-input:checked {
  background-color: var(--success);
  border-color: var(--success);
}
.quiz_form img {
  width: 200px;
  height: 150px;
  margin-left: 25px;
  margin-bottom: 15px;
}
/* show_answers  */
.show_answers * {
  pointer-events: none;
}

/* contact page */
#contact {
  background-color: var(--primary-light);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-box {
  width: clamp(100px, 90%, 1000px);
  margin: 80px 50px;
  display: flex;
  flex-wrap: wrap;
}

.contact-links,
.contact-form-wrapper {
  width: 50%;
  padding: 8% 5% 10% 5%;
}

.contact-links {
  background-color: #1f2e43;
  background: radial-gradient(
      circle at 55% 92%,
      #52ab98 0 12%,
      transparent 12.2%
    ),
    radial-gradient(circle at 94% 72%, #c2e9d7 0 10%, transparent 10.2%),
    radial-gradient(
      circle at 20% max(78%, 350px),
      #52ab98 0 7%,
      transparent 7.2%
    ),
    radial-gradient(circle at 0% 0%, #3b765b 0 40%, transparent 40.2%), #236145;
}

.contact-form-wrapper {
  background-color: var(--light);
}

.form-item {
  position: relative;
}

label {
  position: absolute;
  top: 13px;
  left: 15px;
  color: rgba(var(--black-rgb), 0.5);
  font-size: clamp(14px, 1.5vw, 18px);
  pointer-events: none;
  user-select: none;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  outline: 0;
  border: 1px solid var(--primary-light);
  border-radius: 0;
  margin-bottom: 30px;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
}
textarea {
  min-height: 70px;
}
input:focus ~ label,
textarea:focus ~ label {
  font-size: 16px;
  color: var(--dark);
  top: -25px;
  left: 0;
}

span.error{color: red;font-size: 12px;position: absolute;top: 0;right: 0;}
#search span.error{color: #fff;}

.captcha-img {
  /*width: 150px;*/
  /*height: 70px;*/
  margin-bottom: 30px;
}
/*.captcha-img img {*/
/*  width: 100%;*/
/*  height: 100%;*/
/*}*/

.captcha-img .readText{margin-bottom: 0;margin-top: 5px;font-size: 12px;}

#contactForm .form-item.isOpen label{font-size: 16px;color: #212529;top: -25px;left: 0;}

/* table */
table {
    width: 100%;
    border: 1px solid var(--primary-dark);
}
table tr:first-child{
    background-color: var(--primary-dark);
    color: #fff;
}
table tr td{
    padding: 10px;
}

/* privacy_policy_alert */
.privacy_policy_alert{
    position: fixed;
    z-index: 999;
    bottom: 0;
    width: 100%;
    background-color: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: 0;
}

.alphaUl{padding-left:20px;list-style:none;}
.alphaUl li{display: flex;}
.alphaUl li .alpha{text-transform: uppercase;}




.loader {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  border: 7px solid var(--primary-light);
  border-top-color: var(--primary);
  box-sizing: border-box;
  background: transparent;
  animation: loading 1s linear infinite;
  display: block;
  margin: 250px auto;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  0% {
    transform: rotate(-360deg);
  }
}

.footerSection .downToUpBtn{width: 35px;height:35px;background-color:#236145;color:#fff;font-size: 18px;display: flex;align-items:center;justify-content:center;position: fixed;right: 10px;bottom: 100px;transform: translateX(140%);}
.footerSection .downToUpBtn.active{transform: translateX(0);}