/* Spinning Logo*/

img.custom-logo {
  animation: spin 13s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Logo and Name Spacing */

.custom-logo {
  margin-right: -15px; 
}


/* Team Member Box */
.team-member-box {
  width: 270px;
  margin: 20px auto;
  box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.15);
  border-radius: 0px;
  overflow: hidden;
  background: white;
}
.team-member-image-container {
  position: relative;
  width: 100%;
  height: 350px;
}
.team-member-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}
.team-member-image-container:hover img {
  transform: scale(1.1);
}
.team-member-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(179,198,211,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.team-member-image-container:hover .team-member-overlay {
  opacity: 1;
}
.team-member-overlay .circle {
  width: 60px;        /* Set the desired size */
  height: 60px;
  background: #474747;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: background 0.3s, filter 0.3s;
  overflow: hidden;
}
.team-member-overlay .circle img {
  width: 32px;        /* Logo size; adjust for best appearance */
  height: 32px;
  object-fit: contain; /* Shows full logo within the circle */
  display: block;
}
.team-member-overlay a:hover .circle {
  background: #fff;
  filter: grayscale(60%);
}


/* Offset anchored sections for sticky header */
.anchor-offset {
    position: relative;
    scroll-margin-top: 165px;  /* adjust to your header height */
}

.anchor-offset::before {
    content: "";
    position: absolute;
    top: -165px;   /* same as above */
    height: 165px; /* same as above */
    width: 1px;
}

/* Read More Button */
.pt-cv-readmore {
    color: #fff !important;            /* white text for contrast */
    background-color: #000 !important; /* black background */
    border: none !important;
}

/* Make Content Views pagination numbers black */
.pt-cv-pagination li a {
    color: #000 !important;        /* Black text for page numbers */
}
.pt-cv-pagination li.active a {
    color: #000 !important;        /* Also black for the active/current page number */
}

.pt-cv-pagination li a:hover {
    color: #fff !important;             /* White text on hover */
    background: #000 !important;        /* Black background on hover */
}
/* Tighten Counter Number block in footer */
.site-footer .wpsm_col-md-12,
.site-footer .wpsm_counterbox,
.site-footer .wpsm_number,
.site-footer .wpsm_count-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Hide Envira hover title/caption overlays globally */
.envira-title,
.envira-caption,
.envira-gallery-item-inner .caption {
  display: none !important;
}

@media (max-width: 767px) {
  .hide-mobile-counter {
    display: none !important;
  }
}


/*. traro-scroll {
  position: static;
  z-index: 9999;
  transition: position 0.2s, top 0.2s, left 0.2s, margin-left 0.2s;/*
/* Disable sticky effect on small screens /*
 @media (max-width: 1000px) {
  .traro-scroll {
    position: static !important;
    top: auto !important;
    left: auto !important;
    z-index: 999 !important; Lower stacking order if desired 
  }
}
