@charset "utf-8";

:root {
  --light-color: rgb(255, 255, 255);
  --dark-color: rgb(0, 0, 0);
}

/* CLEAN BASE */
html,
body,
br,
div,
span,
a,
object,
iframe,
ul,
ol,
dl,
li,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
q,
address,
small,
big,
cite,
dfn,
ins,
del,
i,
em,
b,
strong,
sup,
sub,
strike,
pre,
code,
samp,
kbd,
var,
tt,
form,
fieldset,
legend,
label,
input,
textarea,
option,
.nobox {
  background: transparent;
  border: 0;
  font-size: 100%;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

blockquote,
q {
  quotes: none;
}

blockquote {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 40px;
  margin-inline-end: 40px;
}

br {
  height: 0;
}

ul,
ol,
dl,
li {
  margin: 0;
  padding: 0;
}

html,
body {
  border: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

/* Class for clearing floats */
.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.cf:after,
.cf:before {
  display: table;
  content: '';
}

.cf:after {
  clear: both;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* BASE TYPOGRAPHY */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: top;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.02px;
  line-height: normal;
  color: var(--body-text-color);
}

a {
  text-decoration: none;
  display: inline-block;
  color: var(--body-text-color);
}

.btn {
  display: inline-block;
  background-color: var(--button-bg-color);
  border: 2px solid var(--button-bg-hover-color);
  color: var(--button-bg-hover-color);
  padding: 15px 30px 17px;
  line-height: 1;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--button-bg-hover-color);
  border-color: var(--button-bg-color);
  color: var(--button-bg-color);
}

.container {
  width: 100%;
  margin: 0px auto;
  max-width: 1300px;
  padding: 0px 15px;
}

.section-padding {
  padding: 40px 0;
}

.light {
  color: var(--light-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

h1 {
  font-size: 50px;
  line-height: 60px;
  font-weight: 600;
  margin-bottom: 15px;
}

h2 {
  font-size: 40px;
  line-height: 50px;
  font-weight: 600;
  margin-bottom: 15px;
}

h3 {
  font-size: 32px;
  line-height: 42px;
  margin-bottom: 15px;
  font-weight: 600;
}

h4 {
  font-size: 28px;
  line-height: 38px;
  font-weight: 600;
  color: var(--body-text-color);
  margin-bottom: 15px;
}

h5 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
  color: var(--body-text-color);
  margin-bottom: 15px;
}

h6 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: var(--body-text-color);
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 10px;
}

p:last-of-type {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 20px;
}

/* START HEADER */
header {
  padding: 20px 0px;
  border-bottom: 1px solid #c7c7c7;
  background-color: var(--primary-color);
  overflow: hidden;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-wrap .menu {
  list-style: none;
  display: flex;
  padding: 0;
}

.header-wrap .menu>li:not(:last-child) {
  margin-right: 30px;
}

.header-wrap .menu>li a,
footer .menu-footer-menu-container .menu>li a {
  color: var(--body-text-color);
  cursor: pointer;
}

.header-wrap .menu>li a:hover {
  opacity: 0.6;
}

.header-wrap .site-logo img {
  max-width: 180px;
  object-fit: cover;
}

.mobile-menu-trigger {
  width: 5rem;
  height: 3rem;
  position: relative;
  z-index: 10;
  border-radius: 100%;
  display: none;
  margin-left: auto;
}

.mobile-menu-trigger span {
  height: 2px;
  background-color: #000000;
  width: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

.mobile-menu-trigger span::before,
.mobile-menu-trigger span::after {
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: #000000;
  content: "";
  top: -9px;
  right: 0;
}

.mobile-menu-trigger span::after {
  top: 9px;
}

.menu-open .mobile-menu-trigger span::before {
  -webkit-transform: rotateZ(45deg) scaleX(1) translate(5px, 8px);
  transform: rotateZ(45deg) scaleX(1) translate(5px, 8px);
  width: 2.5rem;
  height: 2px;
}

.menu-open .mobile-menu-trigger span::after {
  -webkit-transform: rotateZ(-45deg) scaleX(1) translate(5px, -8px);
  transform: rotateZ(-45deg) scaleX(1) translate(5px, -8px);
  width: 2.5rem;
  height: 2px;
}

/* END HEADER */

/* START FOOTER */
footer {
  padding: 40px 0px 0px 0px;
  background: var(--primary-color);
  border-top: 1px solid #c7c7c7;
  overflow:hidden;
}

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

.copyright {
  border-top: 1px solid #c7c7c7;
  padding: 20px 0;
  text-align: center;
}

.social-icons img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.social-icons a:hover {
  opacity: 0.65;
}

.social-icons {
  display: flex;
  gap: 20px;
}

footer .menu-footer-menu-container .menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

footer .menu-footer-menu-container .menu>li:not(:last-child) {
  margin-right: 15px;
}

.footer-logo img {
  max-width: 250px;
  height: auto;
  object-fit: contain;
}

.footer-top .footer-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.back_to_top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  z-index: 10;
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
	transition: all 0.3s ease;
}
.back_to_top:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
}
.back_to_top img {
  display: block;
  max-width: 20px;
  height: auto;
  object-fit: contain;
}
.back_to_top:hover img{
	filter: invert(1);
}
/* END FOOTER */

/* SECTION CSS STARTS HERE */
section {
  padding: 60px 0px;
  overflow:hidden;
}

/* SECTION CSS STARTS HERE */
/* DEFAULT PAGE START HERE */
.post-inner .post-content {
  margin: -30px 15px 15px;
  padding: 15px;
  background: var(--light-color);
  z-index: 1;
  position: relative;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 5px;
  flex: 1;
  overflow: hidden;
}

.post-wrap .post-inner {
  padding: 15px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}

.post-content .post-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-content .post-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.post-info .author,
.post-info .author,
.post-info .post-category {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.post-info .author img,
.post-info .post-category img {
  max-width: 16px;
  display: block;
  margin-right: 6px;
}

.post-inner .post-img {
  position: relative;
}

.post-img .post-date {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%) scale(0.25);
  opacity: 0;
  z-index: 1;
  max-width: 92px;
  margin: 0 auto;
  padding: 10px;
  white-space: normal;
  display: inline-block;
  text-align: center;
  border: 4px solid #fff;
  transition: all 0.3s ease;
}

.post-wrap .post-inner:hover .post-date {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.post-inner .feature-img {
  position: relative;
  padding-bottom: 67%;
  overflow: hidden;
}

.post-wrap .post-inner .feature-img::before {
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-wrap .post-inner:hover .feature-img::before {
  opacity: 1;
}

.post-inner .feature-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.post-inner:hover .feature-img img {
  transform: scale(1);
}

/* DEFAULT PAGE END HERE */

/* SINGLE POST CSS START HERE */
.post-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.post-banner,
.page-banner,
.error-img {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.post-banner .banner-img img,
.page-banner .page-image img,
.error-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-banner .post-title,
.page-banner .page-title,
.error-img h2 {
  position: relative;
  z-index: 1;
  color: var(--light-color);
  text-align: center;
}

.post-banner::before,
.page-banner::before,
.error-img::before {
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.post-content .post-meta {
  display: inline-flex;
  margin-bottom: 30px;
  gap: 20px;
}

.post-meta span img {
  max-width: 25px;
  display: inline-block;
  margin-right: 8px;
}

.post-meta span,
.post-meta span>a {
  display: inline-flex;
  align-items: center;
}

/* SINGLE POST CSS ENDS HERE */


/* START 404 PAGE DESIGN */
.error-page {
  padding: 0;
}

.error-wrap,
.error-img {
  padding: 50px 0;
  text-align: center;
  overflow: hidden;
}

.error-wrap h1 {
  font-size: 9vw;
  line-height: 1;
}

.error-wrap .btn {
  margin-top: 20px;
}

/* END 404 PAGE DESIGN */
/* START SEARCH RESULT PAGE DESIGN */
.search-result {
  text-align: center;
}

/* ENDS SEARCH RESULT PAGE DESIGN */

/* PAGINATION DESIGN */
.pagination {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.pagination .page-numbers:not(.prev, .next, .dots) {
  background: var(--primary-color);
  color: var(--body-text-color);
  width: 50px;
  height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.pagination .page-numbers.current,
.pagination .page-numbers:not(.prev, .next):hover {
  background: var(--secondary-color);
  color: #ffffff;
}
/* ENDS PAGINATION DESIGN */

@media (max-width:991px) {
  body.menu-open {
    overflow-y: hidden;
  }

  .post-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-menu-trigger {
    display: block;
    z-index: 999999;
  }

  .menu-header-menu-container {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    padding: 140px 30px 60px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    transition: left 0.3s ease;
  }

  .menu-header-menu-container.active {
    left: 0;
  }

  .menu-header-menu-container ul {
    max-height: 100%;
    overflow-y: auto;
    width: 100%;
    flex-direction: column;
  }

  .header-wrap .menu-header-menu-container ul li:not(:last-child) {
    margin: 0 0 30px 0;
  }

  .header-wrap .menu-header-menu-container ul li a {
    font-size: 35px;
    color: #ffffff;
  }

  .mobile-menu-trigger.active span {
    background-color: transparent;
  }

  .mobile-menu-trigger.active span:before,
  .mobile-menu-trigger.active span:after {
    background-color: #ffffff;
  }

  .footer-top {
    flex-wrap: wrap;
  }
  .header-menu-container {
    transform: none !important;
}
}

@media (max-width:767px) {
  h1 {
    font-size: 40px;
    line-height: 60px;
  }

  h2 {
    font-size: 32px;
    line-height: 40px;
  }

  h3 {
    font-size: 28px;
    line-height: 38px;
  }

  h4 {
    font-size: 24px;
    line-height: 34px;
  }

  .post-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer-logo img {
    max-width: 180px;
  }

  .footer-top>* {
    width: 100%;
  }

  .footer-top .footer-right .social-icons,
  .menu-footer-menu-container .menu {
    justify-content: flex-end;
  }

  .footer-top .footer-right {
    gap: 20px;
    margin-top: 20px;
  }

  .post-banner,
  .page-banner,
  .error-img {
    min-height: 300px;
  }

  .post-meta span img {
    max-width: 18px;
  }

  .post-content .post-meta span {
    font-size: 14px;
  }

  .post-content .post-meta {
    margin-bottom: 18px;
    gap: 15px;
  }
  .error-wrap h1 {
    font-size: 125px;
  }
  .error-wrap .btn {
    margin-top: 0;
  }
  .header-wrap .site-logo img {
    max-width: 150px;
  }
}