/* blogs hero section */
.blogs-hero {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef7ff 100%);
  overflow: hidden;
  z-index: 1;
}

.blogs-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 350px;
  height: 350px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
  z-index: -1;
}

.blogs-hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: 50%;
  z-index: -1;
}

/*==============================
Breadcrumb
==============================*/

.blogs-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
  font-size: 15px;
  font-weight: 500;
}

.blogs-hero .breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: 0.3s;
}

.blogs-hero .breadcrumb a:hover {
  color: var(--secondary-color);
}

.blogs-hero .breadcrumb span {
  color: #666;
}

/*==============================
Content
==============================*/

.blogs-hero .hero-content {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 25px;
}

.hero-badge i {
  font-size: 18px;
}

.blogs-hero h1 {
  font-size: 58px;
  line-height: 1.2;
  font-weight: 700;
  color: #1d3557;
  margin-bottom: 25px;
}

.blogs-hero h1 span {
  color: var(--primary-color);
  display: block;
}

.blogs-hero p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 0;
}

/*==================================
Responsive
==================================*/

@media (max-width: 1199px) {
  .blogs-hero {
    padding: 100px 0 80px;
  }

  .blogs-hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 991px) {
  .blogs-hero {
    padding: 80px 0 70px;
    text-align: center;
  }

  .blogs-hero .breadcrumb {
    justify-content: center;
  }

  .blogs-hero .hero-content {
    margin: auto;
  }

  .blogs-hero h1 {
    font-size: 40px;
  }

  .blogs-hero p {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .blogs-hero {
    padding: 70px 0 60px;
  }

  .hero-badge {
    font-size: 14px;
    padding: 8px 18px;
  }

  .blogs-hero h1 {
    font-size: 32px;
  }

  .blogs-hero p {
    font-size: 16px;
    line-height: 1.8;
  }
}

@media (max-width: 575px) {
  .blogs-hero {
    padding: 60px 0 50px;
  }

  .blogs-hero h1 {
    font-size: 28px;
  }

  .blogs-hero .breadcrumb {
    font-size: 14px;
    gap: 8px;
  }

  .hero-badge {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/*==================================
Featured Blogs Section
==================================*/

.blogs-section {
  background: #ffffff;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 46px;
  font-weight: 700;
  color: #1d3557;
  margin-bottom: 18px;
  line-height: 1.2;
}

.section-header h2 span {
  color: var(--primary-color);
}

.section-header p {
  color: #6c757d;
  font-size: 17px;
  line-height: 1.9;
}

/*==========================
Grid
==========================*/

.blog-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

/*==========================
Card
==========================*/

.blog-card {
  background: #fff;

  border-radius: 20px;

  overflow: hidden;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);

  transition: 0.35s;

  display: flex;

  flex-direction: column;

  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.blog-image {
  overflow: hidden;

  position: relative;
}

.blog-image img {
  width: 100%;

  height: 240px;

  object-fit: cover;

  transition: 0.5s;
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

/*==========================
Content
==========================*/

.blog-content {
  padding: 28px;

  display: flex;

  flex-direction: column;

  flex-grow: 1;
}

.blog-category {
  display: inline-block;

  align-self: flex-start;

  background: rgba(13, 110, 253, 0.08);

  color: var(--primary-color);

  padding: 7px 18px;

  border-radius: 30px;

  font-size: 13px;

  font-weight: 600;

  margin-bottom: 18px;
}

.blog-content h3 {
  font-size: 24px;

  font-weight: 700;

  color: #222;

  line-height: 1.45;

  margin-bottom: 15px;
}

.blog-content p {
  color: #6c757d;

  font-size: 16px;

  line-height: 1.8;

  margin-bottom: 25px;

  flex-grow: 1;
}

/*==========================
Button
==========================*/

.blog-btn {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--primary-color);

  font-weight: 600;

  text-decoration: none;

  transition: 0.3s;
}

.blog-btn i {
  transition: 0.3s;
}

.blog-btn:hover {
  color: var(--secondary-color);
}

.blog-btn:hover i {
  transform: translateX(6px);
}

/*==========================
Responsive
==========================*/

@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .section-header {
    margin-bottom: 50px;
  }

  .section-header h2 {
    font-size: 38px;
  }

  .blog-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 16px;
  }

  .blog-image img {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .blog-content {
    padding: 22px;
  }

  .blog-content h3 {
    font-size: 20px;
  }

  .blog-content p {
    font-size: 15px;
  }

  .blog-image img {
    height: 200px;
  }
}

/*===============================
BLOG BREADCRUMB
================================*/

.blog-breadcrumb {
  background: #f8fbff;
  padding: 18px 0;
  border-bottom: 1px solid #e9eef5;
}

.blog-breadcrumb .breadcrumb {
  margin: 0;
}

.blog-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.blog-breadcrumb .breadcrumb-item.active {
  color: #666;
}

/*===============================
BLOG HERO
================================*/

.blog-hero {
  padding: 90px 0;
  background: linear-gradient(135deg, #f8fcff 0%, #ffffff 100%);
}

.blog-category {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
}

.blog-hero h1 {
  font-size: 48px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 25px;
  color: #222;
}

.blog-hero p {
  font-size: 18px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 30px;
}

.blog-info {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
}

.blog-info div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-weight: 500;
}

.blog-info i {
  color: var(--primary-color);
  font-size: 18px;
}

.blog-hero img {
  border-radius: 20px;
}

/*===============================
Responsive
================================*/

@media (max-width: 992px) {
  .blog-hero {
    padding: 70px 0;
    text-align: center;
  }

  .blog-hero h1 {
    font-size: 36px;
  }

  .blog-info {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .blog-hero h1 {
    font-size: 28px;
  }

  .blog-hero p {
    font-size: 16px;
  }

  .blog-info {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

/*=========================================
BLOG ARTICLE
==========================================*/

.blog-article {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
}

.lead-text {
  font-size: 20px;
  line-height: 2;
  color: #555;
  margin-bottom: 30px;
}

.lead-text::first-letter {
  font-size: 55px;
  font-weight: 700;
  color: var(--primary-color);
  float: left;
  line-height: 1;
  padding-right: 10px;
}

.blog-article h2 {
  font-size: 32px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 20px;
  color: #222;
}

.blog-article p {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
}

.blog-quote {
  background: #f8fbff;

  border-left: 5px solid var(--primary-color);

  padding: 35px;

  margin: 50px 0;

  border-radius: 12px;

  position: relative;
}

.blog-quote i {
  font-size: 40px;

  color: var(--primary-color);

  margin-bottom: 15px;
}

.blog-quote p {
  font-size: 22px;

  font-style: italic;

  color: #333;

  margin-bottom: 15px;
}

.blog-quote h6 {
  margin: 0;

  color: #777;
}

.tip-box {
  background: #eef8ff;

  padding: 30px;

  border-radius: 15px;

  margin: 35px 0;
}

.tip-box h5 {
  margin-bottom: 20px;

  font-weight: 700;
}

.tip-box ul {
  padding-left: 20px;

  margin: 0;
}

.tip-box li {
  margin-bottom: 12px;

  color: #555;
}

.health-card {
  background: #fff;

  padding: 30px;

  border-radius: 18px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  height: 100%;

  transition: 0.3s;
}

.health-card:hover {
  transform: translateY(-8px);
}

.health-card i {
  font-size: 40px;

  color: var(--primary-color);

  margin-bottom: 20px;
}

.health-card h5 {
  font-weight: 700;

  margin-bottom: 15px;
}

.health-card p {
  margin: 0;
}

.blog-cta {
  background: linear-gradient(135deg, var(--primary-color), #1d9bf0);

  padding: 50px;

  text-align: center;

  border-radius: 20px;

  color: #fff;
}

.blog-cta h3 {
  font-size: 34px;

  margin-bottom: 20px;

  font-weight: 700;
}

.blog-cta p {
  color: #fff;

  margin-bottom: 30px;

  font-size: 18px;
}

.blog-cta .btn {
  padding: 15px 35px;

  border-radius: 50px;

  font-weight: 600;
}

/* Responsive */

@media (max-width: 768px) {
  .blog-article {
    padding: 25px;
  }

  .blog-article h2 {
    font-size: 26px;
  }

  .blog-quote p {
    font-size: 18px;
  }

  .blog-cta {
    padding: 35px 25px;
  }

  .blog-cta h3 {
    font-size: 28px;
  }
}

/*=========================
SIDEBAR
=========================*/

.blog-sidebar {
  position: sticky;

  top: 120px;
}

.sidebar-widget {
  background: #fff;

  padding: 30px;

  border-radius: 18px;

  margin-bottom: 30px;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.widget-title {
  font-size: 24px;

  font-weight: 700;

  margin-bottom: 25px;

  color: #222;
}

/* Search */

.search-form {
  display: flex;

  position: relative;
}

.search-form input {
  width: 100%;

  height: 55px;

  border: 1px solid #ddd;

  border-radius: 50px;

  padding: 0 60px 0 20px;

  outline: none;
}

.search-form button {
  position: absolute;

  right: 5px;

  top: 5px;

  width: 45px;

  height: 45px;

  border: none;

  background: var(--primary-color);

  color: #fff;

  border-radius: 50%;
}

/* Categories */

.category-list {
  padding: 0;

  margin: 0;

  list-style: none;
}

.category-list li {
  border-bottom: 1px solid #eee;
}

.category-list li:last-child {
  border: none;
}

.category-list a {
  display: flex;

  justify-content: space-between;

  padding: 15px 0;

  text-decoration: none;

  color: #555;

  transition: 0.3s;

  font-weight: 500;
}

.category-list a:hover {
  color: var(--primary-color);

  padding-left: 8px;
}

/* Recent Posts */

.recent-post {
  display: flex;

  gap: 15px;

  margin-bottom: 20px;
}

.recent-post:last-child {
  margin-bottom: 0;
}

.recent-post img {
  width: 90px;

  height: 80px;

  border-radius: 10px;

  object-fit: cover;
}

.recent-post a {
  display: block;

  text-decoration: none;

  font-weight: 600;

  color: #222;

  line-height: 1.5;

  margin-bottom: 8px;
}

.recent-post span {
  font-size: 14px;

  color: #888;
}

/* Tags */

.tag-list {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;
}

.tag-list a {
  text-decoration: none;

  padding: 8px 18px;

  background: #f5f5f5;

  border-radius: 50px;

  color: #555;

  transition: 0.3s;

  font-size: 14px;
}

.tag-list a:hover {
  background: var(--primary-color);

  color: #fff;
}

/* Contact */

.contact-widget {
  background: linear-gradient(135deg, var(--primary-color), #0b8ce6);

  color: #fff;

  text-align: center;
}

.contact-widget i {
  font-size: 55px;

  margin-bottom: 20px;
}

.contact-widget h3 {
  font-weight: 700;

  margin-bottom: 20px;
}

.contact-widget p {
  color: #fff;

  margin-bottom: 25px;
}

.contact-widget .btn {
  padding: 12px 30px;

  border-radius: 50px;

  font-weight: 600;
}

/* Social */

.social-share {
  display: flex;

  gap: 12px;
}

.social-share a {
  width: 48px;

  height: 48px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f4f4f4;

  border-radius: 50%;

  color: #444;

  font-size: 20px;

  transition: 0.3s;

  text-decoration: none;
}

.social-share a:hover {
  background: var(--primary-color);

  color: #fff;
}

/* Mobile */

@media (max-width: 992px) {
  .blog-sidebar {
    position: relative;

    top: 0;

    margin-top: 50px;
  }
}

/*=========================
AUTHOR
=========================*/

.author-box {
  display: flex;

  align-items: center;

  gap: 25px;

  background: #fff;

  padding: 35px;

  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.author-image img {
  width: 110px;

  height: 110px;

  border-radius: 50%;

  object-fit: contain;

  background: #fff;

  padding: 10px;

  border: 3px solid #f2f2f2;
}

.author-content span {
  color: var(--primary-color);

  font-weight: 600;
}

.author-content h4 {
  margin: 10px 0;

  font-weight: 700;
}

.author-content p {
  margin: 0;

  line-height: 1.8;
}

/*=========================
FAQ
=========================*/

.blog-faq .accordion-item {
  border: none;

  margin-bottom: 15px;

  border-radius: 12px;

  overflow: hidden;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blog-faq .accordion-button {
  font-weight: 600;

  padding: 20px;
}

.blog-faq .accordion-button:not(.collapsed) {
  background: var(--primary-color);

  color: #fff;
}

/*=========================
RELATED BLOGS
=========================*/

.related-card {
  background: #fff;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);

  transition: 0.3s;

  height: 100%;
}

.related-card:hover {
  transform: translateY(-8px);
}

.related-card img {
  height: 220px;

  width: 100%;

  object-fit: cover;
}

.related-content {
  padding: 25px;
}

.related-content h5 {
  font-weight: 700;

  line-height: 1.5;

  margin-bottom: 20px;
}

.related-content a {
  text-decoration: none;

  font-weight: 600;

  color: var(--primary-color);
}

/*=========================
NAVIGATION
=========================*/

.blog-navigation {
  display: flex;

  justify-content: space-between;

  padding: 30px 0;

  border-top: 1px solid #eee;
}

.blog-navigation a {
  text-decoration: none;

  font-weight: 600;

  color: #333;

  transition: 0.3s;
}

.blog-navigation a:hover {
  color: var(--primary-color);
}

/*=========================
SECTION TITLE
=========================*/

.section-title {
  font-size: 34px;

  font-weight: 700;

  color: #222;
}

/*=========================
MOBILE
=========================*/

@media (max-width: 768px) {
  .author-box {
    flex-direction: column;

    text-align: center;
  }

  .blog-navigation {
    flex-direction: column;

    gap: 20px;
  }

  .section-title {
    font-size: 28px;
  }
}






/* --------------------------------------------------------------------------------------------------------- */



/* single page blog styling starts from here */
        .blog-details-hero {
            background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
            padding: 180px 0 80px;
            border-bottom: 1px solid #edf2f7;
        }

        .blog-title {
            font-size: clamp(34px, 5vw, 58px);
            font-weight: 800;
            color: #0d2b57;
            line-height: 1.2;
        }

        .blog-category {
            background: #0d6efd;
            color: #fff;
            padding: 8px 18px;
            border-radius: 30px;
            display: inline-block;
            font-size: 14px;
            font-weight: 600;
        }

        .blog-meta {
            display: flex;
            align-items: center;
            gap: 18px;
            flex-wrap: wrap;
            margin-top: 25px;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #6b7280;
            font-size: 15px;
            font-weight: 500;
        }

        .meta-item i {
            color: #0d6efd;
            margin-right: 8px;
        }

        .featured-blog-image {
            margin-top: -30px;
            margin-bottom: 60px;
        }

        .featured-blog-image img {

            width: 100%;

            height: 550px;

            object-fit: cover;

            border-radius: 25px;

            box-shadow: 0 25px 70px rgba(0, 0, 0, .12);

        }

        .blog-content {

            background: #fff;

            border-radius: 24px;

            padding: 50px;

            box-shadow: 0 20px 60px rgba(0, 0, 0, .06);

        }

        .blog-content p {
            font-size: 18px;

            line-height: 2;

            color: #525252;

            margin-bottom: 24px;

        }

        .blog-content h2,
        .blog-content h3 {

            margin-top: 40px;

            margin-bottom: 20px;

            font-size: 32px;

            color: #123b73;

            font-weight: 700;

        }

        .blog-content ul {

            padding-left: 25px;

        }

        .blog-content li {

            margin-bottom: 12px;

        }

        .blog-content img {
            width: 100%;
            border-radius: 15px;
            margin: 30px 0;
        }

        .share-card,
        .author-card {

            background: #fff;

            border-radius: 20px;

            padding: 30px;

            box-shadow: 0 15px 45px rgba(0, 0, 0, .08);

            margin-bottom: 30px;

        }

        .social-icons {
            display: flex;
            gap: 12px;
        }

        .social-icons a {
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #f2f7ff;
            color: #0d6efd;
            font-size: 20px;
            transition: .3s;
        }

        .social-icons a:hover {
            background: #0d6efd;
            color: #fff;
        }

        .author-logo {
            width: 90px;
        }

        @media(max-width:991px) {

            .blog-details-hero {

                padding: 50px 0;

            }

            .featured-blog-image img {

                height: 320px;

            }

            .blog-content {

                padding: 25px;

                margin-bottom: 30px;

            }

            .blog-content h2 {

                font-size: 28px;

            }

            .blog-content p {

                font-size: 16px;

                line-height: 1.8;

            }

            .share-card,
            .author-card {

                padding: 25px;

            }

        }

        @media(max-width:576px) {

            .blog-title {

                font-size: 34px;

            }

            .blog-meta {

                gap: 14px;

            }

            .featured-blog-image img {

                height: 250px;

                border-radius: 18px;

            }

            .blog-content {

                padding: 20px;

            }

            .blog-content h2 {

                font-size: 24px;

            }

        }