/* Blog Card Styles */
.blog-card {
  background: #fff;
  border: 2px solid #fef3c7;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border-color: var(--primary-color, #fbbf24);
}

.blog-card a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Blog Card Image */
.blog-card-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #fef3c7;
  position: relative;
  overflow: hidden;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Blog Card Body */
.blog-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Title */
.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #191303;
  /* margin-bottom: 0.75rem; */
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card-title {
  color: var(--primary-color, #fbbf24);
}

/* Meta Information */
.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.blog-card-category {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-color, #fbbf24);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.75rem;
}

.meta-separator {
  color: #ccc;
  margin: 0 3px;
}

.blog-card-date {
  color: #6b7280;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.blog-card-author {
  color: #6b7280;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.blog-card-author i {
  color: #999;
  font-size: 0.8rem;
}

/* Description */
.blog-card-description {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.5rem;
  border-top: 1px solid #fef3c7;
  margin-top: auto;
}

.blog-card-link {
  color: var(--primary-color, #191303);
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

.blog-card:hover .blog-card-link {
  transform: translateX(5px);
  color: var(--primary-color, #fbbf24);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-card-image {
    height: 180px;
  }
  
  .blog-card-title {
    font-size: 1.1rem;
  }
  
  .blog-card-body {
    padding: 1.25rem;
  }
}

.blog-hero {
  position: relative;
  overflow: hidden;
  margin-top: -135px; 
  color: #fff;
  background-color: #191303;
  min-height: 300px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.hero-content {
  padding-top: 190px;
  padding-left: 45px;
  background: transparent; 
  border-radius: 12px;
}

/* Desktop Only: Add the background image back */
@media (min-width: 992px) {
  .blog-hero {
    background-image: url('../img/blog-bg.jpg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    min-height: clamp(365px, 25vw, 225px);
  }

  .hero-content {
    background: rgba(25, 19, 3, 0.7);
    backdrop-filter: blur(10px);
  }
}


table.custom-table {
  width: 100%;
  max-width: 100%;
  border: 1px solid #fbbf24;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  font-family: inherit;
  margin-bottom: 1rem;
}

/* Header */
table.custom-table thead th {
  background-color: #FFFBF2;
  color: #18181b;                     
  font-weight: 600;
  padding: 12px;
  text-align: left;
  border: 1px solid #fbbf24;
}

/* Cells */
table.custom-table th,
table.custom-table td {
  padding: 12px;
  border: 1px solid #fbbf24;
  vertical-align: middle;
  text-align: left;
  color: #191303;
  background: #ffffff;
}

/* Subtle desktop hover for clarity */
@media (min-width: 768px) {
  table.custom-table tbody tr:hover td {
    background: #fffaf8;
  }
}

/* Mobile: stack rows as cards and show data-label */
@media (max-width: 767.98px) {
  table.custom-table {
    border: none;
  }

  table.custom-table thead {
    display: none; /* hide table header */
  }

  table.custom-table,
  table.custom-table tbody,
  table.custom-table tr,
  table.custom-table td {
    display: block;
    width: 100%;
  }

  table.custom-table tr {
    margin-bottom: 12px;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
  }

  table.custom-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }

  table.custom-table td:last-child {
    border-bottom: none;
  }

  /* show the column label before each cell using the data-label attribute */
  table.custom-table td::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 36%;
    font-weight: 600;
    color: #18181b; /* text-zinc-950 */
    margin-right: 10px;
    flex: 0 0 36%;
  }

  table.custom-table td > * {
    flex: 1 1 auto;
  }
}

table.custom-table td:focus {
  outline: 2px dashed rgba(251,191,36,0.35);
  outline-offset: 2px;
}

/* CTA Box Styling */
.cta-box {
    background: #ffffff;
    box-shadow: 0 10px 10px rgba(236, 237, 226, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid #fbbf24;
}

.cta-box:hover {
    transform: translateY(-5px);
}

.cta-box h4 {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

.cta-box .btn-light {
    background-color: #191303;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-box .btn-light:hover {
    background-color: #fbbf24;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .cta-box {
        padding: 2.5rem 1.5rem !important;
    }
    
    .cta-box h4 {
        font-size: 1.5rem;
    }
}

/* Empowering business application blog */

/* Benefits Section Styling */

/* Benefit Card Styling */
.benefit-card {
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
    border-color: #fbbf24 !important;
}

.benefit-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h5 {
    color: #191303;
    font-size: 1.25rem;
}

.benefit-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .benefit-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .benefit-icon i {
        font-size: 2.5rem !important;
    }
    
    .benefit-card h5 {
        font-size: 1.1rem;
    }
}