/* California Neurology Institute – site styles (Bootstrap 5 + custom) */
:root {
  --teal: #409da2;
  --teal-d: #337b7f;
  --dark: #245c6e;
  --text: #666;
  --hdr: 80px;
}
* {
  -webkit-font-smoothing: antialiased;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Nunito, Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--teal-d);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #333;
  line-height: 1.3;
  margin: 0 0 10px;
  padding-bottom: 10px;
}
p {
  margin: 0;
  padding-bottom: 1em;
}
img {
  max-width: 100%;
}
ul,
ol {
  padding-left: 22px;
}
strong,
b {
  font-weight: 700;
}

/* ---------- header ---------- */
#hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hdr);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: height 0.3s ease, transform 0.4s ease;
}
#hdr .in {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#hdr .logo {
  display: block;
  height: 100%;
  transition: height 0.3s;
}
#hdr .logo img {
  height: 100%;
  width: auto;
  display: block;
  transition: height 0.3s;
}
#hdr.shrink {
  height: 62px;
}
#menuBtn {
  position: relative;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  margin-right: -6px;
}
#menuBtn span,
#menuBtn span:before,
#menuBtn span:after {
  content: "";
  position: absolute;
  left: 6px;
  width: 20px;
  height: 2px;
  background: var(--teal);
  transition: transform 0.3s, top 0.3s, background 0.3s;
}
#menuBtn span {
  top: 15px;
}
#menuBtn span:before {
  top: -7px;
  left: 0;
}
#menuBtn span:after {
  top: 7px;
  left: 0;
}
body.menu-open #menuBtn span {
  background: transparent;
}
body.menu-open #menuBtn span:before {
  top: 0;
  transform: rotate(45deg);
}
body.menu-open #menuBtn span:after {
  top: 0;
  transform: rotate(-45deg);
}
#content {
  padding-top: var(--hdr);
  transition: transform 0.4s ease;
}
body.menu-open #content,
body.menu-open #hdr {
  transform: translateX(-320px);
}
body.menu-open #content {
  cursor: pointer;
}
body.menu-open #content * {
  pointer-events: none;
}

/* ---------- slide-in menu ---------- */
#menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  background: var(--teal);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
  font-family: Poppins, Helvetica, Arial, sans-serif;
}
body.menu-open #menu {
  transform: none;
}
#menu .top {
  background: rgba(0, 0, 0, 0.14);
  padding: 40px 40px 42px;
}
#menu .soc {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
#menu .soc a {
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
}
#menu .srch {
  position: relative;
  margin-bottom: 22px;
}
#menu .srch input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 0;
  border-radius: 3px;
  padding: 8px 36px 8px 8px;
  color: #fff;
  font-size: 14px;
  outline: 0;
}
#menu .srch input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
#menu .srch button {
  position: absolute;
  right: 6px;
  top: 3px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
#menu .info {
  font-size: 14px;
  font-weight: 600;
  line-height: 27px;
  color: rgba(255, 255, 255, 0.75);
}
#menu .info a {
  color: rgba(255, 255, 255, 0.75);
}
#menu .info i {
  margin-right: 5px;
  font-size: 12px;
}
#menu nav {
  padding: 40px 40px 60px;
}
#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#menu li a {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 27px;
  padding: 10px 0;
}
#menu li a:hover {
  opacity: 0.8;
}
#menu li.cur > a,
#menu li.has > a {
  font-weight: 600;
}
#menu li.has > a {
  position: relative;
}
#menu li.has > a:after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  position: absolute;
  right: 0;
  top: 15px;
  transition: transform 0.3s;
}
#menu li.has.open > a:after {
  transform: rotate(180deg);
}
#menu li ul {
  display: none;
  padding-left: 14px;
}
#menu li.open > ul {
  display: block;
}

/* ---------- layout blocks ---------- */
.cni-sec {
  position: relative;
  background-color: #fff;
}
.cni-container-hero {
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.cni-container {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}
.cni-row {
  --bs-gutter-x: 2rem;
}
.cni-row > [class*="col-"] {
  display: block;
}
.cni-col {
  position: relative;
}
.cni-mod {
  position: relative;
}
.cni-col > .cni-mod:last-child {
  margin-bottom: 0;
}
.cni-eq > [class*="col-"] {
  display: flex;
}
.cni-eq .cni-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.cni-eq .cni-col > .cni-mod:only-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cni-eq .cni-col > .cni-mod:only-child > .cni-blurb {
  flex: 1;
}
.cni-text {
  word-wrap: break-word;
}
.cni-text > *:last-child {
  margin-bottom: 0;
}
.cni-text a {
  color: var(--teal);
}
.cni-text img {
  max-width: 100%;
}
.cni-blurb {
  position: relative;
  word-wrap: break-word;
}
.cni-blurb h4 {
  margin: 0;
}
.cni-blurb-text > *:last-child {
  padding-bottom: 0;
}
.cni-icon {
  line-height: 1;
  margin-bottom: 12px;
}
.cni-btn {
  display: inline-block;
  cursor: pointer;
  border: 0;
  transition: filter 0.25s, transform 0.25s, box-shadow 0.25s,
    background-color 0.25s, color 0.25s;
  text-decoration: none !important;
  font-family: Rubik, Helvetica, Arial, sans-serif;
  background-color: var(--teal);
  color: #fff;
  border-radius: 40px;
  padding: 13px 23px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.7;
  box-shadow: 0 2px 18px rgba(64, 157, 162, 0.39);
}
.cni-btn::after {
  content: ">";
  display: inline-block;
  opacity: 0;
  width: 0;
  margin-left: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
}

.cni-btn:hover::after {
  opacity: 1;
  width: 10px;
  margin-left: 10px;
  transform: translateX(0);
}


.cni-btn:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
  color: #fff;
}
.cni-counter {
  text-align: center;
}
.cni-count {
  line-height: 1;
}
.cni-divider {
    text-align: left !important;
    margin-top: 0 !important;
}
.cni-hr {
    border: 0;
    border-top: 3px solid #409da2;
    opacity: 1;
    width: 9%;
    margin: 0 !important;
}
.cni-text h1 {
    margin-bottom: 10px;
    padding-bottom: 0 !important;
}
.cni-acc .accordion-item {
  border-radius: 0;
  background: #fff;
}
.cni-acc .accordion-button {
  background: #fff;
  box-shadow: none;
  padding: 16px 20px;
}
.cni-acc .accordion-button:not(.collapsed) {
  color: inherit;
  background: #fff;
}
.cni-acc .accordion-button:focus {
  box-shadow: none;
}
.cni-acc .accordion-body {
  padding: 4px 20px 20px;
}
.cni-gallery img {
  width: 100%;
  border-radius: 4px;
  display: block;
  transition: opacity 0.25s;
}
.cni-gallery a:hover img {
  opacity: 0.85;
}
.cni-gal-title {
  text-align: center;
  font-weight: 600;
  padding-top: 8px;
}
.cni-social-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cni-soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 18px;
}
.cni-soc:hover {
  color: #fff;
  filter: brightness(0.9);
}
.cni-form .form-control,
.cni-form .form-select {
  border-radius: 4px;
  border: 1px solid #d9d9d9;
  padding: 12px 14px;
  font-size: 15px;
  color: #555;
}
.cni-form .form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(64, 157, 162, 0.2);
}
.cni-form label {
  font-weight: 600;
  margin: 12px 0 4px;
  display: block;
}
.cni-form .cni-btn {
  padding: 14px 30px;
}
.cni-table {
  font-size: 15px;
}
.cni-article h1,
.cni-post-h1 {
  font-size: 34px;
  margin-bottom: 20px;
}
.cni-feat {
  border-radius: 8px;
  margin-bottom: 30px;
}
.cni-post {
  background: #fff;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cni-post img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.cni-post-body {
  padding: 20px;
  flex: 1;
}
.cni-post-title {
  font-size: 20px;
  line-height: 1.35;
}
.cni-post-title a {
  color: #333;
}
.cni-post-meta {
  font-size: 13px;
  color: #999;
  padding-bottom: 6px;
}
.cni-more {
  font-family: Rubik, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- hero ---------- */
.cni-hero {
  position: relative;
  height: calc(100vh - var(--hdr));
  min-height: 640px;
  max-height: 900px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.cni-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(36, 92, 110, 0.71);
  z-index: 1;
}
.cni-hero .box {
  position: absolute;
  z-index: 2;
  left: 25px;
  top: 25px;
  width: 50%;
  height: calc(100% - 50px);
  background: #fff;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px clamp(40px, 7.9%, 126px) 20px clamp(70px, 19.3%, 309px);
}
.cni-hero h1 {
  font-family: Poppins, sans-serif;
  font-size: 40px;
  line-height: 40px;
  font-weight: 400;
  color: var(--dark);
  margin: 0 0 25px;
  padding: 0;
}
.cni-hero p {
  font-family: Nunito, sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 25px;
  color: #000;
  margin: 0 0 25px;
  padding: 0;
}
.cni-hero .cni-btn {
  align-self: flex-start;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 600;
  padding: 15px 22px;
  border-radius: 30px;
  box-shadow: none;
}
.cni-hero .cni-btn:hover {
  background: var(--dark);
  filter: none;
}
.cni-hero .hlogo {
  position: absolute;
  z-index: 2;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  width: 235px;
  height: auto;
}
/* hero responsive sizes (desktop default above = 1400-1799px) */
@media (min-width: 1800px) {
  .cni-hero .box {
    padding-right: 150px;
  }
  .cni-hero h1 {
    font-size: 46px;
    line-height: 48px;
    margin-bottom: 28px;
  }
  .cni-hero p {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 28px;
  }
  .cni-hero .cni-btn {
    font-size: 15px;
    padding: 16px 26px;
  }
  .cni-hero .hlogo {
    width: 270px;
  }
}
@media (max-width: 1399px) {
  .cni-hero .box {
    padding-left: 12%;
    padding-right: 130px;
  }
  .cni-hero h1 {
    font-size: 36px;
    line-height: 38px;
  }
  .cni-hero p {
    font-size: 18px;
    line-height: 24px;
  }
  .cni-hero .hlogo {
    width: 200px;
  }
}
@media (max-width: 1199px) {
  .cni-hero {
    min-height: 600px;
  }
  .cni-hero .box {
    padding-left: 8%;
    padding-right: 115px;
  }
  .cni-hero h1 {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 20px;
  }
  .cni-hero p {
    font-size: 16px;
    line-height: 23px;
    margin-bottom: 20px;
  }
  .cni-hero .cni-btn {
    font-size: 13px;
    padding: 14px 20px;
  }
  .cni-hero .hlogo {
    width: 170px;
  }
}
@media (max-width: 991px) {
  .cni-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 40px 20px;
  }
  .cni-hero .box {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 36px 28px;
    text-align: center;
  }
  .cni-hero h1 {
    font-size: 30px;
    line-height: 34px;
  }
  .cni-hero p {
    font-size: 17px;
    line-height: 25px;
  }
  .cni-hero .cni-btn {
    align-self: center;
  }
  .cni-hero .hlogo {
    display: none;
  }
}
@media (max-width: 767px) {
  .cni-hero {
    padding: 30px 14px;
  }
  .cni-hero .box {
    padding: 30px 22px;
  }
  .cni-hero h1 {
    font-size: 27px;
    line-height: 31px;
    margin-bottom: 18px;
  }
  .cni-hero p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 22px;
  }
}
@media (max-width: 575px) {
  .cni-hero {
    padding: 20px 10px;
  }
  .cni-hero .box {
    padding: 26px 18px;
  }
  .cni-hero h1 {
    font-size: 24px;
    line-height: 28px;
  }
  .cni-hero p {
    font-size: 15px;
    line-height: 23px;
  }
  .cni-hero .cni-btn {
    font-size: 13px;
    padding: 13px 20px;
  }
}
@media (max-width: 380px) {
  .cni-hero .box {
    padding: 22px 16px;
  }
  .cni-hero h1 {
    font-size: 22px;
    line-height: 26px;
  }
  .cni-hero p {
    font-size: 14px;
    line-height: 22px;
  }
}
/* ---------- team cards ---------- */
.cni-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.1rem;
  width: 96%;
  margin: 0 auto;
}
.cni-team figure {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cni-team figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.cni-team img {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  object-position: top;
  display: block;
}
.cni-team figcaption {
  padding: 18px 18px 22px;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  text-align: center;
}
.cni-team figcaption p {
  padding-bottom: 0;
  margin: 0;
}

/* ---------- footer ---------- */
#footer-widgets {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 62px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 20.875%);
  column-gap: 5.5%;
}
#footer-widgets,
#footer-widgets p,
#footer-widgets a,
#footer-widgets dt,
#footer-widgets dd {
  color: var(--teal);
}
#footer-widgets h2 {
  font-size: 26px;
  line-height: 26px;
  padding: 0 0 10px;
  margin: 0;
  color: var(--teal);
}
#footer-widgets address {
  margin: 0;
  font-style: italic;
}
#footer-widgets address a {
  font-style: italic;
}
#footer-widgets dl {
  margin: 0;
}
#footer-widgets dt {
  font-weight: 600;
  margin: 0;
}
#footer-widgets dd {
  margin: 0 0 15px;
}
#footer-widgets p {
  padding-bottom: 12px;
  margin: 0;
}
#footer-widgets img {
  width: 100%;
  height: auto;
  display: block;
}
#footer-widgets section {
  overflow-wrap: anywhere;
}
#footer-bottom {
  background: var(--teal);
  padding: 15px 0 5px;
  margin-top: 60px;
}
#footer-bottom .in {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse;
}
#footer-bottom .soc {
  display: flex;
  gap: 23px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#footer-bottom .soc a {
  color: #fff;
  font-size: 24px;
  line-height: 27px;
}
#footer-info {
  font-size: 13px;
  line-height: 27px;
  color: #fff;
  padding-bottom: 10px;
}
#footer-info a {
  color: #fff;
}
@media (max-width: 991px) {
  #footer-widgets {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
    column-gap: 30px;
  }
  #footer-bottom .in {
    flex-direction: column-reverse;
    gap: 6px;
  }
}
@media (max-width: 575px) {
  #footer-widgets {
    grid-template-columns: 1fr;
  }
  .cni-col {
    padding-left: 0;
  }
}
.cni-lbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 30px;
}
.cni-lbox.on {
  display: flex;
}
.cni-lbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
}
#toTop {
  position: fixed;
  right: 0;
  bottom: 50px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: 0;
  border-radius: 5px 0 0 5px;
  z-index: 900;
  display: none;
}
#toTop.on {
  display: block;
}

@media (min-width: 992px) {
  .cni-cw {
    flex: 0 0 auto;
    width: var(--w);
  }
}
#footer-widgets address a {
  white-space: nowrap;
}

.cni-gal-slider {
  overflow: hidden;
}
.cni-gal-slider .carousel-indicators {
  margin-bottom: 10px;
}
.cni-gal-slider .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  margin: 0 4px;
  background: #fff;
  opacity: 0.55;
  padding: 0;
}
.cni-gal-slider .carousel-indicators .active {
  opacity: 1;
}

.cni-wl {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  color: #333;
}
.cni-req {
  color: #d63638;
}
.cni-sub {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 3px;
}
.cni-wpf .form-control,
.cni-wpf .form-select {
  height: 43px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  padding: 6px 10px;
  font-size: 16px;
  color: #333;
}
.cni-wpf textarea.form-control {
  height: auto;
  min-height: 120px;
}
.cni-wpf .form-check {
  margin: 4px 0;
}

@media (max-width: 991px) {
  .cni-row > [class*="col-"]:not(:last-child) {
    margin-bottom: 30px;
  }
  .cni-container {
    width: 90%;
  }
  #footer-widgets,
  #footer-bottom .in,
  .cni-team {
    width: 90%;
  }
}
@media (max-width: 991px) {
  .cni-eq > [class*="col-"] {
    margin-bottom: 30px;
  }
  .cni-eq > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}
/* ========================================
	   CNI 3D COVERFLOW TEAM SLIDER
	======================================== */

	.cni-coverflow-section {
		background: #fff;
		padding: 50px 0 60px;
		overflow: hidden;
	}

	.cni-coverflow-container {
		width: 100%;
		max-width: 1250px;
		margin: auto;
	}

	/* MAIN SLIDER */

	.cni-coverflow {
		position: relative;
		width: 100%;
		height: 620px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	/* SLIDER STAGE */

	.cni-coverflow-stage {
		position: relative;
		width: 100%;
		height: 600px;
		display: flex;
		justify-content: center;
		align-items: center;
		perspective: 1200px;
	}

	/* COMPLETE TEAM CARD */

	.cni-team-slide {
		position: absolute;
		top: 0;
		left: 50%;
		width: 480px;
		height: 600px;
		transform-origin: center center;

		transition:
			transform .75s cubic-bezier(.22,.61,.36,1),
			opacity .75s ease,
			filter .75s ease;

		will-change: transform;

		cursor: pointer;
	}

	/* CENTER CARD */

	.cni-team-slide.active {
		z-index: 5;
		opacity: 1;
		filter: none;
	}

	/* SIDE CARDS */

	.cni-team-slide.side-card {
		z-index: 3;
		opacity: 1;
		filter: brightness(.85);
	}

	/* HIDDEN CARDS */

	.cni-team-slide.hidden-card {
		z-index: 1;
		opacity: 0;
		pointer-events: none;
	}

	/* CARD DESIGN */

	.cni-profile-card {
		position: relative;
		width: 100%;
		height: 100%;
		overflow: hidden;
		background: #079fa5;
	}

	/* PROFILE IMAGE */

	.cni-profile-card > img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center top;
		display: block;
	}

	/* CARD OVERLAY */

	.cni-profile-overlay {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 60px 20px 50px;

		display: flex;
		justify-content: center;
		align-items: center;

		background: linear-gradient(
			to bottom,
			transparent,
			rgba(0,0,0,.30)
		);
	}

	/* VIEW BIO BUTTON */

	.cni-view-bio {
		width: 210px;
		padding: 12px 15px;

		background: #fff;
		color: #333;

		border: 1px solid #222;

		font-family: Poppins, sans-serif;
		font-size: 14px;
		font-weight: 600;
		letter-spacing: 1px;

		cursor: pointer;

		transition: all .3s ease;
	}

	.cni-view-bio:hover {
		background: #409da2;
		color: #fff;
	}

	.cni-view-bio span {
		margin-right: 8px;
		font-size: 18px;
	}


	/* ========================================
	   NAVIGATION ARROWS
	======================================== */

	.cni-arrow {
		position: absolute;
		top: 45%;
		transform: translateY(-50%);

		z-index: 20;

		width: 40px;
		height: 50px;

		border: none;
		background: transparent;

		font-size: 38px;
		font-weight: 300;
		color: #222;

		cursor: pointer;

		transition: all .3s ease;
	}

	.cni-arrow:hover {
		color: #409da2;
	}

	.cni-prev {
		left: 0;
	}

	.cni-next {
		right: 0;
	}


	/* ========================================
	   BOTTOM TEAM NAVIGATION
	======================================== */

	.cni-team-bottom {
		display: flex;
		justify-content: center;
		align-items: center;

		max-width: 650px;
		margin: 5px auto 0;

		gap: 10px;
	}

	.cni-team-tab {
		flex: 1;
		min-width: 0;

		display: flex;
		align-items: center;
		gap: 12px;

		padding: 0;

		border: none;
		background: transparent;

		text-align: left;
		cursor: pointer;

		opacity: .6;
		transition: all .3s ease;
	}

	.cni-team-tab.active {
		opacity: 1;
	}

	.cni-team-tab img {
		width: 75px;
		height: 100px;
		object-fit: cover;
	}

	.cni-team-tab span {
		font-family: Poppins, sans-serif;
		font-size: 13px;
		font-weight: 500;
		color: #333;
	}

	.cni-team-tab small {
		display: block;
		margin-top: 4px;
		font-size: 11px;
		color: #777;
		font-weight: 400;
	}

	.cni-team-tab.active span {
		color: #409da2;
	}


	/* ========================================
	   BIO MODAL
	======================================== */

	#cniBioTitle {
		color: #409da2;
		font-weight: 600;
	}

	#cniBioDescription {
		color: #666;
		font-family: Nunito, sans-serif;
		font-size: 15px;
		line-height: 1.8;
	}
	
	/* Hide View Bio button on all cards */
	.cni-team-slide .cni-profile-overlay {
		opacity: 0;
		visibility: hidden;
		transition: opacity .4s ease, visibility .4s ease;
	}

	/* Show View Bio button only on active card */
	.cni-team-slide.active .cni-profile-overlay {
		opacity: 1;
		visibility: visible;
	}

	/* Keep side card buttons non-clickable */
	.cni-team-slide.side-card .cni-profile-overlay {
		pointer-events: none;
	}


	/* ========================================
	   TABLET
	======================================== */

	@media(max-width: 991px) {

		.cni-coverflow {
			height: 550px;
		}

		.cni-coverflow-stage {
			height: 520px;
		}

		.cni-team-slide {
			width: 420px;
			height: 520px;
			margin-left: 0px;
		}

		.cni-arrow {
			font-size: 32px;
		}

		.cni-prev {
			left: 10px;
		}

		.cni-next {
			right: 10px;
		}

	}


	/* ========================================
	   MOBILE
	======================================== */

	@media(max-width: 575px) {

		.cni-coverflow-section {
			padding: 30px 0 40px;
		}

		.cni-coverflow {
			height: 440px;
		}

		.cni-coverflow-stage {
			height: 420px;
		}
		
		.cni-team-slide {
			width: 78vw;
			max-width: 380px;
			height: 420px;

			left: 50%;
			margin-left: 0;
		}

		.cni-arrow {
			width: 30px;
			font-size: 28px;
		}

		.cni-prev {
			left: 0;
		}

		.cni-next {
			right: 0;
		}

		.cni-profile-overlay {
			padding: 30px 10px 25px;
		}

		.cni-view-bio {
			width: 170px;
			padding: 10px;
		}

		.cni-team-bottom {
			padding: 10px;
			gap: 8px;
		}

		.cni-team-tab {
			flex-direction: column;
			align-items: flex-start;
			gap: 5px;
		}

		.cni-team-tab img {
			width: 100%;
			height: 75px;
		}

		.cni-team-tab span {
			font-size: 10px;
		}

		.cni-team-tab small {
			font-size: 9px;
		}

	}
