.eoy-effective {
  width: 100%;
  display: flex;
  justify-content: center;
}

.eoy-effective .container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.eoy-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-image {
  width: 90px;
  height: auto;
}

.header-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.column-text {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  color: white;
}

.column-left,
.column-right {
  flex: 1;
  min-width: 250px;
}

.column-right ul {
  padding-left: 1.25rem;
  list-style-type: disc;
}

.overlay-image {
  max-width: 100%;
  max-height: 100%;
  border-bottom-right-radius: 120px;
}

.bottom-section {
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
}

.left-section {
  padding-left: 1rem;
}

.associate {
  margin-top: 2.5rem;
  width: 539px;
  height: 304px;
  background: linear-gradient(90deg, #1b7dc1 11.54%, #694b9e 50%);
  display: flex;
  justify-content: center;
  position: relative;
  border-bottom-right-radius: 200px;
  border-bottom-left-radius: 8.74px;
  border-top-left-radius: 200px;
  border-top-right-radius: 8.74px;
}

.right-section {
  flex: 4;
  width: 100%;
  height: 100%;
}

.pie-right {
  display: flex;
  height: 150px;
  width: 150px;
}

.pie-70 {
  width: 160px;
}

.ef-pagination-dots {
  display: none;
}

.ef-pagination-dots .ef-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.ef-pagination-dots .ef-dot-active {
  background-color: white;
}
@media (max-width: 675px) {
  .ef-track .carousel-slide {
    background:
      linear-gradient(135deg, #35373c, #35373c),
      linear-gradient(to right, #0b7ab6, #ce2459);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    background-repeat: no-repeat;
  }

  .ef-track > .slide-1 {
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%),
      linear-gradient(135deg, #0b7ab6, #ce2459);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    background-repeat: no-repeat;
  }

  .ef-track > .slide-2 {
    padding: 0;
    padding-top: 1rem;
  }

  .ef-track > .slide-3 {
    gap: 1rem;
  }

  .pie-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 3rem 1rem 0 0.5rem;
  }

  .pie-70-top {
    width: 100px;
    height: 100px;
    z-index: 1;
    border-radius: 50%;
    box-shadow: #000000 0 0 60px 3px;
  }

  .pie-subtext-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    background: linear-gradient(90deg, #1b7dc1 11.54%, #694b9e 50%);
    margin-left: -4%;
    z-index: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0.5rem 2rem;
  }

  .pie-subtext-container > p {
    line-height: 1.2rem;
    font-size: 1rem;
  }

  .associate-img-container {
    display: flex;
    align-items: end;
    margin-bottom: -20px;
    background: linear-gradient(90deg, #1b7dc1 11.54%, #694b9e 50%);
    border-top-left-radius: 100px;
    width: 100%;
    flex: 1;
  }
  .associate-img-container > img {
    width: 100%;
    height: 120%;
    max-height: 300px;
    object-fit: cover;
    overflow: visible;
  }

  .header-title {
    width: 100%;
  }

  .header-image {
    width: 90px;
    height: auto;
  }

  .eoy-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .header-title {
    text-align: center;
  }

  /* Container 4 inner styles */
  .ef-pie-stat-container {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .ef-pie-chart {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }

  .pie-text {
    color: white;
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 0;
  }

  .pie-description {
    display: none;
  }

  .mobile-container p {
    color: white;
    margin: 0;
  }

  .bottom-section {
    display: none;
  }

  .column-text {
    display: none;
  }

  .container {
    padding-bottom: 2rem !important;
  }

  /* DISABLE HOVER EFFECTS ON MOBILE */
  .bottom-section:hover,
  .bottom-section:hover .associate img,
  .bottom-section:hover .description70,
  .bottom-section:hover .pie-description {
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 475px) {
  .ef-track > .slide-2 {
    padding-top: 0.5rem;
    gap: 20px;
  }

  .topPie {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pie-70-top {
    width: 90px;
    height: 90px;
    margin-bottom: -10px;
  }

  .pie-container {
    flex-direction: column;
    padding-right: 0;
    padding-top: 0;
  }

  .pie-subtext-container {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .pie-subtext-container {
    text-align: center;
  }

  .associate-img-container {
    margin-bottom: -80px;
  }

  .pie-text {
    font-size: 1rem;
  }
}

/* Tablet View */
@media (min-width: 676px) and (max-width: 890px) {
  .description70 {
    display: none;
  }

  .textDesc {
    display: none;
  }

  .left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
  }
  .right-section {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .pie-right {
    margin-bottom: 0;
    width: 70%;
    height: auto;
  }

  .pie-70 {
    display: none;
  }

  .pie-text-wrapper {
    display: flex;
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  .pie-text-wrapper > p {
    color: white;
    text-align: center;
    font-size: 1.1rem;
  }
  .mobile-dots {
    display: none;
  }

  .bottom-section {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .container {
    padding-bottom: 2rem !important;
  }

  .description70 {
    display: inline;
  }

  .bottom-section:hover {
    transform: none !important;
  }

  .bottom-section:hover .associate img {
    transform: none !important;
    opacity: 1 !important;
  }

  .topPie,
  .ef-pie-chart,
  .bottom-associate-image,
  p.nunito-sans,
  .pie-text {
    display: none;
  }
  .column-right ul {
    padding: 0; /* removes left indent */
    margin: 0; /* removes top/bottom spacing */
  }
}

@media (max-width: 980px) and (min-width: 890px) {
  .pie-text-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 891px) {
  .eoy-header {
    flex-direction: row;
  }

  .column-text {
    flex-direction: row;
    padding-bottom: 2rem;
  }
  .column-right ul {
    padding: 0;
    margin: 0;
  }

  .bottom-section {
    flex-direction: row;
  }

  .associate {
    width: 539px;
    height: 304px;
  }

  .mobile-dots {
    display: none;
  }

  .left-pie img {
    transition:
      transform 0.8s ease,
      opacity 0.8s ease;
  }

  .associate img {
    transition:
      transform 0.8s ease,
      opacity 0.8s ease;
  }

  .bottom-section.in-view .associate img {
    transform: translateY(-15px) scale(1.1);
    opacity: 1;
  }

  .right-section img {
    transition:
      transform 0.8s ease,
      opacity 0.8s ease;
  }

  .bottom-section.in-view {
    transform: scale(1.02);
    transition: transform 0.8s ease;
  }

  .pie-description {
    opacity: 0;
    transition:
      opacity 0.5s ease,
      transform 0.5s ease;
    transform: translateX(-10px);
  }

  .pie-70 {
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: block;
  }

  .right-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .pie-text-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .pie-right {
    width: 120px;
    height: auto;
  }

  .pie-description {
    opacity: 0;
    transition:
      opacity 0.5s ease,
      transform 0.5s ease;
    transform: translateX(-10px);
    color: white;
    width: 100%;
  }

  .left-pie {
    display: flex;
    align-items: center;
    z-index: 1;
    border-radius: 50%;
    box-shadow: #000000 0 0 40px 6px;
  }

  .description70 {
    opacity: 0;
    transition:
      opacity 0.5s ease,
      transform 0.5s ease;
    transform: translateX(-10px);
  }

  .left-pie-wrapper {
    display: flex;
    align-items: center;
  }

  .bottom-section.in-view .description70 {
    opacity: 1;
    transform: translateX(0);
  }

  .bottom-section.in-view .pie-description {
    opacity: 1;
    transform: translateX(0);
  }

  .description70 {
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(90deg, #1b7dc1 11.54%, #694b9e 50%);
    color: white;
    height: 7rem;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 1rem;
    padding-left: 4rem;
    padding-right: 3rem;
    margin-left: -40px;
    z-index: -1;
  }

  .ef-carousel-container {
    display: none;
  }
}
