/* "Institutions We Work With" — auto-scrolling logo strip (like nimaya.in). */
.adf-partners {
   padding: 70px 0 60px;
   background: #fff;
   overflow: hidden;
}

.adf-partners__head {
   text-align: center;
   max-width: 760px;
   margin: 0 auto 40px;
   padding: 0 16px;
}

.adf-partners__eyebrow {
   display: inline-block;
   font-size: 14px;
   font-weight: 700;
   letter-spacing: 0.08em;
   text-transform: uppercase !important;
   color: #9f05d7;
   margin-bottom: 10px;
}

.adf-partners__head h2 {
   font-size: clamp(26px, 3vw, 38px);
   font-weight: 700;
   color: #1d1d1f;
   margin-bottom: 12px;
   text-transform: none !important;
}

.adf-partners__head p {
   font-size: 16px;
   line-height: 1.7;
   color: #5b5563;
   text-transform: none !important;
   margin: 0;
}

/* marquee */
.adf-marquee {
   position: relative;
   width: 100%;
   -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
           mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.adf-marquee__track {
   display: flex;
   width: max-content;
   animation: adf-marquee 55s linear infinite;
}

.adf-marquee:hover .adf-marquee__track {
   animation-play-state: paused;
}

@keyframes adf-marquee {
   from { transform: translateX(0); }
   to   { transform: translateX(-50%); }   /* track holds two copies, so -50% = one full set */
}

.adf-partner {
   flex: 0 0 auto;
   width: 180px;
   margin: 0 14px;
   text-align: center;
   text-decoration: none;
}

.adf-partner__chip {
   height: 130px;
   background: #fff;
   border: 1px solid #eadcea;
   border-radius: 16px;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 18px;
   box-shadow: 0 8px 22px rgba(122, 27, 126, 0.06);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adf-partner:hover .adf-partner__chip {
   transform: translateY(-4px);
   box-shadow: 0 14px 30px rgba(122, 27, 126, 0.14);
}

.adf-partner__chip img {
   max-height: 92px;
   max-width: 100%;
   width: auto;
   object-fit: contain;
   filter: none;
}

.adf-partner__name {
   display: block;
   margin-top: 12px;
   font-size: 13px;
   font-weight: 600;
   line-height: 1.4;
   color: #1d1d1f;
   text-transform: none !important;
   min-height: 36px;
}

@media (max-width: 575px) {
   .adf-partner { width: 150px; }
   .adf-partner__chip { height: 110px; }
   .adf-partner__chip img { max-height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
   .adf-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
}
