/*--------------------------------------------------------------
# Resume / Brand Scroller Section
--------------------------------------------------------------*/
.brand-section .resume-title {
  font-size: 26px;
  font-weight: 400;
  margin-top: 4rem;
  margin-bottom: 4rem;
  color: #222222;
}

.resume .resume-item h4,
.brand-section .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #000;
  margin-bottom: 10px;
  margin-left: 0;
}

.brand-section .resume-item h5 {
  font-size: 16px;
  background: #f6eff4;
  margin: 4px 0 30px 0;
  padding: 8px 15px 5px;
  display: inline-block;
  font-weight: 600;
  color: #ff54c2;
}

.brand-section .resume-item p em {
  font-size: 85%;
}

.brand-section .resume-item ul {
  padding-left: 20px;
}

.brand-section .resume-item ul li {
  padding-bottom: 10px;
}

.brand-section .resume-item:last-child {
  padding-bottom: 0;
  width: 85%;
  margin: 40px 0 0 10px;
}

.brand-logo[data-id="10"] {
  width: 215px;
  height: 50px;
  padding-top: 0;
}

section.resume {
  margin: 30px 0 60px 0;
  padding-top: 0;
}

section.resume .resume-item {
  padding-right: 60px;
}

/* LOGO SIZES */
.brand-logo {
  width: 215px;
  height: 50px;
  object-fit: contain;
  margin: 0 40px;
  filter: grayscale(100%);
  cursor: pointer;
  transition: transform .2s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

/* SCROLLER */
.logo-scroller-wrap {
  overflow: hidden;
  position: relative;
}

.logo-scroller {
  white-space: nowrap;
  overflow: hidden;
}

.scroller-track {
  animation: scrollLoop 120s linear infinite;
  transition: transform 0.6s ease;
  will-change: transform;
}

@keyframes scrollLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* FADE EDGES */
.fade-left, .fade-right {
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* CONTENT PANEL */
.content-panel {
  display: none;
  background: transparent;
  color: #000;
  padding: 60px 0 0 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: padding 0.5s ease;
}

.content-panel.showing {
  display: flex !important;
  padding: 60px 0;
}

/* COLLAPSE BUTTON - Positioned top right, above pagination */
.panel-close {
  position: absolute;
  margin: 155px 80px 0 0;
  padding: 8px 16px;
  top: 0;
  right: 0;
  text-decoration: none;
  color: #000;
  font-size: 13px;
  letter-spacing: .055rem;
  border: 1px solid #000;
  border-radius: 20px;
  display: none !important;
  z-index: 10;
}

.panel-close:hover {
  /*text-decoration: underline;*/
  border: 1px solid #7d04ff;;
}

/* Slide Down Animation */
.content-panel.showing {
  display: flex !important;
  animation: slideDown .45s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CONTENT TRANSITIONS FOR SLIDING */
#panelContent {
  position: relative;
  overflow: hidden;
  min-height: 0;
  transition: min-height 0.5s ease;
}

#panelContent.has-content {
  min-height: 200px;
}

.panel-content-item {
  transition: transform 0.45s ease, opacity 0.45s ease;
  opacity: 0;
  will-change: transform, opacity;
  width: 100%;
}

/* BRAND PAGINATION - Positioned at top with space for collapse button */
.brand-pagination {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  order: -1; /* Ensures it appears first */
}

.brand-pagination-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #cfcfcf;
  opacity: 1;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.brand-pagination-bullet:hover {
  background-color: #3d3d3d;
  transform: scale(1.1);
}

.brand-pagination-bullet-active {
  width: 12px;
  height: 12px;
  background-color: #000;
  position: relative;
}

.brand-pagination-bullet-active::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #000;
  pointer-events: none;
}

/* EDUCATION SECTION */
.education .resume-item {
  padding-right: 8rem;
}

.education .resume-item h5 {
  margin-top: 0.6rem;
}

.education .resume-item span {
  display: block;
  margin-top: -.2rem;
  margin-bottom: .45rem;
  font-size: .80rem;
}

.education .resume-item p {
  font-size: .95rem;
}

@media (max-width: 992px) {
    section.resume {
        margin: 0;
    }
    .panel-close {
        margin: 134px 34px 0 0;
    }

}