html,
body {
  overflow-x: hidden !important;
}
.knowledge-header {
  text-align: center;
  position: relative;
  background: url("../img/home-assets/pattern.png") center -100px no-repeat;
  background-size: cover !important;
  padding: 70px 0;
}
.knowledge-header h1 {
  font-size: 45px;
  font-weight: 700;
  color: #4C39DD;
  margin-bottom: 18px;
}
.breadcrumb-wrapper {
  align-items: center;
  justify-items: center;
  margin: 0 auto 10px auto;
  padding: 0 15px;
  display: flex;
  justify-content: center;
}
nav.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}
.breadcrumb {
  justify-content: center;
  background: none;
  font-size: 18px;
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 700;
}
.knowledge-header p {
  font-size: 18px;
  color: #000;
  margin: 20px auto 0 auto;
  max-width: 670px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.01em;
}
.content-card {
  border-radius: 18px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
  margin: 30px 60px;
  transition: all 0.3s ease;
}
.content-text {
  flex: 1.1;
  padding: 5px 16px 5px 0;
  text-align: left;
}
.content-title {
  font-size: 35px;
  font-weight: 600;
  color: #4C39DD;
  margin-bottom: 25px;
  letter-spacing: 0;
}
.content-description {
  font-size: 18px;
  color: #000;
  line-height: 1.7;
  margin-bottom: 25px;
  font-weight: 400;
}
.content-readmore {
  font-weight: bold;
  text-decoration: none;
  color: #242424;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.content-readmore:hover {
  text-decoration: underline;
}
.content-image {
  flex: 1.1;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 650px;
  border-radius: 18px;
}
.content-image img {
  max-width: 650px;
  width: 100%;
  height: 450px;
  border-radius: 18px;
  background: #fff;
  display: block;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
.gem-benefits-section {
  margin: 70px 0 50px 0;
  padding: 0 60px;
  text-align: center;
}
.gem-services {
  text-align: center;
  margin: 60px;
}
.benefits-title {
  font-size: 40px;
  font-weight: 600;
  color: #4C39DD;
  margin-bottom: 8px;
}
.benefits-subtitle {
  font-size: 18px;
  color: #000;
  margin-bottom: 40px;
  max-width: 690px;
  margin-left: auto;
  margin-right: auto;
}
.benefits-main-row {
  margin-top: 0;
  align-items: stretch;
  display: flex;
}
.benefits-img-wrap {
  background: #f8f8f8;
  border-radius: 25px;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 100%;
  padding: 10px;
}
.benefits-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 23px;
  display: block;
  min-height: 100%;
  max-height: 100%;
}
.benefit-card {
  background: linear-gradient(172deg, #EFF5FE 70%, #d2dcec 100%);
  padding: 30px 28px 30px 28px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  min-height: 195px;
  text-align: left;
  transition: box-shadow 0.2s;
  box-sizing: border-box;
}
.benefit-card .benefit-icon {
  font-size: 23px;
  margin-bottom: 28px;
  color: #fff;
  background-color: #4C39DD;
  padding: 16px 22px;
  border-radius: 50px;
  display: inline-block;
}
.benefit-text {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  line-height: 1.55;
  max-width: 280px;
}
.benefits-img-wrap,
.benefits-img {
  height: 100%;
  min-height: 100%;
}

.faq-section {
  padding: 0 30px;
}

.faq-section h2 {
  text-align: center;
  font-weight: 700;
  color: #4C39DD;
  font-size: 40px;
}

.faq-section p {
  text-align: center;
  font-weight: 500;
  color: #000;
  font-size: 18px;
  margin-bottom: 50px;
}

.faq-container {
  display: flex;
  gap: 50px; /* gap between left and right */
  /* max-width: 1200px; */
  /* margin: 0 auto; */
  margin: 0;
  padding: 0;
}

.accordion {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px; /* gap between accordion items */
}

@media (max-width: 1024px) {
  /* Prevent horizontal scroll on smaller screens */
  .content-card,
  .gem-benefits-section,
  .gem-services-section,
  .faq-section,
  .blog-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Ensure images don’t exceed viewport width */
  .content-image,
  .content-image img {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Keep layout stable while removing overflow */
  .gem-service-col,
  .benefits-img-wrap,
  .benefits-img {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 991px) {
  .faq-container {
    flex-direction: column;
  }
}
.accordion-button:focus{
  border-color : transparent !important;
box-shadow : unset !important;
}
.accordion-item {
  border: 15px !important;
  border-radius: 15px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  transition: all 0.3s ease;
}

.accordion-item:last-of-type , .accordion-item:last-of-type .accordion-button {
    border-bottom-right-radius:15px !important;
    border-bottom-left-radius: 15px !important;
}
.accordion-item:first-of-type , .accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}


.accordion-button {
 background-color: #4c39dd0a;
    font-weight: 600;
    font-size: 16px;
    padding: 30px 25px;
    color: #333;
    border: solid 2px #4c39dd0a;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-radius: 15px;

}

.accordion-button::after {
  display: none !important;
}

.accordion-button .icon {
  font-size: 1.2rem;
  color: #000;
}

.accordion-button:not(.collapsed) {
  background-color: #f7f3fc;
  color: #4C39DD;
}

.accordion-body {
  background-color: #fff;
  color: #555;
  font-size: 0.95rem;
  padding: 20px 25px;
  line-height: 1.6;
}

.gem-services-section {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.gem-services-section .gem-services-title {
  color: #4C39DD;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
}

.gem-services-section .gem-services-subtitle {
  color: #212121;
  font-size: 18px;
  margin: 0 0 50px 0;
  font-weight: 400;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.gem-services-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.gem-service-col {
  flex: 0 1 30%;
  max-width: 440px;
  text-align: left; /* left align content */
}

.gem-service-card {
  padding: 35px 25px;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* left align content */
  /* min-height: 280px; */
  background: transparent; /* removed background */
}

.gem-service-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #4C39DD;
  text-align: left;
}

.gem-service-icon img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.gem-service-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  text-align: left;
}

.gem-service-desc {
  font-size: 16px;
  color: #5a5a5a;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
}

@media (max-width: 991px) {
  .gem-service-col {
    flex: 0 1 45%;
    max-width: 45%;
  }

  .gem-services-cards {
    gap: 20px;
  }

  .gem-service-card {
    padding: 0 10px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .gem-service-col {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .gem-services-cards {
    gap: 20px;
  }
}

@media (max-width: 991.98px) {
  .faq-card {
    font-size: 15rem;
    padding: 22px 18px;
  }
  .faq-title {
    font-size: 25px;
  }
  .faq-desc {
    font-size: 18px;
  }

  .faq-section {
    padding:10px 15px !important;
  }
  
.faq-container {
  display: flex;
  gap: 35px; /* gap between left and right */
  /* max-width: 1200px; */
  /* margin: 0 auto; */
  margin: 0;
  padding: 0;
}


.accordion {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px; /* gap between accordion items */
}




}
@media (max-width: 768px) {
  .faq-card {
    font-size: 0.98rem;
    padding: 14px 1px;
  }
  .faq-title {
    font-size: 20px;
  }
   .faq-section {
    padding:10px 10px !important;
  }

  .faq-section h2 {
  text-align: left;
  font-weight: 700;
  color: #4C39DD;
  font-size: 1.7rem;
}

.faq-section p {
  text-align: left;
  font-weight: 500;
  color: #000;
  font-size: 18px;
  margin-bottom: 20px;
}
}

@media (max-width: 991.98px) {
  .content-card {
    flex-direction: column;
    text-align: left;
    padding: 24px;
    gap: 14px;
  }
  .content-image,
  .content-text {
    width: 100%;
    text-align: left;
    justify-content: center;
  }
  .content-image img {
    margin: 0 auto;
    width: 95%;
    max-width: 600px;
    height: auto;
  }
  .content-title {
    font-size: 22px;
    text-align: left;
  }
  .content-description {
    font-size: 16px;
    text-align: left;
  }


  .breadcrumb {
    font-size: 15px;
  }
  .gem-benefits-section {
    padding: 0 10px;
  }
  .benefits-title {
    font-size: 1.45rem;


  }
  .benefit-card {
    /* padding: 22px 10px 10px 10px; */
    font-size: 0.98rem;
    min-height: 120px;
    margin: 0;
  }


  .benefit-card .benefit-icon {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    background-color: #4C39DD;
    padding: 8px 12px;
    border-radius: 50px;
    display: inline-block;
    text-align: left;
  }
  .gem-services-section .container {
    padding-right: 0;
    padding-left: 0;
  }
  .gem-service-card {
    text-align: center;
  }
  .gem-service-desc {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {

  .knowledge-header{
    padding: 0 15px !important;
  }
.knowledge-header h1 {
text-align: left;
font-size: 1.7rem;
}

.knowledge-header p {
text-align: left;
font-size: 1rem;
width: 100%;
   margin-bottom: 10px;
}  
.breadcrumb-wrapper {
  align-items:left;
  justify-items: left;
  margin: 0 auto 10px auto;
  padding: 0 ;
  display: flex;
  justify-content:left;
}
  .content-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    gap: 6px;
    margin: 0;
  }
  .content-image,
  .content-text {
    width: 100%;
    text-align: left;
    justify-content: left;
    padding: 0;
  }
  .content-image img {
    margin: 0 auto;
    width: 100%;
    max-width: 92vw;
    height: auto;
    object-fit: contain;
    margin-top: 30px;
  }
  .content-title {
    font-size: 25px;
  }
  .content-description {
    font-size: 17px;
  }
  .knowledge-header {
    margin-top: 20px;
    padding: 24px 2vw 16px 2vw;
    background-position: center -25px;
  }
  .gem-benefits-section {
    margin: 24px 0 1px 0;
    padding: 0 2vw;
  }
  .benefits-img-wrap {
    border-radius: 14px;
    height: auto;
  }
  .benefits-img {
    border-radius: 12px;
    max-height: 240px;
    min-height: unset !important;
  }
.gem-services-section .container-fluid{
padding: 0px;

}
  .gem-services-section .gem-services-title {
    font-size: 24px;
    text-align: left;
  }
  .gem-service-title {
    font-size: 24px;
    text-align: left;
  }
  .gem-services-section .gem-services-subtitle {
    font-size: 15px;
    text-align: left;
  }

  .benefit-text {
    font-size: 17px;
    text-align: left;
  }
  .benefits-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #4C39DD;
  margin-bottom: 8px;

  text-align: left;
}
.benefits-subtitle {
  font-size: 1rem;
  color: #000;
  margin-bottom: 20px;
  width: 100%;
 
  text-align: left;
}
}

/* Blog Section */
.blog-section {
  padding: 50px 50px;
}

/* .blog-header{
    margin-bottom: 45px;
} */

.blog-header h2 {
  color: #4C39DD;
  font-weight: 700;
  font-size: 35px; /* px instead of em */
  margin-bottom: 18px;
}
.blog-header p {
  color: #000;
  font-size: 18px; /* px instead of rem */
  margin: 0 auto 40px;
  max-width: 550px;
  text-align: center; /* ensure text is centered */
  font-weight: 500;
}

.blog-cards-wrapper {
   display: flex;
   justify-content: center;
  gap: 20px;
   flex-wrap: wrap;
   padding-top: 20px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  max-width: 460px;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  height: auto;
}

.blog-card:hover {
  transform: translateY(-2px);
}

.blog-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.blog-tag {
  color: #4C39DD;
  font-weight: 600;
  margin: 10px 0 5px;
  display: inline-block;
  font-size: 14px; /* added px */
}

.blog-card h4 {
  font-size: 23px; /* px instead of em */
  font-weight: 700;
  margin: 5px 0;
  color: #222;
}

.blog-card p {
  font-size: 18px; /* px instead of em */
  color: #555;
  margin: 5px 0;
  flex: 1;
}

.blog-read-more {
  color: #4c39dd;
  font-weight: 600;
  text-decoration: none;

  margin-top: 15px;
  font-size: 14px; /* px */
}

.blog-read-more:hover {
  text-decoration: underline;
}


/* Responsive */
@media (max-width: 1200px) {
  .blog-cards-wrapper {
    gap: 20px;
    padding: 0;
  }
}
/* === BLOG SECTION RESPONSIVE FIX === */
@media (max-width: 991px) {
  .blog-section {
    padding: 20px 15px !important;
    margin: 0 !important;
  }

  .blog-header h2 {
    text-align: left;
    font-size: 1.7rem; /* px instead of em */
    margin-bottom: 18px;
  }
  .blog-header p {
    color: #000;
    font-size: 18px; /* px instead of rem */
    width: 100%;
    text-align: left;
    margin-bottom: 18px;
  }

  .blog-cards-wrapper {
     display: flex;
     flex-direction: column;
     align-items: center;
    gap: 20px;
     padding: 0;
  }

  .blog-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    padding: 0 !important;
    box-sizing: border-box;
    border-radius: 12px;
  }

  /* Smaller image to give more space for text */
  .blog-card img {
    width: 100% !important;
    height: 180px !important; /* reduced from typical 250–300px */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .blog-card h4 {
    font-size: 20px;

    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
  }

  .blog-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 8px;
    text-align: left;
  }

  .blog-read-more {
    display: inline-block;

    color: #4C39DD;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    border-radius: 6px;
    text-align: left;
    margin-top: 8px;
  }

  .blog-read-more:hover {
    background: #8752f8;
  }
}
