/*------------------------------------------------------------------
[Master Stylesheet]

Project:    Nairo Personal Portfolio
Version:    1.0
Primary use:    pxdraft
-------------------------------------------------------------------*/
/*
) Base
) Buttons
) Header
) Footer
) Titles
) Title
) Home Banner
) About Us
) Resume
) Work
) Blog
) Contact
*/
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
html {
  overflow-x: hidden;
}

/* Change Color: from #FF9301 to #DC143C */
/* Change Color: from #D77C00 to #FFAABB */

body {
  background: #10101a;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Rubik", monospac;
  line-height: 1.7;
  font-size: 15px;
  font-weight: 300;
}
body.theme-light {
  background: #fff;
  color: #606060;
  font-weight: 400;
}

.font-alt {
  font-family: "Rubik", serif;
}

img {
  max-width: 100%;
}

* {
  outline: none !important;
}

a {
  /* color: #dc143c; */
  color: #345b96;
}
a:hover {
  color: #345b96;
  text-decoration: underline;
}

mark {
  /* background-image: linear-gradient(#dc143c, #dc143c); */
  background-image: linear-gradient(#345b96, #345b96);
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: 0 bottom;
  background-color: transparent;
  padding: 0;
  color: currentColor;
}

/* ----------------------
*	Loading
---------------------------*/
#loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #345b96;
  z-index: 99999;
}

.load-circle {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 50px;
  height: 50px;
}
.load-circle span {
  display: inline-block;
  width: 64px;
  height: 64px;
}
.load-circle span:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ----------------------
*	owl 
---------------------------*/
.owl-dots {
  text-align: center;
}
.owl-dots .owl-dot {
  display: inline-block;
  vertical-align: top;
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid #fff;
  -moz-transition: ease all 0.55s;
  -o-transition: ease all 0.55s;
  -webkit-transition: ease all 0.55s;
  transition: ease all 0.55s;
  border-radius: 50%;
  margin: 0 5px;
}
.theme-light .owl-dots .owl-dot {
  border-color: #0b0b13;
}
.owl-dots .owl-dot.active {
  background: #fff;
}
.theme-light .owl-dots .owl-dot.active {
  background: #0b0b13;
}

.owl-carousel .owl-item img {
  width: auto;
  max-width: 100%;
}

.px-btn {
  padding: 0 25px;
  line-height: 42px;
  position: relative;
  display: inline-block;
  background: none;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none !important;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.px-btn.px-btn-white {
  background: #fff;
  border-color: #fff;
  color: #0b0b13;
}
.theme-light .px-btn.px-btn-white {
  color: #fff;
  background: #0b0b13;
  /* border-color: #0b0b13; */
}
.px-btn.px-btn-white:hover {
  background: transparent;
  color: #fff;
}
.theme-light .px-btn.px-btn-white:hover {
  /* color: #0b0b13; */
  /* background: #dc143c; */
  background: #345b96;
}
@media (max-width: 991px) {
  .px-btn.px-btn-white {
    margin-left: -35px;
    margin-right: -35px;
  }
}
@media (max-width: 767px) {
  .px-btn.px-btn-white {
    margin-left: -35px;
    margin-right: -35px;
  }
}

/* Bg color
----------------------------*/
.dark-bg {
  background: #0e0e17;
}
.theme-light .dark-bg {
  background: #f7f7ff;
}

@media (min-width: 768px) {
  .main-left {
    padding-left: 80px;
  }
}

.header-left {
  width: 80px;
  position: fixed;
  bottom: 0;
  top: 0;
  background: #0c0c14;
  border-right: 1px solid rgba(11, 11, 19, 0.1);
}
.theme-light .header-left {
  background: #fff;
}
.header-left .scroll-bar {
  height: 100%;
}
.header-left .hl-top a {
  /* background: #dc143c; */
  background: #345b96;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 40px;
  height: 80px;
  width: 80px;
  line-height: 80px;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}
.header-left .nav-menu {
  padding-top: 180px;
  /* padding-bottom: 140px; */
}
.header-left .nav-menu li {
  width: 100%;
}
.header-left .nav-menu li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.theme-light .header-left .nav-menu li + li {
  border-top: 1px solid rgba(11, 11, 19, 0.1);
}
.header-left .nav-menu li .nav-link {
  margin: 0;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
  text-align: center;
}
.theme-light .header-left .nav-menu li .nav-link {
  color: #0b0b13;
}
.header-left .nav-menu li .nav-link i {
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 25px;
}
@media (min-width: 768px) {
  .header-left .nav-menu li .nav-link:hover {
    /* color: #dc143c; */
    color: #345b96;
  }
}
.header-left .nav-menu li .nav-link.active {
  /* color: #dc143c; */
  color: #345b96;
  /* font-weight: 600; */
}

.header-left .social-icons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 80px;
  display: none;
}
.header-left .social-icons a {
  color: #fff;
  font-size: 14px;
  margin-right: 17px;
}
.header-left .social-icons a:hover {
  /* color: #dc143c; */
  color: #345b96;
}

.tooltip {
  font-size: 12px;
}

.mob-header {
  padding: 15px;
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 11;
}
.mob-header > .d-flex {
  align-items: center;
}
.mob-header .navbar-brand {
  padding: 0;
}
.mob-header .logo-text {
  font-weight: 600;
  color: #fff;
  font-size: 25px;
  line-height: 1;
}
.theme-light .mob-header .logo-text {
  color: #0b0b13;
}
.fixed-header .mob-header {
  background: #0b0b13;
}
.theme-light.fixed-header .mob-header {
  background: #fff;
}

.toggler-menu {
  width: 40px;
  height: 40px;
  position: relative;
  margin: 0;
  border-radius: 0;
  padding: 0;
  margin-left: 15px;
  /* background: #dc143c; */
  background: #345b96;
  border: none;
  margin-left: auto;
}
.toggler-menu span {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 25px;
  height: 2px;
  margin: auto;
  box-shadow: 0px -8px 0 0px currentColor, 0px 8px 0 0px currentColor;
  background: #fff;
  color: #fff;
}

@media (max-width: 767px) {
  .mob-header {
    display: block;
  }

  .header-left {
    -moz-transition: ease all 0.35s;
    -o-transition: ease all 0.35s;
    -webkit-transition: ease all 0.35s;
    transition: ease all 0.35s;
    left: -200px;
    z-index: 222;
  }
  .header-left.menu-open {
    left: 0;
  }
}
.footer {
  padding: 12px 0;
  background: #0b0b13;
}
.theme-light .footer {
  background: #fff;
  border-top: 1px solid rgba(11, 11, 19, 0.1);
}
.footer .nav a {
  color: #fff;
  font-size: 14px;
  margin-right: 17px;
}
.theme-light .footer .nav a {
  color: #0b0b13;
}
.footer .nav a:hover {
  /* color: #dc143c; */
  color: #345b96;
}
.footer p {
  color: #fff;
  font-size: 14px;
  margin: 0;
}
.theme-light .footer p {
  color: #0b0b13;
}

/* Added */
.blog-grid-inmain {
  background: #f7f7ff;
  padding: 20px;
  border-radius: 15px;
}

.blog-grid-inmain .blog-img {
  overflow: hidden;
}
.blog-grid-inmain .blog-img img {
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.blog-grid-inmain .blog-info {
  padding-top: 15px;
  /* padding-top: 0; */
}
.blog-grid-inmain .blog-info .meta {
  font-size: 12px;
}
.blog-grid-inmain .blog-info h6 {
  /* font-size: 24px; */
  font-size: 20px;
  font-weight: 500;
  padding-top: 10px;
  /* padding-top: 0; */
}
@media (max-width: 767px) {
  .blog-grid-inmain .blog-info h6 {
    font-size: 20px;
  }
}
.blog-grid-inmain .blog-info a {
  color: #fff;
  background-image: linear-gradient(130deg, #fff, #fff);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.theme-light .blog-grid-inmain .blog-info a {
  color: #0b0b13;
  background-image: linear-gradient(130deg, #0b0b13, #0b0b13);
}
.blog-grid-inmain:hover .blog-info a {
  background-size: 100% 2px;
}
.blog-grid-inmain:hover .blog-img img {
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Added */
.blog-grid {
  background: #f7f7ff;
  padding: 20px;
  border-radius: 15px;
}

.blog-grid .blog-img {
  overflow: hidden;
}
.blog-grid .blog-img img {
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.blog-grid .blog-info {
  /* padding-top: 15px; */
  padding-top: 0;
}
.blog-grid .blog-info .meta {
  font-size: 12px;
}
.blog-grid .blog-info h6 {
  /* font-size: 24px; */
  font-size: 20px;
  font-weight: 500;
  /* padding-top: 10px; */
  padding-top: 0;
}
@media (max-width: 767px) {
  .blog-grid .blog-info h6 {
    font-size: 20px;
  }
}
.blog-grid .blog-info a {
  color: #fff;
  background-image: linear-gradient(130deg, #fff, #fff);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.theme-light .blog-grid .blog-info a {
  color: #0b0b13;
  background-image: linear-gradient(130deg, #0b0b13, #0b0b13);
}
.blog-grid:hover .blog-info a {
  background-size: 100% 2px;
}
.blog-grid:hover .blog-img img {
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.read-more-blog {
  padding-top: 30px;
}

.blog-pagination {
  padding-top: 30px;
}

.pagination .page-item .page-link {
  border: none;
  box-shadow: none;
  color: #fff;
  margin: 0 5px;
  border-radius: 50px;
  padding: 0;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  background: rgba(255, 255, 255, 0.1);
}
.theme-light .pagination .page-item .page-link {
  background: rgba(11, 11, 19, 0.2);
  color: #0b0b13;
  font-weight: 500;
}
.pagination .page-item .page-link:hover {
  /* background: #dc143c; */
  /* border-color: #dc143c; */
  background: #345b96;
  border-color: #345b96;
  color: #fff;
}
.pagination .page-item.disabled .page-link {
  opacity: 0.5;
}
.pagination .page-item.active .page-link {
  /* background: #dc143c; */
  /* border-color: #dc143c; */
  background: #345b96;
  border-color: #345b96;
  color: #fff;
}

.tag-cloud a {
  padding: 4px 15px;
  font-size: 13px;
  color: #fff;
  background: #0b0b13;
  border-radius: 3px;
  margin-right: 4px;
  margin-bottom: 4px;
  font-weight: 400;
}
.theme-light .tag-cloud a {
  color: #0b0b13;
  background: #f7f7ff;
}
.tag-cloud a:hover {
  /* background: #dc143c; */
  background: #345b96;
  color: #fff;
}

.blog-listing {
  padding-top: 120px;
  padding-bottom: 120px;
}
@media (max-width: 991px) {
  .blog-listing {
    padding-bottom: 80px;
  }
}
@media (max-width: 767px) {
  .blog-listing {
    padding-bottom: 50px;
  }
}

.single-blog {
  padding-top: 120px;
  padding-bottom: 120px;
}
@media (max-width: 991px) {
  .single-blog {
    padding-top: 100px;
    padding-bottom: 80px;
  }
}

.article {
  margin: 15px 0 30px;
}
.article .article-title {
  padding: 15px 0 20px;
}
.article .article-title h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}
.article .article-title h6 a {
  text-transform: uppercase;
  /* color: #dc143c; */
  /* border-bottom: 1px solid #dc143c; */
  color: #345b96;
  border-bottom: 1px solid #345b96;
}
.article .article-title h2 {
  color: #fff;
  font-weight: 600;
}
.theme-light .article .article-title h2 {
  color: #0b0b13;
}
@media (max-width: 991px) {
  .article .article-title h2 {
    font-size: 28px;
  }
}
.article .article-title .media {
  padding-top: 15px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}
.theme-light .article .article-title .media {
  border-bottom: 1px dashed rgba(11, 11, 19, 0.1);
}
.article .article-title .media .avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
}
.article .article-title .media .media-body {
  /* padding-left: 8px; */
  padding-left: 0;
}
.article .article-title .media .media-body label {
  font-weight: 600;
  /* color: #dc143c; */
  color: #345b96;
  margin: 0;
}
.article .article-title .media .media-body span {
  display: block;
  font-size: 12px;
}
.article .article-content h1, .article .article-content h2, .article .article-content h3, .article .article-content h4, .article .article-content h5, .article .article-content h6 {
  color: #fff;
  font-weight: 500;
  margin-bottom: 15px;
  margin-top: 30px;
}
.theme-light .article .article-content h1,
.theme-light .article .article-content h2,
.theme-light .article .article-content h3,
.theme-light .article .article-content h4,
.theme-light .article .article-content h5,
.theme-light .article .article-content h6 {
  color: #0b0b13;
}
.article .article-content blockquote {
  max-width: 600px;
  padding: 15px 0 30px 0;
  margin: 0;
}
.article .article-content blockquote p {
  font-size: 20px;
  font-weight: 500;
  /* color: #dc143c; */
  color: #345b96;
  margin: 0;
}
.article .article-content blockquote .blockquote-footer {
  color: #fff;
  font-size: 16px;
}
.theme-light .article .article-content blockquote .blockquote-footer {
  color: #0b0b13;
}
.article .article-content blockquote .blockquote-footer cite {
  font-weight: 600;
}
.article .tag-cloud {
  padding-top: 10px;
}

.article-comment {
  border-radius: 5px;
  overflow: hidden;
  background: #0b0b13;
  padding: 30px;
}
.theme-light .article-comment {
  background: #f7f7ff;
}
.article-comment h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 22px;
}
.theme-light .article-comment h4 {
  color: #0b0b13;
}

/*---------------------------
 Portfolio Start
------------------------------*/
.portfolio-content.grid-col-2 .grid-item {
  width: 50%;
}
@media (max-width: 767px) {
  .portfolio-content.grid-col-2 .grid-item {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .portfolio-content.grid-col-3 .grid-item {
    width: 33.3333%;
  }
}
@media (max-width: 991px) {
  .portfolio-content.grid-col-3 .grid-item {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .portfolio-content.grid-col-3 .grid-item {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .portfolio-content.grid-col-4 .grid-item {
    width: 33.3333%;
  }
}
@media (min-width: 1201px) {
  .portfolio-content.grid-col-4 .grid-item {
    width: 25%;
  }
}
@media (max-width: 991px) {
  .portfolio-content.grid-col-4 .grid-item {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .portfolio-content.grid-col-4 .grid-item {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .portfolio-content.grid-col-5 .grid-item {
    width: 33.3333%;
  }
}
@media (min-width: 1201px) {
  .portfolio-content.grid-col-5 .grid-item {
    width: 20%;
  }
}
@media (max-width: 991px) {
  .portfolio-content.grid-col-5 .grid-item {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .portfolio-content.grid-col-5 .grid-item {
    width: 100%;
  }
}
.portfolio-content.grid-gutter-md {
  margin-left: -4px;
  margin-right: -4px;
}
.portfolio-content.grid-gutter-md .grid-item {
  padding: 8px;
}
.portfolio-content.grid-gutter-lg {
  margin-left: -12px;
  margin-right: -12px;
}
.portfolio-content.grid-gutter-lg .grid-item {
  padding: 12px;
}
.portfolio-content .grid-item {
  float: left;
}

/*Portfolio Filter*/
.portfolio-filter-01 {
  padding-top: 15px;
  padding-bottom: 15px;
}
.portfolio-filter-01 .filter li {
  cursor: pointer;
  margin: 0 15px;
  color: #fff;
  position: relative;
  padding: 5px 0;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
}
.theme-light .portfolio-filter-01 .filter li {
  color: #0b0b13;
}
@media (max-width: 767px) {
  .portfolio-filter-01 .filter li {
    margin: 0 8px;
    font-size: 15px;
  }
}
.portfolio-filter-01 .filter li:after {
  content: "";
  width: 0px;
  left: 0;
  right: 0;
  margin: auto;
  height: 2px;
  /* background: #dc143c; */
  background: #345b96;
  position: absolute;
  -moz-transition: ease all 0.55s;
  -o-transition: ease all 0.55s;
  -webkit-transition: ease all 0.55s;
  transition: ease all 0.55s;
}
.portfolio-filter-01 .filter li:last-child {
  margin-right: 0;
}
.portfolio-filter-01 .filter li:first-child {
  margin-left: 0;
}
.portfolio-filter-01 .filter li.active:after {
  width: 100%;
}

/*Portfolio Style 2*/
.portfolio-box-01 {
  background: #fff;
  position: relative;
}
.portfolio-box-01 .portfolio-img {
  position: relative;
}
.portfolio-box-01 .portfolio-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.portfolio-box-01 .portfolio-icon a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: #fff;
  display: inline-block;
  vertical-align: top;
  background: #0b0b13;
  font-size: 24px;
  text-align: center;
}
.portfolio-box-01 .portfolio-icon a span {
  line-height: inherit;
}
.portfolio-box-01 .portfolio-info {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 20px;
  z-index: 1;
  background: #0b0b13;
  right: 20px;
  text-align: center;
  opacity: 0;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.portfolio-box-01 .portfolio-info h5 {
  margin: 0 0 4px;
  color: #fff;
  font-weight: 500;
  font-size: 22px;
}
.portfolio-box-01 .portfolio-info h5 a {
  color: #fff;
}
.portfolio-box-01 .portfolio-info span {
  color: rgba(255, 255, 255, 0.6);
}
.portfolio-box-01:hover .portfolio-info {
  opacity: 1;
}
.portfolio-box-01:hover .portfolio-icon {
  opacity: 1;
}

/* Section
---------------------*/
.section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 991px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
@media (max-width: 767px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.m-15px-tb {
  margin-top: 15px;
  padding-bottom: 15px;
}

/* Title
-----------------------------------*/
.title {
  margin-bottom: 35px;
}
@media (max-width: 991px) {
  .title {
    margin-left: 35px;
    margin-right: 35px;
  }
  .about-info .title {
    margin-left: 0px;
    margin-right: 0px;
  }
}
@media (max-width: 767px) {
  .title {
    margin-bottom: 25px;
    margin-left: 35px;
    margin-right: 35px;
  }
  .about-info .title {
    margin-left: 0px;
    margin-right: 0px;
  }
}
.title h3 {
  margin: 0;
  color: #fff;
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 30px;
  display: inline-block;
  vertical-align: top;
}
.theme-light .title h3 {
  color: #0b0b13;
}
.title h3:after {
  content: "";
  width: 45px;
  height: 45px;
  border-radius: 50%;
  /* background: #dc143c; */
  background: #345b96;
  position: absolute;
  top: -8px;
  left: -15px;
  z-index: -1;
}

.theme-light .title h3:after {
  /* background: rgba(255, 147, 1, 0.5); */
  /* background: #ffaabb; */
  background: #a2c7ffc5;
}
/* @media (max-width: 991px) {
  .title h3:after {
    top: -4px;
    left: 0;
  }
} */

/* Row (Just for Mobile Environment)
-----------------------------------*/
@media (max-width: 991px) {
  .row {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 767px) {
  .row {
    margin-left: 20px;
    margin-right: 20px;
  }
}

.separated {
  background-image: url(../img/border.png);
  padding-top: 80px;
  padding-bottom: 80px;
  background-repeat: repeat-x;
  background-size: auto 6px;
  background-position: center;
}
.theme-light .separated {
  background-image: url(../img/border-dark.png);
}
@media (max-width: 991px) {
  .separated {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
@media (max-width: 767px) {
  .separated {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Home Banner
-----------------------------------*/
.home-banner {
  position: relative;
  overflow: hidden;
}
.home-banner:after {
  content: "";
  position: absolute;
  right: -20vh;
  bottom: -20vh;
  width: 120vh;
  height: 120vh;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  z-index: -1;
}
.theme-light .home-banner:after {
  background: #f7f7ff;
}
.home-banner .container {
  position: relative;
  z-index: 1;
}
.home-banner .hb-top-fixed {
  position: absolute;
  padding: 30px 50px 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
@media (max-width: 767px) {
  .home-banner .hb-top-fixed {
    display: none !important;
  }
}
.home-banner .hb-top-fixed .hb-info label {
  margin: 0;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
}
.theme-light .home-banner .hb-top-fixed .hb-info label {
  color: #0b0b13;
}
.home-banner .hb-top-fixed .hb-info label + label {
  margin-left: 40px;
}
.home-banner .hb-top-fixed .hb-lang {
  margin-left: auto;
}
.home-banner .hb-top-fixed .hb-lang li + li {
  margin-left: 10px;
}
.home-banner .hb-top-fixed .hb-lang li a {
  color: #fff;
  font-size: 14px;
  padding: 5px 8px;
}
.theme-light .home-banner .hb-top-fixed .hb-lang li a {
  color: #0b0b13;
  font-weight: 500;
}
.home-banner .hb-top-fixed .hb-lang li:hover, .home-banner .hb-top-fixed .hb-lang li.active {
  /* background: #dc143c; */
  background: #345b96;
}
.theme-light .home-banner .hb-top-fixed .hb-lang li:hover a, .theme-light .home-banner .hb-top-fixed .hb-lang li.active a {
  color: #fff;
}
.home-banner .hb-me {
  position: absolute;
  right: 0;
  width: 50vw;
  height: 100%;
  background-size: cover;
  top: 0;
  background-repeat: no-repeat;
  background-position: top left;
}
@media (max-width: 991px) {
  .home-banner .hb-me {
    opacity: 0.4;
    width: 80vw;
  }
}
.home-banner .full-screen {
  min-height: 100vh;
}
.home-banner .type-box {
  padding-top: 90px;
  padding-bottom: 50px;
}
.home-banner .type-box h6 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 20px;
}
.theme-light .home-banner .type-box h6 {
  color: #0b0b13;
}
@media (max-width: 767px) {
  .home-banner .type-box h6 {
    font-size: 18px;
    margin: 0 0 10px;
  }
}
.home-banner .type-box h1 {
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 20px;
  color: #fff;
}
.theme-light .home-banner .type-box h1 {
  color: #0b0b13;
}
@media (max-width: 1200px) {
  .home-banner .type-box h1 {
    font-size: 70px;
  }
}
@media (max-width: 767px) {
  .home-banner .type-box h1 {
    font-size: 50px;
  }
}
.home-banner .type-box .lead {
  color: #fff;
  font-weight: 500;
  /* font-size: 18px; */
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.theme-light .home-banner .type-box .lead {
  /* color: #0b0b13; */
  /* color: #dc143c; */
  color: #345b96;
}
@media (max-width: 767px) {
  .home-banner .type-box .lead {
    font-size: 16px;
    margin-bottom: 15px;
  }
}
.home-banner .type-box .desc {
  max-width: 450px;
}
.home-banner .type-box .btn-bar {
  padding-top: 10px;
}
.home-banner .type-box .btn-bar a {
  color: #fff;
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
  position: relative;
  text-decoration: none;
  padding-left: 0;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.theme-light .home-banner .type-box .btn-bar a {
  color: #0b0b13;
}
@media (max-width: 767px) {
  .home-banner .type-box .btn-bar a {
    font-size: 20px;
  }
}
.home-banner .type-box .btn-bar a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 0;
  height: 2px;
  background: currentColor;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.home-banner .type-box .btn-bar a:hover {
  padding-left: 45px;
  /* color: #dc143c; */
  color: #345b96;
}
.home-banner .type-box .btn-bar a:hover:after {
  width: 40px;
  /* color: #dc143c; */
  color: #345b96;
}

/* About
-----------------------------------*/
.about-me .img-in {
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
}
.theme-light .about-me .img-in {
  border: 5px solid #345b96;
  /* border: 5px solid #0b0b13; */
}
.about-me .img {
  position: relative;
}
@media (max-width: 991px) {
  .about-me {
    margin-bottom: 60px;
  }
  .about-me .img {
    margin-left: 160px;
    margin-right: 160px;
  }
}
@media (max-width: 767px) {
  .about-me .img {
    margin-left: 50px;
    margin-right: 50px;
  }
}
.about-me .info {
  text-align: center;
  padding-top: 40px;
  color: #fff;
}
.theme-light .about-me .info {
  color: #0b0b13;
}
.about-me .info h3 {
  font-weight: 500;
  font-size: 30px;
}
.about-me .info p {
  margin: 0;
  font-size: 16px;
}
.about-me .social-icons {
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
}
.about-me .social-icons a {
  width: 35px;
  height: 35px;
  line-height: 31px;
  background: #fff;
  border: 2px solid #fff;
  color: #0b0b13;
  text-align: center;
  border-radius: 50%;
  position: relative;
  margin: 0 5px;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.theme-light .about-me .social-icons a {
  background: #0b0b13;
  color: #fff;
}
.about-me .social-icons a i {
  line-height: inherit;
}
.about-me .social-icons a:nth-child(1) {
  top: -25px;
}
.about-me .social-icons a:nth-child(2) {
  top: -8px;
}
.about-me .social-icons a:nth-child(3) {
  top: 0px;
}
.about-me .social-icons a:nth-child(4) {
  top: -8px;
}
.about-me .social-icons a:nth-child(5) {
  top: -25px;
  background: radial-gradient(circle at 30% 107%, #0b0b13 0%, #0b0b13 5%, #0b0b13 45%, #0b0b13 60%, #0b0b13 90%);
}
@media (max-width: 767px) {
  .about-me .social-icons a:nth-child(1) {
    left: 5px;
  }
  .about-me .social-icons a:nth-child(5) {
    left: -5px;
  }
}
@media (max-width: 465px) {
  .about-me .social-icons a:nth-child(1) {
    left: 15px;
    top: -30px;
  }
  .about-me .social-icons a:nth-child(2) {
    left: 5px;
    top: -8px;
  }
  .about-me .social-icons a:nth-child(3) {
    top: 0px;
  }
  .about-me .social-icons a:nth-child(4) {
    left: -5px;
    top: -8px;
  }
  .about-me .social-icons a:nth-child(5) {
    left: -15px;
    top: -30px;
  }
}
@media (max-width: 424px) {
  .about-me .social-icons a:nth-child(1) {
    display: none
  }
  .about-me .social-icons a:nth-child(2) {
    display: none
  }
  .about-me .social-icons a:nth-child(3) {
    display: none
  }
  .about-me .social-icons a:nth-child(4) {
    display: none
  }
  .about-me .social-icons a:nth-child(5) {
    display: none
  }
}
.about-me .social-icons a:hover {
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  /* background: #dc143c; */
  color: #fff;
}
/* .about-me .social-icons a:nth-child(1):hover {
  background: #3b5998;
} */
.about-me .social-icons a:nth-child(1):hover {
  /* background: #333; */
  background: #f5f5f5;
  color: #333;
  border: 2px solid #333;
}
.about-me .social-icons a:nth-child(2):hover {
  background: #00acee;
}
.about-me .social-icons a:nth-child(3):hover {
  background: #0e76a8;
}
.about-me .social-icons a:nth-child(4):hover {
  /* background: #333; */
  background: #f5f5f5;
  color: #333;
  border: 2px solid #333;
}
.about-me .social-icons a:nth-child(5):hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.about-info .title {
  margin-bottom: 30px;
}
.about-info .info-list {
  padding-top: 15px;
}
.about-info .info-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-info .info-list li {
  padding: 4px 0;
}
.about-info .info-list label {
  color: #fff;
  margin: 0;
  font-weight: 500;
  padding-right: 10px;
}
.theme-light .about-info .info-list label {
  color: #0b0b13;
}

/* Added - btn-bar in 'about' */

.about-info .info-list .btn-bar {
  padding-top: 10px;
  /* padding-top: 30px; */
}
.about-info .info-list .btn-bar a {
  color: #fff;
  /* font-size: 25px; */
  font-size: 18px;
  line-height: 1;
  /* font-weight: 400; */
  font-weight: 500;
  position: relative;
  text-decoration: none;
  /* padding-left: 0; */
  padding-left: 24px; /* Added */
  padding-right: 24px; /* Added */
  padding-top: 15px; /* Added */
  padding-bottom: 15px; /* Added */
  border-radius: 10px; /* Added */
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.theme-light .about-info .info-list .btn-bar a {
  background: #0b0b13;
  color: #fff;
}
@media (max-width: 767px) {
  .about-info .info-list .btn-bar a {
    /* font-size: 20px; */
    font-size: 12px;
  }
}
.about-info .info-list .btn-bar a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 0;
  height: 2px;
  background: currentColor;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.about-info .info-list .btn-bar a:hover {
  /* padding-left: 45px; */
  /* color: #dc143c; */

  /* background: #dc143c; */
  background: #345b96;
}
.about-info .info-list .btn-bar a:hover:after {
  /* width: 40px; */
  /* color: #dc143c; */

  /* background: #dc143c; */
  background: #345b96;
}

/* Feature Box
-----------------------------------*/
/* Flexbox container for the rows */
.feature-row {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping to multiple rows */
}

.col-lg-6 {
  display: flex;
  flex-wrap: wrap;
}

.feature-box-01 {
  background: #0b0b13;
  padding: 40px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  flex-grow: 1;
  flex-basis: calc(25% - 20px);
  display: flex; /* Make the box a flex container */
  flex-direction: column; /* Align content vertically */
}
.theme-light .feature-box-01 {
  background: #f7f7ff;
}
.feature-box-01:before {
  content: "";
  position: absolute;
  top: -220px;
  left: -220px;
  width: 200px;
  height: 200px;
  border-radius: 0;
  z-index: -1;
  background: #587fb9;
  -moz-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  -o-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  -webkit-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  flex-grow: 1;
  flex-basis: calc(25% - 20px);
  display: flex; /* Make the box a flex container */
  flex-direction: column; /* Align content vertically */
}
.feature-box-01:after {
  content: "";
  position: absolute;
  top: -72px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  z-index: -2;
  background: #345b96;
  -moz-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.15s;
  -o-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.15s;
  -webkit-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.15s;
  transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.15s;
  flex-grow: 1;
  flex-basis: calc(25% - 20px);
  display: flex; /* Make the box a flex container */
  flex-direction: column; /* Align content vertically */
}
/* Customized - v5 icon */
.feature-box-01 i {
  width: 70px;
  height: 90px;
  line-height: 30px;
  margin-left: 0px;
  font-size: 50px;
  color: #fff;
}
.feature-box-01 .feature-content {
  padding-top: 25px;
  flex-grow: 1;
}
.feature-box-01 h5 {
  margin-top: 5px;
  margin-bottom: 15px;
  color: #fff;
  /* color: #606060; */
}
.theme-light .feature-box-01 h5 {
  color: #0b0b13;
}
.feature-box-01 p {
  margin: 0;
  margin-bottom: -10px;
}
.theme-light .feature-box-01:hover {
  color: #fff;
}
/* Customized - v5 icon */
.theme-light .feature-box-01:hover i {
  color: #fff;
  font-size: 55px;
  margin-left: -2.5px;
  -moz-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  -o-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  -webkit-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
}
.theme-light .feature-box-01:hover h5 {
  color: #fff;
}
.feature-box-01:hover:before {
  top: -72px;
  left: -40px;
  border-radius: 50%;
}
.feature-box-01:hover:after {
  content: "";
  width: 120%;
  left: -10%;
  top: -10%;
  height: 120%;
  border-radius: 0;
  -moz-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  -o-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  -webkit-transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
  transition: cubic-bezier(0.39, 0.58, 0.57, 1) all 0.55s;
}

.feature-box-02 {
  background: #0b0b13;
  padding: 15px;
  border-radius: 10px;
  overflow: hidden;
}
.theme-light .feature-box-02 {
  background: #fff;
}
.feature-box-02 .icon {
  width: 70px;
}
.feature-box-02 .media-body {
  padding-left: 15px;
}
.feature-box-02 h6 {
  color: #fff;
  margin: 0 0 5px;
  font-size: 18px;
}
.theme-light .feature-box-02 h6 {
  color: #0b0b13;
}
.feature-box-02 p {
  margin: 0;
  font-size: 14px;
}

/* testimonial
-----------------------------------*/
.testimonial-01 {
  background: #0b0b13;
  padding: 35px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 25px;
}
.theme-light .testimonial-01 {
  background: #fff;
}
.testimonial-01 .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}
@media (max-width: 767px) {
  .testimonial-01 .avatar {
    width: 50px;
    height: 50px;
  }
}
.testimonial-01 .media-body {
  padding-left: 25px;
}
@media (max-width: 767px) {
  .testimonial-01 .media-body {
    padding-left: 15px;
  }
}
.testimonial-01 h6 {
  color: #fff;
  margin: 0 0 5px;
}
.theme-light .testimonial-01 h6 {
  color: #0b0b13;
}
.testimonial-01 span {
  font-size: 13px;
}

/* Experience
-----------------------------------*/
.resume-box {
  padding-top: 15px;
}

.resume-row {
  background: #0b0b13;
  padding: 35px;
  border-radius: 15px;
}
.theme-light .resume-row {
  background: #f7f7ff;
}
.resume-row + .resume-row {
  margin-top: 30px;
}
.resume-row h6 {
  color: #fff;
  font-weight: 500;
  font-size: 20px;
}
.theme-light .resume-row h6 {
  color: #0b0b13;
}
.resume-row .rb-left {
  min-height: 100%;
}
@media (min-width: 768px) {
  .resume-row .rb-left {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }
  .theme-light .resume-row .rb-left {
    border-right: 1px solid rgba(11, 11, 19, 0.05);
  }
}
@media (max-width: 991px) {
  .resume-row {
    margin-left: 35px;
    margin-right: 35px;
  }
  .resume-row .rb-left {
    margin-left: -35px;
  }
  .resume-row .rb-right {
    margin-right: -35px;
  }
}
@media (max-width: 767px) {
  .resume-row .rb-left {
    margin-left: -35px;
    margin-right: -35px;
    margin-bottom: 25px;
  }
  .theme-light .resume-row .rb-left {
    border-bottom: 1px solid rgba(11, 11, 19, 0.05);
  }
  .resume-row .rb-right {
    margin-left: -35px;
    margin-right: -35px;
    margin-top: 15px;
  }
}
.resume-row .rb-left h5 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}
.resume-row .rb-left h6 {
  margin-bottom: 8px;
}
.resume-row .rb-left label {
  font-size: 14px;
  font-style: italic;
}
.resume-row .rb-left p {
  /* margin-top: 5px; */
  /* margin-bottom: 8px; */
  margin-top: 12px;
  margin-bottom: 10px;
  /* font-style: italic; */
  line-height: normal;
}
.resume-row .rb-left a {
  color: #0b0b13;
}
.resume-row .rb-left a:hover {
  text-decoration: underline;
}
.resume-row .rb-left .rb-time {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  color: #fff;
  /* background: #dc143c; */
  background: #345b96;
  font-size: 12px;
  font-weight: 500;
}
.resume-row .rb-right p {
  /* font-size: 17px; */
  font-weight: 400;
  margin-bottom: 8px;
}

.skill-lt {
  position: relative;
  padding-left: 80px;
}
.skill-lt span {
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  left: 0;
  top: 8px;
  position: absolute;
}
.theme-light .skill-lt span {
  color: #0b0b13;
}
.skill-lt:not(:first-child) {
  margin-top: 45px;
}
.skill-lt h6 {
  font-size: 15px;
  margin: 0 0 10px;
  font-weight: 400;
  color: #fff;
}
.theme-light .skill-lt h6 {
  color: #0b0b13;
}
.skill-lt .skill-bar {
  position: relative;
  background: rgba(255, 255, 255, 0.2);
}
.theme-light .skill-lt .skill-bar {
  background: rgba(11, 11, 19, 0.1);
}
.skill-lt .skill-bar .skill-bar-in {
  width: 80px;
  position: relative;
  -moz-transition: ease all 0.55s;
  -o-transition: ease all 0.55s;
  -webkit-transition: ease all 0.55s;
  transition: ease all 0.55s;
  height: 10px;
  background: #345b96;
}

.education-box {
  margin: 0;
  padding: 35px;
  border-radius: 10px;
  background: #0b0b13;
  list-style: none;
}
.theme-light .education-box {
  background: #f7f7ff;
}
@media (max-width: 991px) {
  .education-box {
    margin-bottom: 10px;
  }
}
.education-box p {
  margin: 0;
}
.education-box h5 {
  font-size: 16px;
  color: #fff;
  margin: 5px 0;
}
.theme-light .education-box h5 {
  color: #0b0b13;
}
.education-box h6 {
  font-size: 16px;
  color: #fff;
  margin: 5px 0;
  font-weight: normal;
}
.theme-light .education-box h6 {
  color: #0b0b13;
}
.education-box li + li {
  margin-top: 25px;
}

.publication-box {
  margin: 0;
  padding: 35px;
  border-radius: 10px;
  background: #0b0b13;
  list-style: none;
}
.theme-light .publication-box {
  background: #f7f7ff;
}
@media (max-width: 991px) {
  .publication-box {
    margin-bottom: 10px;
  }
}
.publication-box p {
  font-size: 16px;
  /* margin: 5px 0; */
  margin: 5px 0;
}
.theme-light .publication-box p {
  color: #0b0b13;
}
.publication-box h5 {
  font-size: 18px;
  color: #fff;
  margin: 5px 0;
}
.theme-light .publication-box h5 {
  color: #0b0b13;
}
.publication-box h6 {
  font-size: 16px;
  color: #fff;
  margin: 10px 0px 0px 0px;
  font-weight: normal;
}
.theme-light .publication-box h6 {
  color: #0b0b13;
}
.publication-box span {
  color: #345b96;
}
.publication-box a {
  color: #0b0b13;
}
.publication-box a:hover {
  color: #345b96;
}
.publication-box li + li {
  margin-top: 25px;
}

/* Contact Us
-----------------------------------*/
@media (max-width: 991px) {
  .contact-info {
    /* margin-bottom: 20px; */
    margin-bottom: 5px;
  }
}
.contact-info h4 {
  font-size: 34px;
  color: #fff;
  font-weight: 500;
}
.theme-light .contact-info h4 {
  color: #0b0b13;
}
.contact-info p {
  font-size: 15px;
}
.contact-info ul {
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
}
.contact-info li {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  position: relative;
}
.theme-light .contact-info li {
  color: #0b0b13;
}
.contact-info li i {
  width: 30px;
  text-align: center;
  /* color: #dc143c; */
  color: #345b96;
  font-size: 22px;
}
.contact-info li span {
  padding-left: 10px;
}
.contact-info li + li {
  padding-top: 20px;
}

@media (max-width: 991px) {
  .contact-form {
    padding-bottom: 20px;
  }
}
.contact-form h4 {
  font-weight: 500;
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
}
.theme-light .contact-form h4 {
  color: #0b0b13;
}
.contact-form .form-control {
  color: #fff;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: calc(2em + .75rem + 2px);
}
.contact-form .form-control.invalid {
  border-color: #345b96 !important;
}
.theme-light .contact-form .form-control {
  color: #0b0b13;
  border: 1px solid rgba(11, 11, 19, 0.3);
  background: #fff;
}
.contact-form textarea.form-control {
  height: auto;
}

.google-map {
  margin-top: 50px;
}
.theme-light .google-map {
  border: 5px solid #fff;
}
@media (max-width: 767px) {
  .google-map {
    margin-top: 15px;
  }
}
.google-map .embed-responsive-21by9 {
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
}
.google-map .embed-responsive-21by9:before {
  padding-top: 30%;
}
@media (max-width: 767px) {
  .google-map .embed-responsive-21by9:before {
    padding-top: 55%;
  }
}

/* -------------------------------------------------------------------
 * Custom additions for project cards and gallery
 *
 * The original template provided a simple list of projects. This section adds
 * new styles to support card-based project layouts as well as a memory
 * gallery. Cards use subtle borders and shadows for separation, while
 * maintaining responsiveness on small screens. The gallery grid defines
 * spacing and hover effects for images.
 */

/* Project card container */

.project-card {
  background: #F7F7FF;
  border: 1px solid #e6e6f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* Light theme override */
.theme-light .project-card {
  background: #f7f7ff;
  border-color: #e0e0e0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
/* Project image */
.project-card img {
  width: 100%;
  height: auto;
  display: block;
}
/* Project content wrapper */
.project-card .project-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* Project title */
.project-card .project-content h5 {
  color: #0b0b13;
  font-size: 18px;
  margin-bottom: 8px;
}
/* Project description */
.project-card .project-content p {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}
/* Button positioning */
.project-card .project-content .btn {
  background-color: #335B96;
  border: 0;
  align-self: flex-start;
}


/* Gallery grid styles */
.gallery-grid .gallery-item {
  margin-bottom: 30px;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  transition: transform 0.2s ease;
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Blog category navigation styles
   Make the category pills look like tags with rounded corners.  On hover and when active they
   invert their colors.  The overflow container is horizontally scrollable on narrow screens. */
#blog-category-container {
  /* Provide subtle separation from the post list */
  border-bottom: 1px solid #edf2fb;
  padding-bottom: 0.75rem;
}

#blog-categories {
  /* Prevent vertical scrollbars and allow horizontal scrolling on small screens */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-left: 0;
}
#blog-categories::-webkit-scrollbar {
  display: none;
}
#blog-categories .nav-item {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
#blog-categories .nav-link {
  border: 1px solid #345b96;
  color: #345b96;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#blog-categories .nav-link .badge {
  background-color: #e4e9f2;
  color: #345b96;
  margin-left: 4px;
}
#blog-categories .nav-link:hover {
  background-color: #345b96;
  color: #fff;
}
#blog-categories .nav-link.active {
  background-color: #345b96;
  color: #fff;
}

/* ------------------------------------------------------------------
 * Blog Tree & Feed (custom additions)
 * These styles support the collapsible category tree and card layout in the blog page.
 * ------------------------------------------------------------------*/
.cat-tree {
  font-size: 14px;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  list-style: none;
}
.cat-tree .cat-item {
  list-style: none;
  margin: 0;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.theme-light .cat-tree .cat-item {
  border-left-color: rgba(0, 0, 0, 0.1);
}
.cat-tree .cat-item.root {
  border-left: none;
  padding-left: 0;
}
.cat-tree .cat-label {
  cursor: pointer;
  padding: 0.25rem 0.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.cat-tree .cat-label:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.theme-light .cat-tree .cat-label:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.cat-tree .cat-item.active > .cat-label {
  font-weight: 500;
  background-color: rgba(52, 91, 150, 0.2);
}
.theme-light .cat-tree .cat-item.active > .cat-label {
  background-color: rgba(52, 91, 150, 0.1);
}
.cat-tree .cat-sublist {
  list-style: none;
  margin: 0;
  padding-left: 1rem;
  display: none;
}

/* Ensure the top-level category list under the #category-tree is visible by default.
   The category tree builder inserts the first <ul> directly inside the container,
   which is not wrapped in a .cat-item element. Without this rule, the root
   category list would be hidden because .cat-sublist defaults to display: none.
 */
.cat-tree > .cat-sublist {
  display: block;
}
.cat-tree .cat-item.open > .cat-sublist {
  display: block;
}
/* Blog feed cards */
.post-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.theme-light .post-card {
  background-color: #f7f7ff;
  border-color: #e2e2e2;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.theme-light .post-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.post-card h5 {
  color: #0b0b13;
  font-size: 1.1rem;
  font-weight: 500;
}
.post-card p {
  margin-bottom: 0.5rem;
}
.post-card .btn {
  background-color: #335B96;
  border: 0;
  font-size: 0.85rem;
}

/*# sourceMappingURL=style.css.map */

/* ----------------------------------------------------------------------
* Timeline page styles
* These rules apply when the <body> has class "timeline-page".
* They are appended here to keep timeline-specific styling in the main CSS
* instead of embedding it in timeline.html.
*---------------------------------------------------------------------*/
.timeline-page .wrap {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 16px;
}
.timeline-page .header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.timeline-page .title h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.3px;
  color: #2a3142;
}
.timeline-page .notice {
  color: #8a90a6;
  margin: 8px 0 20px;
}
.timeline-page .controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.timeline-page .control {
  background: #f5f6fb;
  border: 1px solid #e1e6f2;
  border-radius: 10px;
  padding: 8px 10px;
  color: #2a3142;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.timeline-page .control select,
.timeline-page .control input {
  background: transparent;
  border: none;
  outline: none;
  color: #2a3142;
  min-width: 140px;
}
.timeline-page .control input::placeholder {
  color: #a0a7bd;
}
.timeline-page .control:focus-within {
  box-shadow: 0 0 0 3px rgba(52, 91, 150, 0.35);
}
.timeline-page .reset-btn {
  background: transparent;
  border: 1px solid #b9c4db;
  color: #5f6fa3;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.timeline-page .reset-btn:hover {
  border-color: #3a54a4;
  color: #345b96;
}
.timeline-page .timeline {
  position: relative;
  padding: 30px 0;
}
.timeline-page .timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #d5daeb, rgba(211, 218, 240, 0.2));
  transform: translateX(-50%);
}
.timeline-page .year-chip {
  position: relative;
  width: fit-content;
  margin: 24px auto;
  background: #eff2fb;
  border: 1px solid #d5daeb;
  color: #345b96;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.timeline-page .item {
  position: relative;
  width: 50%;
  padding: 14px 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.2s ease;
}
.timeline-page .item.in-view {
  opacity: 1;
  transform: translateY(0);
}
.timeline-page .item.left {
  left: 0;
  text-align: right;
}
.timeline-page .item.right {
  left: 50%;
}
.timeline-page .node {
  position: absolute;
  top: 18px;
  left: calc(100% + 12px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #345b96;
  box-shadow: 0 0 0 5px rgba(52, 91, 150, 0.15), 0 0 0 12px rgba(52, 91, 150, 0.07);
}
.timeline-page .item.right .node {
  left: -26px;
}
.timeline-page .card {
  background: #ffffff;
  border: 1px solid #e6e6f0;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.timeline-page .thumb {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d5daeb;
  background: #f5f6fb;
}
.timeline-page .thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.timeline-page .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6f82d8;
  font-size: 12px;
  margin-bottom: 4px;
}
.timeline-page .cat {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #d5daeb;
  color: #345b96;
  background: #eef2fc;
}
.timeline-page .date {
  color: #8fa2ff;
}
.timeline-page .card h3 {
  margin: 4px 0 6px;
  font-size: 16px;
  color: #2a3142;
}
.timeline-page .desc {
  color: #606060;
  opacity: 0.9;
}
.timeline-page .links {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.timeline-page .btn {
  border: 1px solid #d5daeb;
  color: #ffffff;
  background: #345b96;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
}
.timeline-page .btn:hover {
  border-color: #345b96;
  background: #2e4d80;
}
.timeline-page .item:focus-within .card {
  outline: 2px solid rgba(52, 91, 150, 0.35);
}
.timeline-page .timeline:hover .item {
  filter: saturate(0.8) opacity(0.9);
}
.timeline-page .timeline:hover .item:hover {
  filter: none;
}
@media (max-width: 900px) {
  .timeline-page .timeline::before {
    left: 12px;
    transform: none;
  }
  .timeline-page .item {
    width: 100%;
    padding-left: 36px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-page .item.right {
    left: 0;
  }
  .timeline-page .node {
    left: -2px;
  }
}

/*
 ===================================================================
   Appended Styles for New Blog Card Layout
 ===================================================================
*/

/* Global stylesheet for blog listing and post pages. */
body.theme-light {
  background-color: #f8f9fa;
  color: #2d3748;
}

/* Blog listing: grid layout for cards */
#blog-feed.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0; /* Override existing padding */
  background: none; /* Override existing background */
}

/* Card component styling */
.card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
  padding: 0; /* Override any theme padding */
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

/* Tags overlay at the top-left corner */
.card-tags {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  z-index: 2;
}

.tag {
  background-color: #edf2f7;
  color: #1a202c;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Card image and link styles */
.card-image-link,
.card-title a {
  text-decoration: none;
  color: inherit;
}

.card-image {
  width: 100%;
  display: block;
  height: 180px;
  object-fit: cover;
  background-color: #e2e8f0; /* Placeholder color */
}

.card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-date {
  font-size: 0.75rem;
  color: #718096;
  margin-bottom: 0.5rem;
  display: block;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  color: #1a202c;
}

.card-summary {
  font-size: 0.9rem;
  color: #4a5568;
  flex-grow: 1;
}


.post-header {
  margin-bottom: 2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #606060;
  margin-bottom: 1rem;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.meta-separator {
  color: #ccc;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0b0b13;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Re-using the .tag style from the card, but you can customize it here if needed */
.post-tags .tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
}

.post-summary {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  border-left: 3px solid #e0e0e0;
  padding-left: 1rem;
}

.post-divider {
  margin-top: 0;
  margin-bottom: 2rem;
  border-color: rgba(0,0,0,0.08);
}

.post-content {
  line-height: 1.8;
  font-size: 1.05rem;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  color: #0b0b13;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .post-title {
      font-size: 2rem;
  }
  .post-summary {
      font-size: 1rem;
  }
}