section.associates-m {
  background: linear-gradient(90deg, #ffffff 0.1%, #d8ccbe 99.9%),
    url("/images/home/watermark.svg");
}

.padding-m {
  padding: 8rem 0;
}

.associates-head-m {
  background: url(/images/home/watermark.svg);
  background-position: 100% 10%;
  background-repeat: no-repeat;
  background-size: auto;
}

.associates-head-m h2 {
  font-weight: 500;
  font-size: 48px;
  margin-bottom: 1rem;
}

.associates-head-m h3 {
  font-weight: 200;
  font-style: italic;
  font-size: 32px;
}

.associates-flex-m {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 2rem;
}

.associate-item-m {
  width: 19.66%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.associate-item-m img {
  height: auto;
  width: 100%;
  max-width: 180px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

/* clinets section */
.clients-m {
  background: linear-gradient(270deg, #ffffff 0%, #d8ccbe 100%);
  padding-bottom: 8rem;
  overflow: hidden;
}

.clients-m-sec {
  padding: 8rem 0 2rem 0;
}

.clients-m-sec h2 {
  font-weight: 500;
  font-size: 48px;
  margin-bottom: 1rem;
}

.clients-m-sec h3 {
  font-weight: 300;
  font-style: italic;
  font-size: 32px;
}

.clients-flex-m {
  position: relative;
}

.clients-logos-m {
  width: 62vw;
  min-height: 900px;
  background: white;
  padding: 2rem 6rem 2rem 2rem;
}

.clients-logos-text {
  width: 40vw;
  background: #e94e1b;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 4rem;
  position: absolute;
  top: -10%;
  right: 0;
  height: 830px;
  overflow-y: scroll;
}

.div-logos-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.client-logo-item {
  /* border-right: 1px solid #C8B8A6;
    border-bottom: 1px solid #C8B8A6; */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  aspect-ratio: 1 / 0.9;
}

/* .client-logo-item:nth-child(4n+1) {
    border-left: 1px solid #C8B8A6;
}


.client-logo-item:nth-child(-n+4) {
    border-top: 1px solid #C8B8A6;
} */

.client-logo-item:nth-child(odd) {
  align-items: flex-end;
}

.client-logo-item:nth-child(even) {
  align-items: flex-start;
}

.client-logos img {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  padding: 0 1rem;
  aspect-ratio: 1 / 0.7;
}

.div-logos-text p {
  font-weight: 400;
  font-size: 18px;
  text-align: left;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: all 0.5s ease;
}

.div-logos-text p.active {
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.small-dot-m {
  color: #e94e1b;
  font-size: 3rem;
  line-height: 0;
  font-style: normal;
}

.events-m {
  background: linear-gradient(90deg, #ffffff 0.1%, #d8ccbe 99.9%);
}

.events-head-m {
  background: url(/images/home/watermark.svg);
  background-position: 100% 10%;
  background-repeat: no-repeat;
  background-size: auto;
}

.events-head-m h2 {
  font-weight: 500;
  font-size: 48px;
  margin-bottom: 1rem;
}

.events-head-m h3 {
  font-weight: 200;
  font-style: italic;
  font-size: 32px;
}

.events-flex-m {
  width: 85%;
  margin: 4rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.events-div-m {
  width: calc(33.33% - 1.5rem);
  display: flex;
  flex-direction: column;
  text-align: center;
  background: #ffffff50;
  padding: 1.5rem;
  transition: all 0.5s ease;
}

.events-div-m:hover {
  background: #fff;
  box-shadow: 5px 5px 5px 0px #0000001a;
}

.events-div-m img {
  width: 100%;
  height: auto;
}

.events-div-m p {
  font-size: 16px;
  color: #333;
  margin: 1rem 0;
  text-align: left;
  font-weight: 400;
  font-size: 20px;
}

.events-div-m p:last-child {
  text-align: right;
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.events-div-m hr {
  width: 100%;
  border: none;
  border-top: 1px solid #dbdbdb;
}

/* insights */
.insights-m {
  background: linear-gradient(90deg, #d8ccbe 0.1%, #ffffff 99.9%);
}

.insights-head-m {
  background: url(/images/home/watermark.svg);
  background-position: 100% 10%;
  background-repeat: no-repeat;
  background-size: auto;
}

.insights-head-m h2 {
  font-weight: 500;
  font-size: 48px;
  margin-bottom: 0.5rem;
}

.insights-head-m h3 {
  font-weight: 200;
  font-style: italic;
  font-size: 32px;
  margin-bottom: 1.5rem;
}

.insights-head-m p {
  font-size: 18px;
  line-height: 1.6;
  width: 70%;
  font-weight: 400;
}

.insights-flex-m {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem 2rem;
  padding-top: 4rem;
  width: 78%;
  margin: auto;
}

.insights-div {
  width: calc(50% - 2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff50;
  padding: 1.5rem;
  transition: all 0.5s ease;
  justify-content: space-between;
}

.insights-div:hover {
  box-shadow: 5px 5px 5px 0px #0000001a;
  background: #fff;
}

.insights-div img {
  width: 100%;
  height: auto;
  display: block;
}

.eci-video-div {
  background-color: #000;
}

.eci-video-div video {
  width: 100%;
  height: auto;
  display: block;
  padding: 2rem 0;
}

.insights-div div {
  padding: 1rem 0;
}

.insights-flex-m .insights-div h2 {
  font-weight: 300;
  font-style: italic;
  font-size: 32px;
}

.insights-div div p {
  font-weight: 400;
  font-size: 18px;
  width: 100%;
}

.insights-div .insights-date-flex {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding: 1rem 0 0 0;
  width: 100%;
}

.insights-date-flex p:first-child {
  font-weight: 400;
  font-size: 20px;
}

.insights-date-flex p:last-child {
  font-weight: 300;
  font-style: italic;
  font-size: 18px;
}

.blog-inner-section-m {
  background: linear-gradient(90deg, #ffffff 0.1%, #d8ccbe 99.9%);
}

.bis-cont {
  background: url(/images/home/watermark.svg);
  background-position: 100% 10%;
  background-repeat: no-repeat;
  background-size: auto;
}

.blog-inner-section-m h2 {
  font-weight: 400;
  font-size: 48px;
  margin-bottom: 1.5rem;
}

.blog-inner-flex-m {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.blog-inner-text-m {
  width: 60%;
}

.blog-inner-text-m div {
  margin-bottom: 2rem;
}

.blog-inner-text-m h3 {
  font-weight: 300;
  font-style: italic;
  font-size: 32px;
  margin-bottom: 0.5rem;
  color: #000000cc;
}

.blog-list-m {
  margin-top: 1.5rem;
}

.blog-inner-text-m h4 {
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 1rem;
}

.blog-inner-text-m p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
}

.blog-inner-text-m ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  font-weight: 400;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.blog-inner-text-m ul li::marker {
  color: #e94e1b;
}

.blog-inner-img-m {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-around;
}

.blog-inner-img-m img {
  width: 100%;
}

.blog-inner-img-m p {
  font-size: 16px;
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 500;
}

.author-details-m {
  text-align: left;
  font-size: 16px;
  margin-top: 1.5rem;
}

.author-details-m p {
  font-weight: 400;
  font-size: 32px;
}

.author-details-m small {
  font-weight: 300;
  font-style: italic;
  font-size: 18px;
  padding-left: 0.8rem;
}

.related-blogs-m {
  background: url(../images/events/bg-overlay.svg), #3c2f26;
  padding: 3rem 0;
  margin-top: 3rem;
}

.related-blogs-m h2 {
  font-weight: 500;
  font-size: 48px;
  text-align: left;
  margin-bottom: 4rem;
  color: #fff;
}

.related-blogs-flex {
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 3rem;
}

.related-blogs-div-m {
  width: calc(30% - 3rem);
  text-align: center;
}

.related-blogs-div-m img {
  width: 100%;
}

.related-blogs-div-m p {
  color: #fff;
  margin-top: 1rem;
  font-weight: 400;
  font-size: 20px;
  text-align: left;
}

.dropdown-btn {
  display: none;
}

@media (max-width: 1700px) {
  .padding-m {
    padding: 5rem 0;
  }

  .clients-m-sec {
    padding: 5rem 0 2rem 0;
  }
}

@media (max-width: 1536px) {
  .events-head-m h2,
  .insights-head-m h2 {
    font-size: 40px;
  }

  .events-head-m h3,
  .insights-head-m h3 {
    font-size: 30px;
  }

  .insights-flex-m .insights-div h2 {
    font-size: 25px;
  }

  .insights-date-flex p:last-child {
    font-size: 16px;
  }

  .blog-inner-section-m h2 {
    font-size: 40px;
  }

  .blog-inner-text-m h3 {
    font-size: 30px;
  }

  .associates-head-m h2,
  .clients-m-sec h2 {
    font-size: 40px;
  }

  .associates-head-m h3,
  .clients-m-sec h3 {
    font-size: 30px;
  }
}

@media (max-width: 1440px) {
  .client-logos img {
    object-fit: contain;
    max-width: 150px;
  }

  .div-logos-text p {
    font-size: 17px;
  }

  .blog-inner-section-m h2 {
    font-size: 36px;
  }

  .blog-inner-text-m p {
    font-size: 17px;
  }

  .blog-inner-text-m h3 {
    font-size: 26px;
  }
  
  .client-logo-item {
    aspect-ratio: 1 / 1.2;
  }
}

@media (max-width: 1300px) {
  .blog-inner-section-m h2 {
    font-size: 32px;
  }
}

@media (max-width: 1200px) {
  .client-logo-item {
    aspect-ratio: 1 / 1.4;
  }
}

@media (max-width: 1024px) {
  .associates-head-m h2,
  .clients-m-sec h2 {
    font-size: 30px;
  }

  .associates-head-m h3,
  .clients-m-sec h3 {
    font-size: 24px;
  }

  .events-head-m h2 {
    font-size: 30px;
  }

  .events-head-m h2,
  .insights-head-m h2 {
    font-size: 30px;
  }

  .events-head-m h3,
  .insights-head-m h3 {
    font-size: 24px;
  }

  .insights-flex-m .insights-div h2 {
    font-size: 22px;
  }

  .insights-head-m p {
    width: 100%;
  }

  .padding-m {
    padding: 5rem 0;
  }

  .associates-flex-m {
    gap: 15px;
  }

  .associate-item-m {
    width: 25%;
  }

  .clients-m-sec {
    padding: 5rem 0 2rem 0;
  }

  .clients-m {
    padding-bottom: 5rem;
  }

  .clients-logos-m {
    width: 100%;
    min-height: auto;
    padding: 2rem;
  }

  .clients-logos-text {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    padding: 5%;
    overflow-y: auto;
    flex-direction: column;
  }

  .div-logos-text {
    display: none;
    /* Initially hide the list */
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    background: #e94e1b;
    padding: 1rem;
    border-radius: 10px;
    /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
  }

  .dropdown-btn {
    display: block;
    width: 100%;
    background: #e94e1b;
    color: white;
    padding: 1rem;
    font-size: 18px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: left;
  }

  .dropdown-btn::after {
    content: " ▼";
    float: right;
  }

  .dropdown-open .div-logos-text {
    display: flex;
  }

  .dropdown-open .dropdown-btn::after {
    content: " ▲";
  }

  .clients-flex-m {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    padding: 0;
  }

  .client-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-logo-item {
    aspect-ratio: 2 / 1;
  }

  .client-logo-item:nth-child(-n + 3) {
    border-top: 1px solid #c8b8a6;
  }

  /* .client-logo-item:nth-child(3n+1) {
        border-left: 1px solid #C8B8A6;
    } */

  .client-logo-item:nth-child(odd) {
    align-items: center;
  }

  .client-logo-item:nth-child(even) {
    align-items: center;
  }

  .client-logo-item:nth-child(-n + 4) {
    border-top: unset;
  }

  .div-logos-text p {
    font-size: 16px;
  }

  .dropdown-btn {
    font-size: 16px;
    padding: 1rem 0;
  }

  .events-flex-m,
  .insights-flex-m {
    width: 85%;
  }

  .events-div-m {
    width: calc(50% - 1.5rem);
  }

  .insights-div {
    width: 100%;
    /* Full width */
  }

  .blog-inner-text-m {
    width: 100%;
  }

  .blog-inner-img-m {
    width: 80%;
    margin: auto;
    padding-bottom: 2rem;
  }

  .related-blogs-flex {
    flex-wrap: wrap;
    justify-content: center;
  }

  .related-blogs-div-m {
    width: 45%;
  }

  .author-details-m p {
    font-size: 17px;
  }

  .author-details-m small {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .events-div-m {
    width: 100%;
    /* 1 column */
  }
}

@media (max-width: 768px) {
  .padding-m {
    padding: 3rem 0;
  }

  .associates-flex-m {
    justify-content: center;
    gap: 10px;
  }

  .associate-item-m {
    width: 45%;
  }

  .clients-m {
    padding-bottom: 5rem;
  }

  .clients-m-sec {
    padding: 5rem 0 2rem;
  }

  .clients-logos-m {
    width: 100%;
    padding: 1.5rem;
  }

  .clients-logos-text {
    position: relative;
    width: 100%;
    top: 0;
    padding: 2rem;
  }

  .client-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .div-logos-text p {
    font-size: 14px;
  }

  .events-flex-m,
  .insights-flex-m {
    width: 90%;
  }

  .events-div-m {
    width: 100%;
  }

  .insights-div {
    width: 100%;
  }

  .insights-date-flex p:first-child {
    font-size: 16px;
  }

  .insights-date-flex p:last-child {
    font-size: 12px;
  }

  .blog-inner-flex-m {
    flex-direction: column;
    gap: 1.5rem;
  }

  .blog-inner-text-m {
    width: 100%;
  }

  .blog-inner-img-m {
    width: 100%;
  }

  .blog-inner-section-m h2,
  .related-blogs-m h2 {
    font-size: 30px;
  }

  .blog-inner-text-m h3 {
    font-size: 24px;
  }

  .blog-inner-text-m h4 {
    font-size: 20px;
  }

  .blog-inner-text-m p,
  .blog-inner-text-m ul {
    font-size: 16px;
  }

  .related-blogs-div-m {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .associate-item-m img {
    max-width: 120px;
  }

  .padding-m {
    padding: 3rem 0;
  }

  .clients-m-sec {
    padding: 3rem 0 2rem;
  }

  .blog-inner-section-m h2,
  .related-blogs-m h2 {
    font-size: 24px;
  }

  .blog-inner-text-m h3 {
    font-size: 22px;
  }

  .client-logo-item {
    border: unset;
    /* border-bottom: 1px solid #C8B8A6; */
  }

  .client-logo-item:nth-child(4n + 1) {
    border-left: unset;
  }

  .client-logo-item:nth-child(-n + 4) {
    border-top: unset;
  }

  .client-logo-item:nth-child(-n + 3) {
    border-top: unset;
  }

  .client-logo-item:nth-child(3n + 1) {
    border-left: unset;
  }

  .client-logos img {
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 500px) {
  .events-div-m p,
  .insights-div div p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .associates-head-m h2,
  .clients-m-sec h2 {
    font-size: 22px;
  }

  .associates-head-m h3,
  .clients-m-sec h3 {
    font-size: 20px;
  }

  .events-head-m h2,
  .insights-head-m h2 {
    font-size: 22px;
  }

  .events-head-m h3,
  .insights-head-m h3 {
    font-size: 20px;
  }

  .events-div-m p,
  .insights-div div p {
    font-size: 15px;
  }
}

/* For 320px */
@media (max-width: 320px) {
  .events-head-m h2,
  .insights-head-m h2 {
    font-size: 20px;
  }

  .events-head-m h3,
  .insights-head-m h3 {
    font-size: 20px;
  }

  .events-div-m {
    padding: 1rem;
  }

  .insights-div {
    padding: 1rem;
  }

  .events-div-m p,
  .insights-div div p {
    font-size: 14px;
  }
}
