.new-latest-header-new {
  padding: 15px 0;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 9999;
}

.new-latest-logo img {
  height: 50px;
}

.gt-started-btn-1 {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  font-family: var(--bs-font-sans-serif);
  color: var(--bs-yellow);
  letter-spacing: 0.4px;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in;
}

.new-latest-nav-items {
  transition: all 0.3s ease;
}

.new-latest-nav-item {
  position: static;
  padding: 0 20px;
}

.new-latest-nav-link {
  color: #333;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.3s;
  position: relative;
  display: block;
  text-decoration: none;
}

.new-latest-nav-link:hover {
  color: #4a195c;
}

.new-latest-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background-color 0.3s;
}

.new-latest-nav-link:hover::after {
  background: rgb(203 153 77) !important;
}

.new-latest-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 1000;
  padding: 30px 0;
}

/* Desktop hover effect */
@media (min-width: 992px) {
  .new-latest-nav-item:hover .new-latest-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.new-latest-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
  padding: 0;
  gap: 30px;
  flex-wrap: wrap;
}

.new-latest-tab {
  padding: 10px 5px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  font-weight: 500;
}

.new-latest-tab:hover {
  color: #4a195c;
}

.new-latest-tab.active {
  color: #4a195c;
}

.new-latest-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4a195c;
}

.new-latest-tab-content {
  display: none;
  padding: 0 15px;
}

.new-latest-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.new-latest-service-card {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #f9fafb;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  transition: transform 0.3s;
  margin-bottom: 28px !important;
}

.icon-container {
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-container img {
  width: 40px;
  height: 40px;
}

.content-container h5 {
  margin: 0 0 5px 0;
  font-size: 17px !important;
  color: #333;
  transition: color 0.3s;
}
.content-container p {
  color: #7d7d7d;
  margin: 5px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-d-change {
  text-decoration: none;
  color: inherit;
}

/* Desktop hover effect for service cards */
@media (min-width: 992px) {
  .new-latest-service-card:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

.new-latest-service-icon img {
  width: 100%;
  height: 200px;
  background: #e9ecef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.new-latest-service-icon i {
  font-size: 18px;
  color: #007bff;
  transition: all 0.3s;
}

/* Desktop hover effect for service icons */
@media (min-width: 992px) {
  .new-latest-service-card:hover .new-latest-service-icon {
    background: #007bff;
  }

  .new-latest-service-card:hover .new-latest-service-icon i {
    color: white;
  }
}

.new-latest-service-content h5 {
  margin: 0 0 5px 0;
  font-size: 25px !important;
  color: #333;
  transition: color 0.3s;
}

.w-change {
  text-decoration: none !important;
  color: black !important;
}

.new-latest-service-content a {
  text-decoration: none !important;
}

.new-latest-service-content {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

.new-latest-service-content .a {
  text-decoration: none;
  font-size: 18px !important;
  color: var(--bs-black) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0.4px !important;
  line-height: 25px !important;
}

.new-latest-service-content img {
  height: 63px;
  width: 63px;
  background-repeat: no-repeat;
  object-fit: cover;
  margin-top: 30px !important;
}

.btn-gt-strt {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btn-gt-strt a {
  padding: 14px 43px !important;
  border-radius: 50px !important;
  font-size: 16px;
}
.new-latest-tab img.tab-icon {
  width: 20px; /* Adjust size of the icon */
  height: 20px; /* Maintain aspect ratio */
  margin-right: 8px; /* Space between the icon and text */
}
/* Desktop hover effect for service content */
@media (min-width: 992px) {
  .new-latest-service-card:hover .new-latest-service-content h5 {
    color: #007bff;
  }
}

@media (max-width: 992px) {
  .new-latest-service-card:hover .new-latest-service-content h5 {
    color: #007bff;
  }

  .m-change {
    margin-top: 30px !important;
  }
}

.new-latest-get-started {
  padding: 10px 25px;
  background: #4a195c;
  color: white;
  border-radius: 25px;
  transition: all 0.3s;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.new-latest-get-started:hover {
  background: #cb994d;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.hamburger-btn {
  border: none;
  background: none;
  padding: 10px;
  cursor: pointer;
  display: none;
}

.hamburger-btn i {
  font-size: 28px;
  color: #4a195c;
}

@media (max-width: 991px) {
  .hamburger-btn {
    display: block;
  }

  .new-latest-nav-items {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    padding: 20px;
    overflow-y: auto;
    transition: all 0.3s ease;
  }

  .new-latest-nav-items.active {
    left: 0;
  }

  .new-latest-nav-items ul {
    flex-direction: column;
    gap: 10px;
  }

  .new-latest-nav-item {
    padding: 0;
  }

  .new-latest-mega-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 15px 0;
    display: none;
  }

  .new-latest-nav-item.active .new-latest-mega-menu {
    display: block;
  }

  .new-latest-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
    gap: 20px;
  }

  .new-latest-tab {
    flex: 0 0 auto;
  }

  .new-latest-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
  }

  .new-latest-nav-link::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    background: none;
    position: static;
    width: auto;
    height: auto;
  }

  .new-latest-nav-item.active .new-latest-nav-link::after {
    transform: rotate(180deg);
  }

  /* .new-latest-get-started {
        display: none;
    } */
}

/* Blog card styling */
.new-blog-card {
  background-color: #fff; /* Set the background color for the card */
  border-radius: 10px; /* Rounded corners for the card */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Shadow for depth */
  margin-bottom: 30px; /* Space between cards */
  display: flex; /* Use flexbox to align children */
  flex-direction: column; /* Stack children vertically */
  transition: all 0.3s ease; /* Smooth transition for hover effect */
  height: 100%; /* Ensure the card fills available height */
}

/* Hover effect for the blog card */
.new-blog-card:hover {
  background-color: #f8f9fa; /* Change the background color on hover */
  transform: translateY(-2px); /* Slightly lift the card */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* Increase shadow depth */
}

/* Blog card image (icon) styling */
.new-blog-card-icon {
  width: 100%; /* Ensure the image container takes full width */
  height: auto; /* Fixed height for the image */
  overflow: hidden; /* Hide any overflow */
  border-top-left-radius: 10px; /* Rounded top left corner */
  border-top-right-radius: 10px; /* Rounded top right corner */
  display: flex;
  justify-content: center; /* Center the image inside the container */
  align-items: center; /* Vertically center the image */
}

/* Image inside the container */
.new-blog-card-icon img {
  width: 100%; /* Ensure the image takes the full width */
  height: 100%; /* Ensure the image takes the full height */
  object-fit: cover; /* Ensure the image fills the container without stretching */
  object-position: center; /* Center the image in case it gets cropped */
}

/* Blog card content styling */
.new-blog-card-content {
  padding: 15px; /* Padding inside the content section */
  text-align: left; /* Left-align the text */
  display: flex; /* Use flexbox for alignment */
  flex-direction: column; /* Stack the content vertically */
  justify-content: flex-start; /* Align content to the top */
}

/* Blog title styling */
.new-blog-card-content h5 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px; /* Space below the title */
  color: #333; /* Dark color for the title */
  margin-top: 0; /* Remove margin at the top */
}

/* Blog link styling */
.blog-link {
  text-decoration: none; /* Remove underline from the link */
  color: #333; /* Set default text color */
}

.blog-link:hover {
  color: #007bff; /* Change color on hover */
}

/* Blog description styling */
.new-blog-card-content p {
  font-size: 18px !important;
  color: var(--bs-black) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0.4px !important;
  line-height: 25px !important;
}

/* Container for tabs */
.new-latest-tabs {
  display: flex;
  flex-wrap: wrap; /* This ensures tabs will wrap on smaller screens */
  gap: 15px; /* Space between tabs */
}

/* Each individual tab */
/* Container for tabs */
.new-latest-tabs {
  display: flex;
  flex-wrap: wrap; /* This ensures tabs will wrap on smaller screens */
  gap: 20px; /* Space between tabs */
}

/* Each individual tab */
.new-latest-tab {
  display: flex;
  align-items: center; /* Align the text and logo vertically */
  padding: 12px 10px; /* Adjusted padding for more space */
  font-size: 16px; /* Font size */
  font-weight: 500; /* Font weight */
  color: #666; /* Default color */
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition */
  position: relative;
}

/* Active tab style */
.new-latest-tab.active {
  background-color: #fff; /* Keeping the background white for active tab */
  color: #4a195c; /* Active color */
}

/* Logo styling */
.tab-logo {
  width: 20px; /* Set logo width */
  height: 20px; /* Set logo height */
  margin-right: 12px; /* Increased space between logo and text */
}

/* Hover effect for tabs */
.new-latest-tab:hover {
  background-color: #f1f1f1; /* Light hover background */
}

@media (max-width: 762px) {
  .w-change {
    margin-left: 90px !important;
  }
}

@media (max-width: 576px) {
  .new-latest-service-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .w-change {
    margin-left: 0px !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
