.cnc-team-section.team-section-layout5 :is(h1, h2, h3, h4, h5, h6,p) {margin: 0;padding: 0;}
  .cnc-team-section.team-section-layout5 {padding:100px 0;}
  .cnc-team-section.team-section-layout5 .container{max-width:1430px;margin:0 auto;padding:0 15px;text-align: center;}
  .cnc-team-section.team-section-layout5 .team-heading{margin-bottom: 30px;}
  .cnc-team-section.team-section-layout5 .team-heading :is(h1, h2, h3, h4, h5, h6){font-size:48px;font-weight:700;text-align:center;line-height: normal;}
  .cnc-team-section.team-section-layout5 .team-heading :is(p){font-size:20px;color:#323232;font-weight: 400;line-height: normal;margin: 0;}
  .cnc-team-section.team-section-layout5 .team-heading :is(p):not(:last-child){margin-bottom: 10px;}
  .cnc-team-section.team-section-layout5 .filter-buttons{display:inline-flex;background:#ffffff;flex-wrap:wrap;border:1px solid #005BC5;border-radius:50px;overflow:hidden;margin-bottom:40px;padding:15px;box-shadow:0px -1px 4px 0px #00000040;gap:10px;justify-content:center;overflow-x:auto;scrollbar-width:none;}
  .cnc-team-section.team-section-layout5 .filter-buttons button{flex:0 0 240.43px;border:none;background:#ECF5FF;padding:13px;font-size:18px;font-weight:500;cursor:pointer;border-radius:30px;transition:background 0.3s,color 0.3s;color:#005BC5;white-space:nowrap;text-align:center;}
  .cnc-team-section.team-section-layout5 .filter-buttons::-webkit-scrollbar{display:none;}
  .cnc-team-section.team-section-layout5 .filter-buttons button.active{background:#005BC5;color:#ffffff;}
  .cnc-team-section.team-section-layout5 .team-grid{margin:30px 0;display:grid;grid-template-columns:repeat(4,1fr);column-gap:30px;align-items: stretch;row-gap: 50px;}
  .cnc-team-section.team-section-layout5 .team-card{background:#ECF5FF;border-radius:30px;padding:20px;padding-bottom: 40px;text-align:center;transition:transform 0.3s ease;margin:25px 0;position: relative;}
  .cnc-team-section.team-section-layout5 .team-card:hover{transform:translateY(-8px);}
  .cnc-team-section.team-section-layout5 .team-card .member-img{width:170px;height:170px;margin:-90px auto;object-fit:cover;border-radius:50%;border:5px solid #ffffff;box-shadow:0px 0px 24px 10px #0000001A;margin-bottom:30px;}
  .cnc-team-section.team-section-layout5 .team-card .member-img img{width: 100%;height: 100%;border-radius: 50%;object-fit: cover;}
  .cnc-team-section.team-section-layout5 .team-card :is(h1, h2, h3, h4, h5, h6){font-size:24px;font-weight:700;margin-bottom:10px;line-height: normal;}
  .cnc-team-section.team-section-layout5 .team-card p{font-size:20px;font-weight:400;color:#323232;margin-bottom:10px;position: relative;line-height: normal;}
  .cnc-team-section.team-section-layout5 .social-icons{display: flex;flex-wrap: wrap;justify-content: center;gap: 10px;margin-top: 0; }
  .cnc-team-section.team-section-layout5 .social-icons a{border-radius:50%;cursor:pointer;width:38px;height:38px;display:flex;justify-content: center; align-items:center;flex-shrink:0;transition:background 0.3s,color 0.3s;text-decoration:none;overflow: hidden;background-color: #005BC5;padding: 10px;}
  .cnc-team-section.team-section-layout5 .social-icons a :is(img, svg){max-width: 100%;max-height: 100%;object-fit: contain;fill: #ffffff;}
  .cnc-team-section.team-section-layout5 .social-icons a:hover img{filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(34deg) brightness(97%) contrast(102%);}
  .cnc-team-section.team-section-layout5 .social-icons a i{font-size:20px;transition:color 0.3s ease;color:#ffffff;}
  .cnc-team-section.team-section-layout5 .social-icons a:hover {background-color: #02357e;}
@media (max-width: 1024px){
  .cnc-team-section.team-section-layout5 {padding:50px 0;}
      .cnc-team-section.team-section-layout5 .team-heading :is(h1, h2, h3, h4, h5, h6) {font-size: 40px;}
.cnc-team-section.team-section-layout5 .team-grid{grid-template-columns:repeat(3,1fr);}
.cnc-team-section.team-section-layout5 .team-heading :is(p){font-size:18px;}
.cnc-team-section.team-section-layout5 .team-card :is(h1, h2, h3, h4, h5, h6){font-size: 22px;}
    .cnc-team-section.team-section-layout5 .team-card p{font-size: 18px;}
}
@media (max-width: 767px){
  .cnc-team-section.team-section-layout5 .team-grid{grid-template-columns:repeat(1,1fr);}
  .cnc-team-section.team-section-layout5 {padding:30px 0;}
  .cnc-team-section.team-section-layout5 .team-heading :is(h1, h2, h3, h4, h5, h6) {font-size: 30px;}
  .cnc-team-section.team-section-layout5 .team-heading :is(p){font-size:16px;}
  .cnc-team-section.team-section-layout5 .team-card .member-img{width:130px;height:130px;}
  .cnc-team-section.team-section-layout5 .team-card :is(h1, h2, h3, h4, h5, h6){font-size: 20px;}
  .cnc-team-section.team-section-layout5 .team-card p{font-size: 16px;}
  .cnc-team-section.team-section-layout5 .filter-buttons{border-radius:20px;padding:10px;gap:8px; width: 100%; flex-wrap: nowrap;  overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #005BC5 transparent; }
  .cnc-team-section.team-section-layout5 .filter-buttons > * { flex: 0 0 auto;}
  .cnc-team-section.team-section-layout5 .filter-buttons::-webkit-scrollbar { height: 10px;}    
  .cnc-team-section.team-section-layout5 .filter-buttons::-webkit-scrollbar-track { box-shadow: inset 0 0 5px grey; border-radius: 10px; }     
  .cnc-team-section.team-section-layout5 .filter-buttons::-webkit-scrollbar-thumb { background: #005BC5; border-radius: 10px; }    
  .cnc-team-section.team-section-layout5 .filter-buttons::-webkit-scrollbar-thumb:hover { background: #005BC5; } 
  .cnc-team-section.team-section-layout5 .filter-buttons button{font-size:14px;min-width:120px;padding:10px 10px;}
  .cnc-team-section.team-section-layout5 .social-icons a{width: 30px;height: 30px;padding: 8px;}
}