/* Container spacing */
.blog_main {
    margin-top: 105px;
}

/* Gradient Shapes */
.gradient-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 68.5625rem;
    aspect-ratio: 1097 / 845;
    background: linear-gradient(to top right, #6b21a8, #84cc16);
    opacity: 0.2;
    clip-path: polygon(
        74.1% 44.1%,
        100% 61.6%,
        97.5% 26.9%,
        85.5% 0.1%,
        80.7% 2%,
        72.5% 32.5%,
        60.2% 62.4%,
        52.4% 68.1%,
        47.5% 58.3%,
        45.2% 34.5%,
        27.5% 76.7%,
        0.1% 64.9%,
        17.9% 100%,
        27.6% 76.8%,
        76.1% 97.7%,
        74.1% 44.1%
    );
    filter: blur(100px);
}
.shape-1 {
    top: -10rem;
    right: 50%;
    transform: translateX(50%);
}
.shape-2 {
    top: -28rem;
    left: 50%;
    transform: translateX(-50%);
}

/* Card Featured Container */
.card-featured {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.custom-Blogcard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px rgba(209, 213, 219, 1);
    flex-grow: 1;
}
.custom-image {
    width: 100%;
    aspect-ratio: 385 / 221;
    border-radius: 1rem;
    object-fit: cover;
    display: block;
}
/* Featured article text */
.blog-card {
    width: 100%;
    padding: 1.5rem; /* p-6 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem; /* text-xs */
    color: #6b7280; /* gray-500 */
}

.blog-meta time {
    color: #6b7280;
}

.blog-category {
    position: relative;
    z-index: 20;
    background: #f9fafb; /* gray-50 */
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
    color: #4b5563; /* gray-600 */
    transition: background 0.2s ease;
    text-decoration: none;
}

.blog-category:hover {
    background: #f3f4f6; /* gray-100 */
}
.blog-meta time i,
.blog-category i {
    font-size: 14px;
    line-height: 0;
}
.blog-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    margin-top: 0.75rem;
    font-size: 1.125rem; /* text-lg */
    font-weight: 600;
    line-height: 1.5rem;
    color: #111827; /* gray-900 */
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.blog-title:hover {
    color: #4b5563; /* gray-600 */
}

.blog-desc {
    margin-top: 1.25rem;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.5rem;
    color: #4b5563; /* gray-600 */
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* line-clamp-2 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-author {
    position: relative;
    /* margin-top: 2rem; */
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #f9fafb; /* gray-50 */
    object-fit: cover;
}

.author-info {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.written-by {
    font-weight: 600;
    color: #111827; /* gray-900 */
    margin: 0;
}

.author-name {
    color: #4b5563; /* gray-600 */
    margin: 0;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Social Share Section */
.blog-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 20px;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f4f6; /* light gray */
    color: #4b5563; /* gray-600 */
    font-size: 14px;
    line-height: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-icon:hover {
    transform: translateY(-2px);
    background: #111827; /* dark hover */
    color: #fff;
}

/* Custom brand colors */
.share-icon.facebook:hover {
    background: #1877f2;
}
.share-icon.twitter:hover {
    background: #1da1f2;
}
.share-icon.linkedin:hover {
    background: #0077b5;
}
.share-icon.whatsapp:hover {
    background: #25d366;
}

/* Pagination */
.pagination .page-link {
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    color: #6b21a8;
}
.pagination .page-link.page-active,
.pagination .page-link.page-next {
    background-color: #6b21a8;
    color: #fff;
    font-weight: 600;
}

/* Blog details page Css Start Here */

.hero-section {
    background-color: #02356c;
    position: relative;
    overflow: hidden;
    /* border-bottom-left-radius: 1rem;
      border-bottom-right-radius: 1rem; */
    margin-top: 105px;
}
/* Background pattern */
.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.2;
    mask-image: linear-gradient(to bottom, transparent, white);
    -webkit-mask-image: linear-gradient(to bottom, transparent, white);
}
/* Text content */
.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    padding-top: 6rem;
    padding-bottom: 3rem;
}
.hero-title {
    font-weight: 700;
    line-height: 1.3;
}
.hero-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    max-width: 80%;
}
.hero-content .blog-category {
    background: #00274f;
}
.author-box {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    gap: 10px;
}
.author-box img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    object-fit: cover;
}
.hero-img img {
    width: 100%;
    border-radius: 0.5rem;
    /* box-shadow: 0 10px 25px rgba(0,0,0,0.4); */
}
@media (max-width: 768px) {
    .hero-desc {
        max-width: 100%;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .author-box {
        justify-content: center;
        flex-direction: column;
    }
}

/* Hero Section End Here */

/* Details Page CSS Start Here */

.blogDetailsSection {
    margin: 50px auto;
}
.blogDetailsSection h2,
.blogDetailsSection h3 {
    color: #1a1a1a;
}
.blogDetailsSection h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 40px;
    font-weight: 700;
}
.blogDetailsSection h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 30px;
}
.blogDetailsSection p {
    margin-bottom: 15px;
}
.blogDetailsSection a {
    color: #0066cc;
    text-decoration: none;
}
.blogDetailsSection a:hover {
    text-decoration: underline;
}
.blogDetailsSection ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}
.blogDetailsSection li {
    margin-bottom: 8px;
}
.blogDetailsSection img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* FAQ Styles */
#faq-section {
  margin: 20px auto;
}

#faq-section .faq-item {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

#faq-section .faq-item input {
  display: none;
}

#faq-section .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 25px;
}

/* Arrow icon */
#faq-section .faq-question::after {
  content: "▼";
  position: absolute;
  right: 0;
  font-size: 14px;
  transition: transform 0.6s ease;
}

/* Rotate arrow when active */
#faq-section .faq-item input:checked + .faq-question::after {
  transform: rotate(-180deg);
}

#faq-section .faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.6s ease;
}

#faq-section .faq-item input:checked ~ .faq-answer {
  max-height: 200px; /* adjust if answer is longer */
  opacity: 1;
  margin-top: 8px;
}
/* Table Styles */
.blogDetailsSection table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.blogDetailsSection th,
.blogDetailsSection td {
    padding: 12px 15px;
    text-align: left;
}
.blogDetailsSection thead {
    background: #f1f1f1;
    font-weight: 700;
}
.blogDetailsSection tbody tr:nth-child(even) {
    background: #f9f9f9;
}
/* Responsive */
@media (max-width: 768px) {
    .blogDetailsSection h2 {
        font-size: 1.6rem;
    }
    .blogDetailsSection h3 {
        font-size: 1.2rem;
    }
}


.sidebar-section {
      /* max-width: 350px; */
    }
    .recent-blog {
      background: #f3f3f3;
      border-radius: 15px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      padding: 20px;
      margin-bottom: 30px;
    }
    .recent-blog h5 {
      font-weight: 800;
      color: #333;
      margin-bottom: 15px;
    }
    .recent-blog ul {
      padding-left: 0;
      list-style: none;
      margin: 0;
    }
    .recent-blog li {
      border-bottom: 1px solid #ddd;
      padding: 10px 0;
    }
    .recent-blog li:last-child {
      border-bottom: none;
    }
    .recent-blog a {
      display: flex;
      gap: 10px;
      color: #444;
      font-weight: 600;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s;
    }
    .recent-blog a:hover {
      color: #000;
    }
    .recent-blog img {
      width: 80px;
      height: 46px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
      margin: 0;
    }
    /* Lead Form */
    .lead-form-box {
      background: radial-gradient(164.75% 100% at 50% 0%, #f7f7f9 0%, #d9dbe4 48.73%);
      border-radius: 20px;
      padding: 25px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    .lead-form-box h6 {
      font-weight: 700;
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }
    .lead-form .form-control,
    .lead-form .form-select {
      border-radius: 15px;
      padding: 12px 15px;
      border: 1px solid #B2C1F9;
      font-size: 14px;
    }
    .lead-form label {
      font-weight: 600;
      font-size: 13px;
      margin-bottom: 5px;
      color: #555;
    }
    .lead-form textarea {
      resize: none;
      height: 100px;
    }
    .lead-form button {
      border-radius: 15px;
      padding: 12px;
      font-weight: 600;
      background: #111827;
      color: #fff;
      width: 100%;
      transition: 0.3s;
    }
    .lead-form button:hover {
      background: #000;
      transform: scale(0.97);
    }