 /* Section */


/* Title */
.section-title {
  font-weight: 600;
  font-size: 2.2rem;
}



/* Card Base */
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  margin-bottom: 15px;
  border: 1.5px solid #CCCCCC ;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: #2F80ED;
  box-shadow: 0 5px 5px rgba(47, 128, 237, 0.15);

  
}

/* Featured Card */
.news-card.featured .news-img-wrapper {
  height: 295px;
}

/* Horizontal Cards */
.news-card.horizontal {
  display: flex;
  gap: 15px;
  padding: 12px;

}

.news-card.horizontal .news-img-wrapper.small {
  width: 140px;
  height: 100px;
  flex-shrink: 0;
}

/* Image */
.news-img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Date Badge */
.date-badge {
  position: absolute;
  top: 0px;
  left: 0px;
  background: rgba(68, 68, 153, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
}

/* Content */
.news-content {
  padding: 16px;
}

.news-card.horizontal .news-content {
  padding: 0;
}

/* Typography */
.news-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-title a {
  text-decoration: none;
  
}

.news-title a:hover {
 background: linear-gradient(90deg, #1D2F93, #4989E5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text
}

.news-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}
 

   
/* FULL WIDTH BUTTON */
.read-more-full {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1px;
border-radius: 5px;
  width: 100%;
  padding: 10px;

  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background-color: #3398dc;

  /* background: linear-gradient(135deg, #007bff, #0056d2); */

  border-top: 1px solid rgba(255,255,255,0.2);

  transition: all 0.3s ease;
}

/* hover effect */
.read-more-full:hover {
  color: white;
  text-decoration: none;
  
}

/* arrow animation */


    .section-bg {
      background: linear-gradient(90deg, #1D2F93, #4989E5);
      color: #FFFFFF;
      padding: 40px 0;
      background-image: url(../../assets/solutions/bg.png);
      background-size: cover;       /* responsive scaling */

  background-repeat: no-repeat; /* no tiling */

  background-position: center;  /* always centered */
  min-height: 200px;
    }


/* 
    .product-card img {
      width: 100%;
      border-radius: 10px;
      height: 200px;
      object-fit: cover;
    } */

    
   
    .stat-item {
      border-right: 1.5px solid #FFFFFF80;
      padding: 10px;
    }

    .stat-item:last-child {
      border-right: none;
    }

    .stat-number {
      font-size: 46px;
      font-weight: bold;
    }

    .stat-text {
      font-size: 16px;
      opacity: 0.8;
    }

    /* Product Card Grid Container */
    .products-grid {
        display: flex;
      flex-wrap: wrap;
      margin: 0 -12px;
      }

    .product-grid-card {
        flex: 0 0 auto;
      width: 25%;
        padding: 0 12px;
      margin-bottom: 24px;
      }

    /* Product Card Base Styles */
    .product-grid-card .product-card {
        width: 100%;
      height: 480px;  
        display: flex;
        flex-direction: column;
        padding: 10px;
        background: white;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
      border-radius: 12px;
      cursor: pointer;
    }

    /* .product-grid-card .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    } */

    .product-grid-card .product-card img {
        width: 100%;
      height: 160px;
        object-fit: cover;
        border-radius: 10px;
      margin-top: 0;
      margin-bottom: 15px;
     
      }

    /* .product-grid-card .product-card:hover img {
      transform: scale(1.02);
    } */

    .product-grid-card .card-content {
        display: flex;
        flex-direction: column;
        width: 100%;
      flex: 1;
      }

    .product-grid-card .card-content h5 {
      font-size: 16px;
      margin-bottom: 12px;
      color: #1e3c8a;
      line-height: 1.4;
      }

    .product-grid-card .card-content p {
      display: block;
      font-size: 13px;
      line-height: 1.5;
      color: #555;
      margin-bottom: 16px;
      overflow: visible; 
      text-overflow: clip;  
      white-space: normal;  
      }

    .product-grid-card .card-content .btn {
      display: inline-block;
      align-self: flex-start;
      margin-top: auto;
  
      text-decoration: none;
      text-align: center;

      }

    /* .product-grid-card .card-content .btn:hover {
      background: #1e3c8a;
      } */

    /* .product-grid-card .product-card:hover .card-content .btn {
      display: inline-block;  
      } */

    /* Responsive: Tablet */
    @media (max-width: 992px) and (min-width: 769px) {
      .product-grid-card {
        width: 50%;
      }

      .product-grid-card .product-card {
        height: 440px;  
      }
      
      .product-grid-card .product-card img {
        height: 150px;
      }

      .product-grid-card .card-content p {
        font-size: 12px;
        line-height: 1.4;
      }
    }

    /* Responsive: Mobile */
    @media (max-width: 768px) {
      .products-grid {
        flex-direction: column;
      }
      
      .product-grid-card {
        width: 100%;
        margin-bottom: 24px;
      }

      .product-grid-card .product-card {
        height: auto;
        flex-direction: column;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        padding: 20px;
      }

      .product-grid-card .product-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        margin: 0 0 16px 0;
      }

      .product-grid-card .card-content {
        display: flex;
        flex-direction: column;
        width: 100%;
      }

      .product-grid-card .card-content h5 {
        font-size: 18px;
        margin-bottom: 12px;
        display: block;
      }

      .product-grid-card .card-content p {
        display: block;
        font-size: 14px;
        line-height: 1.5;
        color: #555;
        margin-bottom: 16px;
      }
      
      .product-grid-card .card-content .btn {
        display: inline-block;
        align-self: flex-start;
        
        font-size: 13px;
        font-weight: 600;
       
        text-decoration: none;
      }

      .product-grid-card .product-card:hover .card-content .btn {
        display: inline-block;
      }

      /* Stats section stays same but optional spacing */
      .stats {
        margin-top: 40px;
      }
      
    }

   

    /* same height */
    .custom-card {
      background-color: #EFF7FF;
      border: 1px solid #B4E1FF;
      border-radius: 15px;
     
      padding: 25px 20px 30px;
      height: 100%;
      transition: all 0.3s ease;
    }

    /* .custom-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
  } */

    .custom-icon {
      width: 70px;
      height: 70px;
      margin: 10px 10px 15px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #1D2F93, #4989E5);
      color: #fff;
      font-size: 26px;
    }

    /* .custom-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 10px;
    } */

    .custom-card p {
      font-size: 14px;
      color: #666;
      min-height: 80px;
    }

    /* .custom-btn {
    
      background-color: #3398dc;
      border: none;
      border-radius: 5px;
      padding: 10px 22px;
      color: #fff;
      font-size: 14px;
      transition: 0.3s;
      
    } */
/* 
    .custom-btn:hover {
      opacity: 0.9;
    } */

    /* end same height */


    .blog-card {
      border-radius: 6px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 5px 20px rgba(23, 23, 23, 0.05);
      margin-bottom: 20px;
      border: 1.5px solid #CCCCCC ;
    }

    .blog-img {
      width: 100%;
      height: 300px;
      object-fit: cover;
    }

    .badge-custom {
      background-color: #E2E2E2;
      padding: 6px 2px;
      border-radius: 6px;
      font-size: 14px;  
    }
    
 .badge-heading{
  background: linear-gradient(90deg, #1D2F93, #4989E5); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
   background-clip: text
 }
  

    .small-card img {
      width: 350px;
      height: 158px;
      object-fit: cover;

    }

    .small-card {
      display: flex;
      gap: 25px;
      position: relative;
      margin-bottom: 25px;
      border: 1.5px solid #CCCCCC ;
            border-radius: 5px;
            box-shadow: 0 5px 20px rgba(23, 23, 23, 0.05);
    }

    .small-card-title {
      font-size: 14px;
      font-weight: 500;
    }

    .date {
      font-size: 14px;
      color: #555555;
      padding-left: 3px;
   
    }

    /* Latest News Mobile Styles */
    @media (max-width: 768px) {

      /* Make all news cards stack vertically */
      .g-py-40 .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
      }

      .g-py-40 .col-lg-7,
      .g-py-40 .col-lg-5 {
        width: 100% !important;
        max-width: 100% !important;
      }

      /* Transform small cards to match the big card layout */
      .small-card {
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        margin-bottom: 1.5rem !important;
        gap: 0 !important;
      }

      /* Make small card images full width like big card */
      .small-card img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        margin: 0 !important;
      }

      /* Reorganize content inside small cards */
      .small-card>div:last-child {
        padding: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
      }

      /* Reorder badge and date to match big card order */
      .small-card>div:last-child .date {
        order: 1 !important;
        margin-bottom: 8px !important;
        padding-left: 0 !important;
      }

      .small-card>div:last-child .badge-custom {
        order: 2 !important;
        margin-bottom: 12px !important;
        width: fit-content !important;
      }

      .small-card>div:last-child .small-card-title {
        order: 3 !important;
        font-size: 1.35rem !important;
        font-weight: 600 !important;
      }

      /* Ensure all badges have consistent styling */
      .badge-custom {
        background: linear-gradient(90deg, #1D2F93, #4989E5);
        padding: 8px 16px !important;
        border-radius: 6px !important;
        font-size: 13px !important;
      }

      
    }

    /* card */
    /* HOVER EFFECTS */
.blog-card:hover {
  border-color: #2F80ED;
  box-shadow: 0 10px 30px rgba(47, 128, 237, 0.15);
}
    /* end card */

    .gradient{
      background: linear-gradient(90deg, #1D2F93, #4989E5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text
    }



       .feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.feature-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/*   Gradient overlay */
.feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.1)
  );

  color: #ffffff;
  transition: 0.3s ease;
}

/* Title */
.feature-overlay h2 {
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 10px;
}
 
/* Optional subtitle */
.feature-overlay .sub-text {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 10px;
  color: #ffff;
}

/* Arrow button */
.arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Hover effects  */
.feature-card:hover img {
  transform: scale(1.08);
}

.feature-card:hover .feature-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.1)
  );
}

.feature-card:hover .arrow-btn {
  background: #007bff;
  transform: translateX(5px);
}
