
#hero-22 {
  overflow: hidden;
  background-color: #e9ecef;
}
#hero-22 .row {
  min-height: 70vh;
}
#hero-22 .hero-image-col-22 {
  background-size: cover;
  background-position: center;
  min-height: 350px;
}
#hero-22 .hero-text-col-22 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
}
#hero-22 .hero-title-22 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
#hero-22 .hero-subtitle-22 {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2rem;
}
#hero-22 .hero-cta-button-22 {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.25rem;
  text-decoration: none;
  border: none;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}
#hero-22 .hero-cta-button-22:hover {
  opacity: 0.85;
}
@media (min-width: 768px) {
  #hero-22 .hero-image-col-22 {
    min-height: 100%;
  }
}
@media (max-width: 991.98px) {
  #hero-22 .hero-text-col-22 {
    padding: 3rem 4rem;
  }
  #hero-22 .hero-title-22 {
    font-size: 2.4rem;
  }
}
@media (max-width: 767.98px) {
  #hero-22 .hero-text-col-22 {
    padding: 3rem 2rem;
    text-align: center;
  }
  #hero-22 .hero-cta-button-22 {
    align-self: center;
  }
  #hero-22 .hero-title-22 {
    font-size: 2.1rem;
  }
}



/* category-posts-2 Styles */
#category-posts-2 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #f8f9fa; /* Light background for the section */
}

#category-posts-2 .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

#category-posts-2 .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40; /* Darker title */
    margin-bottom: 0.5rem;
}

#category-posts-2 .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d; /* Muted subtitle */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Post Styles */
#category-posts-2 .featured-post-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#category-posts-2 .featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}

#category-posts-2 .featured-post-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure wrapper takes height for object-fit */
}

#category-posts-2 .featured-post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area, might crop */
    transition: transform 0.3s ease;
}

#category-posts-2 .featured-post-card:hover .featured-post-image-wrapper img {
    transform: scale(1.05);
}

#category-posts-2 .featured-post-content {
    padding: 2rem;
}

#category-posts-2 .featured-post-content .featured-post-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

#category-posts-2 .featured-post-content .featured-post-title a {
    color: inherit;
    text-decoration: none;
}

#category-posts-2 .featured-post-content .featured-post-title a:hover {
    color: #007bff; /* Bootstrap primary color */
}

#category-posts-2 .featured-post-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

#category-posts-2 .featured-post-meta .meta-item {
    margin-right: 1rem;
}

#category-posts-2 .featured-post-meta .meta-item i {
    margin-right: 0.3rem;
}

#category-posts-2 .featured-post-excerpt {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#category-posts-2 .readmore-btn {
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#category-posts-2 .readmore-btn i {
    margin-left: 0.3rem;
    transition: transform 0.2s ease;
}

#category-posts-2 .readmore-btn:hover i {
    transform: translateX(3px);
}

/* Secondary Post Card Styles */
#category-posts-2 .post-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.075);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Make cards in a row same height */
}

#category-posts-2 .post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

#category-posts-2 .post-card .card-img-top-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for images */
    overflow: hidden;
}

#category-posts-2 .post-card .card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#category-posts-2 .post-card:hover .card-img-top-wrapper img {
    transform: scale(1.05);
}

#category-posts-2 .post-card .card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows card body to grow and push footer down */
}

#category-posts-2 .post-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

#category-posts-2 .post-card .card-title a {
    color: inherit;
    text-decoration: none;
}

#category-posts-2 .post-card .card-title a:hover {
    color: #007bff;
}

#category-posts-2 .post-card .card-text {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1; /* Allows text to take available space */
}

#category-posts-2 .post-card .card-footer {
    background-color: transparent;
    border-top: none;
    padding: 0 1.25rem 1.25rem; /* Adjust padding if needed */
}

#category-posts-2 .post-card .readmore-btn {
    font-size: 0.9rem;
}

/* Pagination Wrapper */
#category-posts-2 .pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    #category-posts-2 .featured-post-image-wrapper {
        height: 300px; /* Adjust height for tablet */
    }
    #category-posts-2 .featured-post-content {
        padding: 1.5rem;
    }
    #category-posts-2 .featured-post-content .featured-post-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    #category-posts-2 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    #category-posts-2 .section-header .section-title {
        font-size: 2rem;
    }
    #category-posts-2 .section-header .section-subtitle {
        font-size: 1rem;
    }
    #category-posts-2 .featured-post-card .row > div[class^="col-"] {
        width: 100%; /* Stack image and content */
    }
    #category-posts-2 .featured-post-image-wrapper {
        height: 250px; /* Adjust height for mobile */
        border-bottom-left-radius: 0; /* Remove radius if stacked */
        border-top-right-radius: 0.5rem;
    }
    #category-posts-2 .featured-post-image-wrapper img {
        border-bottom-left-radius: 0;
        border-top-right-radius: 0.5rem;
    }
     #category-posts-2 .featured-post-content {
        border-top-left-radius: 0;
        border-bottom-right-radius: 0.5rem;
        border-bottom-left-radius: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    #category-posts-2 .post-card .card-img-top-wrapper {
        height: 180px; /* Adjust image height for smaller mobile */
    }
     #category-posts-2 .post-card .card-title {
        font-size: 1.1rem;
    }
     #category-posts-2 .post-card .card-text {
        font-size: 0.9rem;
    }
}




#faq-25 {
  padding: 80px 0;
  background-color: #fff;
}
#faq-25 .faq-section-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 3.5rem;
  font-size: 2rem;
}
#faq-25 .accordion-item {
  border: 1px solid #e9ecef;
  border-radius: 0.5rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
#faq-25 .accordion-button {
  font-weight: 600;
  color: #343a40;
  background-color: #f8f9fa;
  padding: 1.2rem 1.5rem;
  border: none;
  box-shadow: none !important;
}
#faq-25 .accordion-button:not(.collapsed) {
  color: #0d6efd;
  background-color: #e7f1ff;
}
#faq-25 .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.2s ease-in-out;
}
#faq-25 .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}
#faq-25 .accordion-body {
  padding: 1.5rem;
  line-height: 1.7;
  color: #495057;
  background-color: #fff;
  border-top: 1px solid #eee;
}
#faq-25 .accordion-body p:last-child {
  margin-bottom: 0;
}
#faq-25 .ask-question-card {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
}
#faq-25 .ask-question-card h4 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}
#faq-25 .ask-question-card .form-text {
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
#faq-25 .ask-question-card .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
#faq-25 .ask-question-card .form-control {
  margin-bottom: 1rem;
}
#faq-25 .ask-question-card textarea.form-control {
  min-height: 120px;
}
#faq-25 .ask-question-card .btn-submit-question {
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  #faq-25 .ask-question-card {
    margin-top: 2rem;
  }
}


