
*{
font-family: "Roboto Serif", serif;

}
.Blog-page-banner{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 70px;
    background-color: #0A97BE;
    color:white;
}
@media (max-width:567px) {
  .Blog-page-banner {
    padding:40px;
  }
    .Blog-page-banner h1{
      font-size: 30px !important;
    }
}
/* Container styling */
/* Title */
.Blog-page-category-section {
 
  margin-bottom: 40px;
}
.Blog-page-category-title {
  font-size: 26px;
  font-weight: 700;
  color: #0a97be;
  margin-block: 30px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.Blog-page-category-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #0a97be, #0abec9);
  left: 0;
  bottom: 0;
  border-radius: 5px;
}

/* Pill Grid */

@media (max-width:798px) {
    .Blog-page-category-filters {
     grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));

    }
}
.Blog-page-category-filters a{
    text-decoration: none;
}
/* Pill Style */
.Blog-page-category-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 100%;
  padding: 0 20px;
  border-radius: 12px;
  border: 2px solid #0a97be;
  background: #f3f4f6;
  font-size: 15px;
  font-weight: 600;
  color: #0a97be;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s ease;
}

/* Shutter BG */
.Blog-page-category-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #0a97be;
  z-index: 0;
  transition: width 0.4s ease;
}
.Blog-page-category-pill:hover::before {
  width: 100%;
}

/* Text stays centered */
.pill-text {
  position: relative;
  z-index: 2;
  color: #0a97be;
  transition: color 0.3s ease;
}

/* Arrow setup */
.arrow-wrap {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  z-index: 2;
  transition: left 0.5s ease;
}
.arrow-icon {
  width: 20px;
  height: 20px;
  color: #0a97be;
  transition: color 0.3s ease;
}

/* Hover effects */
.Blog-page-category-pill:hover .arrow-wrap {
  left: calc(100% - 30px);
}
.Blog-page-category-pill:hover .pill-text,
.Blog-page-category-pill:hover .arrow-icon {
  color: white;
}

/* Active */
.Blog-page-category-pill.active::before {
  width: 100%;
}
.Blog-page-category-pill.active .pill-text,
.Blog-page-category-pill.active .arrow-icon {
  color: white;
}
.Blog-page-category-pill.active .arrow-wrap {
  left: calc(100% - 30px);
}

    /* -------------------------- */
/* Blog Section Header Button */
.Blog-page-blogs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.Blog-page-blogs-header button {
  background-color: #0a97be;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.Blog-page-blogs-header button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  transform: skewX(-20deg);
}

.Blog-page-blogs-header button:hover::before {
  left: 100%;
}

.Blog-page-blogs-header button:hover {
  background-color: #087e9b;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(10, 151, 190, 0.3);
}


/* Stylish Read More Link */
.Blog-page-blogs-blog-card-body-link {
  position: relative;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #0a97be;
  padding-right: 28px;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Arrow Icon */
.Blog-page-blogs-blog-card-body-link::after {
      font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: '\f101';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  font-size: 15px;
}

/* Underline effect */
.Blog-page-blogs-blog-card-body-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0%;
  background-color: #0a97be;
  transition: width 0.3s ease;
}

/* Hover Effects */
.Blog-page-blogs-blog-card-body-link:hover {
  color: #087e9b;
}

.Blog-page-blogs-blog-card-body-link:hover::after {
  animation: runningArrow 0.6s ease-in-out infinite;
}

.Blog-page-blogs-blog-card-body-link:hover::before {
  width: 100%;
}

/* Running Arrow Animation */
@keyframes runningArrow {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(6px);
  }
  100% {
    transform: translateY(-50%) translateX(0);
  }
}

   .Blog-page-blogs-blog-card {
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.171);
      background-color: white;
      display: flex;
      flex-direction: column;
      height: 100%;
      padding-bottom: 10px;
    }

    .Blog-page-blogs-blog-card-body {
      padding: 10px;
    }

    .Blog-page-blogs-blog-card-img {
      width: 100%;
      object-fit: cover;
    }

    .Blog-page-blogs-blog-card-body-para {
      font-size: 15px;
    }

    .Blog-page-blogs-sidebar {
      background: #f9f9f9;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      height: 100%;
      position: sticky;
      top: 100px;
    }

    .Blog-page-blogs-sidebar h5 {
      font-size: 20px;
      font-weight: 700;
      color: #0a97be;
      margin-bottom: 20px;
      padding-left: 10px;
      position: relative;
    }

    .Blog-page-blogs-sidebar h5::before {
      content: '';
      position: absolute;
      left: 0;
      top: 6px;
      width: 4px;
      height: 20px;
      background: #0a97be;
      border-radius: 5px;
    }

    #Blog-page-blogs-categoryList {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-height: 500px;
      overflow-y: auto;
      padding-right: 5px;
    }

    #Blog-page-blogs-categoryList .nav-link {
      position: relative;
      padding: 12px 16px 12px 20px;
      font-weight: 500;
      font-size: 15px;
      color: #333;
      background: #fff;
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.3s ease;
      overflow: hidden;
    }

    #Blog-page-blogs-categoryList .nav-link:hover {
      background: #e6f8fb;
      color: #0a97be;
      padding-left: 24px;
    }

    #Blog-page-blogs-categoryList .nav-link.active {
      background: #d8f1f8;
      color: #0a97be;
      font-weight: 600;
      padding-left: 24px;
    }

    #Blog-page-blogs-categoryList .nav-link.active::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 4px;
      background-color: #0a97be;
      border-top-left-radius: 8px;
      border-bottom-left-radius: 8px;
    }
.Blog-page-blogs-blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.Blog-page-blogs-blog-card-body-categorylink {
  margin-left: auto;
  margin-block: 10px;
  /* existing style below */
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #0074a6;
  background: linear-gradient(to right, #e0f7fa, #ccf0ff);
  border: 1px solid #bce8f1;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.08);
  position: relative;
}

.Blog-page-blogs-blog-card-body-categorylink:hover {
  background: linear-gradient(to right, #00aeef, #0074a6);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
  transform: translateY(-1px);
}

.Blog-page-blogs-blog-card-body-categorylink::before {
  content: "\f02c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  font-size: 12px;
  color: inherit;
}


    /* Scrollbars */
    #Blog-page-blogs-categoryList::-webkit-scrollbar {
      width: 6px;
    }

    #Blog-page-blogs-categoryList::-webkit-scrollbar-track {
      background: transparent;
    }

    #Blog-page-blogs-categoryList::-webkit-scrollbar-thumb {
      background-color: #0a97be;
      border-radius: 8px;
    }

    #Blog-page-blogs-categoryList::-webkit-scrollbar-thumb:hover {
      background-color: #087e9b;
    }

    #Blog-page-blogs-categoryList {
      scrollbar-width: thin;
      scrollbar-color: #0a97be transparent;
    }

    /* Hide all blog sections initially except active */
    .blog-section {
      display: none;
    }

    .blog-section.active {
      display: block;
    }
@media (max-width: 768px) {
  #Blog-page-blogs-mobile-category {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
  }
}

.mobile-dropdown {
  position: relative;
  z-index: 20;
}

.dropdown-select {
  background: #f8f9fa;
  padding: 10px 15px;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 500;
  position: relative;
}
.dropdown-select:hover {
  background-color: #087e9b;
}

.dropdown-options {
  position: absolute;
  width: 100%;
  background: #fff;
  top: 100%;
  left: 0;
  border: 1px solid #ddd;
  border-top: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 99;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  animation: fadeIn 0.3s ease forwards;
}

.dropdown-options.open {
  display: block;
}

.dropdown-options li {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
  list-style: none;
}

.dropdown-options li:hover {
  background-color: #f1f1f1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  } 
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
    /* ---------------------------- */
    .Blog-page-latestblog{
        padding-inline: 20px;
    }

       .Blog-page-latestblog-blog-card{
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.171);
      background-color: white;
      display: flex;
      flex-direction: column;
      height: 100%;
      padding-bottom: 10px;
    }
   .Blog-page-latestblog-blog-card-body {
      padding: 10px;
    }

.Blog-page-latestblog-blog-card-img {
      width: 100%;
      object-fit: cover;
    }

   .Blog-page-latestblog-blog-card-body-para {
      font-size: 15px;
    }

    
/* Stylish Read More Link */
.Blog-page-blogs-blog-card-link{
  position: relative;
  width: fit-content;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #0a97be;
  padding-right: 28px;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Arrow Icon */
.Blog-page-blogs-blog-card-link::after {
      font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: '\f101';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  font-size: 15px;
}

/* Underline effect */
.Blog-page-blogs-blog-card-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0%;
  background-color: #0a97be;
  transition: width 0.3s ease;
}
.Blog-page-latestblog-blog-card-body-a{
  text-decoration: none;
  color: #000;
}
/* Hover Effects */
.Blog-page-blogs-blog-card-link:hover {
  color: #087e9b;
}

.Blog-page-blogs-blog-card-link:hover::after {
  animation: runningArrow 0.6s ease-in-out infinite;
}

.Blog-page-blogs-blog-card-link:hover::before {
  width: 100%;
}

/* Running Arrow Animation */
@keyframes runningArrow {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(6px);
  }
  100% {
    transform: translateY(-50%) translateX(0);
  }
}


/* -------------------------- */
.cta-banner {
  height: 300px;
background: linear-gradient(to right,#0A97BE,#087C9ED9);
position: relative;
width: 100%;
width: 95%;
margin: 50px auto;
border-radius: 0.5rem;
}
.cta-banner .container{
  z-index:10;
}
.cta-img2{
    position: absolute;
    height: 100%;
    width: 500px;
    left: 0;
    top: 0;
    z-index: 1;
}
.cta-img2 img{
    width: 100%;
    height: 100%;
}
.cta-img1{
    position: absolute;
    height: 100%;
    width: 500px;
    right: 0;
    bottom: 0;
    top:0;
    z-index: 2;
}
.cta-img1 img{
    width: 100%;
    height: 100%;
}
.cta-banner a{
    text-decoration: none;
}
/* responsive */
@media (max-width:1024px) {
    .cta-banner {
  height: 250px;

}
   .cta-img1{
    width:400px;
}
  .cta-img2{
    width:400px;
}
}
@media (max-width:968px) {
   .cta-banner{
    height: 200px;
   }
   .cta-img1{
    width: 300px;
   }
   .cta-img2{
    width: 300px;
   }
}

@media (max-width:768px) {
   .cta-img1{
    width: 200px;
   }
   .cta-img2{
    width: 200px;
   }
   .cta-banner h4{
    font-size: 16px;
   }
   span{
    font-size: 14px;
   }
}