.text-blue {
  color: var(--secondary-color);
  transition: color 0.3s ease-in-out;
}

.text-blue:hover {
  color: var(--primary-color);
}

/* page titles for each page  */

.page-section {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.bg-cover {
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
}

.overlay {
  position: relative;
}

.overlay::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.6;
}

.page-title {
  position: relative;
  z-index: 999;
}

.breadcrumb-active {
  color: var(--primary-color);
}

/* dividers border  */

.section-title-border {
  position: relative;
  height: 5px;
  width: 30px;
  background: var(--secondary-color);
  border-radius: 10px;
  margin-bottom: 20px;
}

.section-title-border::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 50%;
  background: var(--primary-color);
  border-radius: 10px;
  right: -60%;
  top: 0;
}

.section-title-border::after {
  position: absolute;
  content: "";
  height: 100%;
  width: 25%;
  background: var(--secondary-color);
  border-radius: 10px;
  right: -100%;
  top: 0;
}
/* header section design  */
img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  /*transition: all 0.3s ease-in-out;*/
}

/* header section design end */

/* ============================================= */

/* hero section design  */
.hero-section {
  background-image: url(../img/blog-hero.png);
  background-position: center;
  background-size: cover;
  padding: 5rem 0;
  position: relative;
}

.hero-section h1 {
  color: #fff;
  font-family: var(--primary-font);
  padding: 4rem 0;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
}

.hero-section:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, #cb252ad5, #2f2e7ad5);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}
/* hero section design end */

/* blog right design  */
.blog-box {
  border: 1px solid #f0f1f2;
  margin-bottom: 2rem;
}
.img-box {
  object-fit: cover;
  overflow: hidden;
}
.img-box img {
  transition: all 0.3s ease-in-out;
}
.img-box img:hover {
  transform: scale(1.05);
}
.box-content {
  padding: 0.1rem 0.1rem;
}
/* .box-content h3 a {
  font-size: 1.8rem;
  color: #31354c;
}
.box-content h3 a:hover {
  color: var(--primary-color);
}
.box-content a {
  font-size: 1rem;
} */
.box-content ul {
  list-style: none;
  padding-left: 0.7rem;
  display: inline-block;
}
.box-content ul li::before {
  content: "";
  color: var(--text-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
/* blog right design end */

/* blog left design  */
.search-bar {
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--secondary-color);
  padding: 1rem;
  align-items: center;
}

.search-bar input {
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--primary-font);
  max-width: 50%;
}
.bi-search {
  font-size: 1.2rem;
  font-weight: 600;
}
.sidebar-menu {
  position: relative;
}
.sidebar-menu h3 {
  font-size: 1.3rem;
  padding: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  font-family: var(--primary-font);
  margin-left: 0.6rem;
}
.sidebar-menu h3::before {
  position: absolute;
  content: "";
  height: 3px;
  width: 1.2rem;
  background: var(--primary-color);
  left: 0;
  top: 26px;
}
.sidebar-menu ul {
  list-style: none;
  padding-left: 0;
}
.sidebar-menu ul li a {
  color: var(--primary-color);
}
.sidebar-menu ul li a:hover {
  color: var(--secondary-color);
}
.sidebar-menu ul li {
  border-top: 1px solid var(--secondary-color);
  border-left: 1px solid var(--secondary-color);
  border-right: 1px solid var(--secondary-color);
  padding: 1rem;
}

.left-blog {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid var(--primary-color);
  padding: 1rem 0;
}

.sidebar-menu ul li:last-child {
  border-bottom: 1px solid var(--secondary-color);
}

.left-blog-img img {
  object-fit: cover;
}
.left-blog-img {
  flex-basis: 65%;
  padding-top: 0.5rem;
}
.right-blog-content h3 {
  padding-top: 0;
}
.right-blog-content h3 a {
  color: var(--secondary-color);
  font-family: var(--secondary-font);
  font-size: 1rem;
  font-weight: 500;
}
.right-blog-content h3 a:hover {
  color: var(--primary-color);
}

/* blog left design end */

/* paginason sectin design  */

.pagination-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pagination-flex a {
  padding: 1rem 1.5rem;

  font-size: 1.2rem;
  text-transform: uppercase;
}

.pagination-btn {
  border: 1px solid #f0f1f2;
  padding: 0.7rem 1.8rem;
}
.pagination-btn:hover {
  background: #0073bb;
  color: var(--text-color);
}
.pagination-btn a:hover {
  color: #fff;
}

.pagination-item :first-child {
  border: 1px solid #f0f1f2;
}
/* pagination section design end */

/* nav responsive  */
.nav-mobile {
  display: none;
}

.mobile-nav-icons .bx {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

.mobile-nav-icons a {
  color: var(--secondary-color);
  font-size: 1rem;
}

.mobile-nav-icons ul {
  margin: 0;
}

/* responsive blog  */
@media (max-width: 1190px) {
  .hero-content {
    width: 70%;
  }
}

@media (max-width: 986px) {
  .nav-mobile {
    display: block;
  }

  .nav-desktop {
    display: none;
  }

  .navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0rem;
    color: blue;
    transition: box-shadow 0.15s ease-in-out;
  }

  .navbar-toggler:focus {
    outline: none;
  }

  a.nav-link.active {
    padding: 1rem;
  }

  .navbar-light .navbar-nav .nav-link {
    color: rgb(24 23 61);
    padding: 0.5rem;
  }

  .navbar-light .navbar-nav .nav-link:hover {
    background: var(--primary-color);
    padding: 0.5rem;
    color: white;
  }

  .hero-content {
    width: 80%;
  }
}

@media (max-width: 762px) {
  h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
  }

  h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
  }

  h4 {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
  }

  .top-header {
    display: none;
  }

  .hero-content {
    width: 90%;
  }

  .hero-content {
    width: 90%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  footer .col-md-4 {
    margin: 1rem 0rem;
  }
}
@media (max-width: 762px) {
  .bg-light {
    display: block;
  }
  nav {
    display: block;
  }
  .top-header-container {
    text-align: center;
    flex-direction: column;
  }
}
