.elementor-540 .elementor-element.elementor-element-7b6525d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-540 .elementor-element.elementor-element-6a3476ec{width:100%;max-width:100%;}.elementor-540 .elementor-element.elementor-element-c77108b{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-540 .elementor-element.elementor-element-bed44b0{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-540 .elementor-element.elementor-element-fdaa828{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-540 .elementor-element.elementor-element-bed44b0{--width:66.6666%;}.elementor-540 .elementor-element.elementor-element-fdaa828{--width:33.3333%;}}/* Start custom CSS for html, class: .elementor-element-6a3476ec *//* ===== Services Hero ===== */
.services-hero {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
 background: linear-gradient(to right, #1B365D, #4F8EDC);

}

/* Inner content */
.services-hero .hero-inner {
  max-width: 1200px;
  padding-left: clamp(24px, 6vw, 120px);
  padding-right: 24px;
  color: #ffffff;
}
/* Heading */
.services-hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Subtext */
.services-hero p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 620px;
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
  .services-hero {
    min-height: 320px;
  }

  .services-hero h1 {
    font-size: 38px;
  }

  .services-hero p {
    font-size: 18px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-af8b487 *//* ==============================
   BLOG FILTER BAR (FINAL)
================================ */

/* Wrapper */
.blog-filter-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

/* Title */
.filter-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 700;
  color: #1e3a8a;
  white-space: nowrap;
}

.filter-title svg {
  width: 26px;
  height: 26px;
  stroke: #3b82f6;
}

/* Scrollable buttons row */
.filter-buttons {
  position: relative;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  padding-right: 72px; /* space for fade */
  width: 100%;
}

/* Hide scrollbar */
.filter-buttons::-webkit-scrollbar {
  display: none;
}
.filter-buttons {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Buttons */
.filter-btn {
  flex-shrink: 0;
  background: #f1f5f9;
  border: none;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Hover (only inactive) */
.filter-btn:not(.active):hover,
.filter-btn:not(.active):focus {
  background: #e2e8f0;
  color: #1e3a8a;
  outline: none;
}

/* Active */
.filter-btn.active {
  background: #1e3a8a;
  color: #ffffff;
}

/* Right-edge fade (fixed, professional) */
.blog-filter-wrapper::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 56px; /* approx button height */
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    #ffffff 85%
  );
}

/* Responsive */
@media (max-width: 768px) {
  .filter-title {
    font-size: 22px;
  }

  .filter-btn {
    font-size: 16px;
    padding: 12px 18px;
  }
}

/*blogs css*/
/* ==============================
   BLOG LIST
================================ */
/* ==============================
   BLOG CARD – EXACT DESIGN
================================ */
.blog-card-wrapper {
    display: flex; /* Uses Flexbox for two columns side-by-side */
    background-color: #fff; /* White background for the whole card */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* Ensures image corners are rounded with the card */
    max-width: 900px; /* Adjust as needed */
    margin: 20px auto;
}

.blog-card-image-col {
    flex: 1; /* Takes up one fraction of space */
    display: flex;
     align-items: normal;
   
}

.blog-card-image-col img {
    max-width: 100%;
    height: auto;
    display: block;
}

.blog-card-content-col {
    flex: 2; /* Takes up two fractions of space (ratio of approx 1:2) */
    padding:10px 30px 10px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.post-date {
    color: #666;
    font-size: 0.875rem;
    margin-right: 15px;
}

.post-category {
    background-color: #e0f2fe; /* Light blue background for the tag */
    color: #0d47a1; /* Dark blue text color */
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.post-title {
    font-size: 1.5rem;
    color: #1e3a8a;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.post-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.read-more-btn {
    color: #1e3a8a; /* Blue link color */
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

/* Responsive design: stack columns on smaller screens */
@media (max-width: 768px) {
    .blog-card-wrapper {
        flex-direction: column;
    }
    .blog-card-image-col {
        padding: 40px; /* More padding when stacked vertically */
    }
    .post-title {
        font-size: 1.3rem;
    }
}
.blog-card-image-col {
    overflow: hidden;
}
.blog-card-image-col img {
    transition: transform 0.4s ease;
}
.blog-card-wrapper:hover .blog-card-image-col img {
    transform: scale(1.08);
}
.blog-card-wrapper {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card-wrapper:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-bc952b8 *//* Sidebar Wrapper */
.blog-sidebar {
margin-top: 55px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Box */
.sidebar-box {
  background: #f4f7fb;
  border-radius: 16px;
  padding: 28px;
}

/* Titles */
.sidebar-title {
  font-size: 28px;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 20px;
}

/* Search */
.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 16px 50px 16px 18px;
  font-size: 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  outline: none;
  color: #334155;
}

.search-box input::placeholder {
  color: #9ca3af;
}

/* Search Icon */
.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

/* Popular Posts */
.popular-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popular-posts li {
  margin-bottom: 18px;
}

.popular-posts li:last-child {
  margin-bottom: 0;
}

.popular-posts a {
  font-size: 22px;
  line-height: 1.5;
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  display: block;
}

.popular-posts a:hover {
  color: #1e3a8a;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar-title {
    font-size: 24px;
  }

  .popular-posts a {
    font-size: 18px;
  }
}
/* Newsletter Box */
.sidebar-newsletter {
  background: linear-gradient(135deg, #1e3a8a, #4f7df3);
  color: #ffffff;
  border-radius: 18px;
  padding: 30px;
}

/* Header */
.newsletter-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.newsletter-header svg {
  stroke: #ffffff;
}

.newsletter-header h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}

/* Text */
.newsletter-text {
  font-size: 18px;
  line-height: 1.6;
  color: #e0e7ff;
  margin-bottom: 24px;
}

/* Input */
.newsletter-input {
  width: 100%;
  padding: 16px 18px;
  font-size: 18px;
  border-radius: 14px;
  border: none;
  margin-bottom: 18px;
  outline: none;
  color: #1e3a8a;
}

.newsletter-input::placeholder {
  color: #64748b;
}

/* Button */
.newsletter-btn {
  width: 100%;
  padding: 16px;
  font-size: 22px;
  font-weight: 700;
  border-radius: 16px;
  border: none;
  background: #ffffff;
  color: #1e3a8a;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Mobile */
@media (max-width: 768px) {
  .newsletter-header h3 {
    font-size: 22px;
  }

  .newsletter-text {
    font-size: 16px;
  }

  .newsletter-btn {
    font-size: 18px;
  }
}

.newsletter-btn:hover{
    background-color: #1f398a;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-c77108b *//* Main Blog Layout */
.main-blog-area {
  /*display: grid;*/
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
}

/* Blog content column */
.main-blog-area .blog-main {
  min-width: 0;
}

/* Sticky sidebar */
.main-blog-area .blog-sidebar-wrap {
  position: sticky;
  top: 40px; /* adjust if you have a sticky header */
  height: fit-content;
}

/* Ensure sidebar widgets don't overflow */
.main-blog-area .blog-sidebar-wrap > * {
  max-width: 100%;
}/* End custom CSS */