/* banner */
#case-euaci .ed-banner {
    max-width: 1300px;
    margin: 0 auto;
    min-height: unset;
}
#case-euaci .ed-banner .banner-img {
    max-width: 1025px;
    width: 100%;
    display: block;
    margin: 0 0 0 auto;
    position: relative;
}

.slanted-box {
    background-color: #1E4C80;
    color: #fff;
    padding: 50px 160px;
    clip-path: polygon(10% 0%, 100% 15%, 82% 100%, 0% 85%);
    transform: rotate(-3deg);
    display: inline-block;
    position: absolute;
    top: 45%;
    left: 5%;
}

#case-euaci .banner-text {
    font-size: 40px;
    color: #fff;
    transform: rotate(3deg);
    line-height: 100%;
}

#case-euaci .banner-text .line-1 {
    text-align: left;
    color: #fff;
}

#case-euaci .banner-text .line-2 {
    text-align: right;
    padding-right: 20px;
    color: #fff;
}

#case-euaci .banner-text .line-3 {
    text-align: left;
    color: #fff;
}

@media (max-width: 1200px) {
    #case-euaci .banner-text {
        font-size: 32px;
    }

    .slanted-box {
        padding: 50px 80px;
    }
}

@media (max-width: 980px) {

    #case-euaci .banner-text .line-1,
    #case-euaci .banner-text .line-2 {
        display: inline;
        padding-right: 0;
    }
    .slanted-box {
        top: 70%;
    }
}

@media (max-width: 768px) {
    #case-euaci .ed-banner .banner-img {
        max-width: 100%;
    }

    #case-euaci .banner-text {
        font-size: 24px;
    }

    .slanted-box {
        top: 75%;
        left: 0;
        padding: 20px 80px;
    }

    #case-euaci .banner-text .line-1,
    #case-euaci .banner-text .line-2 {
        display: block;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    #case-euaci .banner-text {
        font-size: 20px;
    }

    .slanted-box {
        padding: 20px 50px;
        top: 65%;
    }
}

/* goals */
.ed-goals {
	margin-top: 20px;
}
.goals-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #1E4C80;
    border-radius: 16px;
    padding: 50px 35px;
}
.goal {
    width: 50%;
}
.goal-title {
    font-family: "Unbounded";
    font-weight: 600;
    font-size: 60px;
    margin-bottom: 28px;
    background: #FDD200;
    width: fit-content;
    border-radius: 30px;
    padding: 10px 25px;
}
.goal-white {
    background: transparent;
    color: #fff;
    border: 2px solid #C4DBF6;
}
.goal-text {
    font-size: 24px;
    color: #fff;
}
.goal-text p {
    margin-bottom: 20px;
    color: #fff;
}
.goal:first-child .goal-text {
	padding-right: 80px;
}
@media (max-width: 1000px) {
    .goal-title {
        font-size: 42px;
    }
    .goal-text {
        font-size: 22px;
    }
}
@media (max-width: 768px) {
    .goals-card {
        flex-direction: column;
    }
    .goal {
        width: 100%;
    }
	.goal:first-child .goal-text {
		padding-right: 0;
	}
    .goal:nth-last-child(2) {
        margin: 45px 0;
    }
    .goal-text {
        padding-right: 0;
    }
}
@media (max-width: 500px) {
    .goal-title {
        font-size: 26px;
    }
    .goal-text {
        font-size: 18px;
    }
}


/* slider */
.swiper-wrapper-container {
  position: relative;
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}
.swiper {
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
  position: static !important;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
}

.video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  background-color: #000;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
}

.video-placeholder img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
  border-radius: 20px;
}

.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  background: #fff;
  border-radius: 50%;
  z-index: 2;
}

.play-button::after {
  content: "";
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.7);;
}

/* Text block below the video */
.text-block {
  margin-top: 20px;
}
.video-name {
    font-size: 30px;
}
.video-position {
    font-size: 20px;
    margin-top: 5px;
}
.video-comment {
  position: relative;
  margin-top: 30px;
  background: #C4DBF6;
  color: #333333;
  padding: 30px 40px;
  border-radius: 60px;
  font-size: 26px;
}
.video-comment::after {
  content: "";
  position: absolute;
  top: -30px;
  right: 80px;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 0 solid transparent;
  border-bottom: 40px solid #C4DBF6;
  transform: rotate(25deg);
}

.swiper-button-next,
.swiper-button-prev {
  color: #000 !important;
  top: 35% !important;
  position: absolute !important;
}

.swiper-button-next {
  right: -60px !important;
}

.swiper-button-prev {
  left: -60px !important;
}

@media (max-width: 768px) {
    .swiper-wrapper-container {
        width: 90%;
    }
    .swiper-button-next {
    right: -35px !important;
    }
    .swiper-button-prev {
    left: -35px !important;
    }
    .swiper-button-next,
    .swiper-button-prev {
        top: 30% !important;
    }
    .video-name {
        font-size: 24px;
    }
    .video-position {
        font-size: 16px;
    }
    .video-comment {
        font-size: 20px;
    }
}
@media (max-width: 500px) {
    .swiper-button-next,
    .swiper-button-prev {
        top: 20% !important;
        width: 30px !important;
        height: 30px !important;
    }
    .swiper-button-next:after, 
    .swiper-button-prev:after {
        font-size: 24px !important;
    }
    .video-name {
        font-size: 20px;
    }
    .video-comment {
        font-size: 18px;
        padding: 25px 30px;
        border-radius: 40px;
    }
    .play-button {
        width: 50px;
        height: 50px;
    }
    .play-button::after {
        border-width: 10px 0 10px 15px;
    }
    .swiper-button-next {
    right: -30px !important;
    }
    .swiper-button-prev {
    left: -30px !important;
    }
}

/* results */
.ed-results h2 {
    font-size: 100px;
    font-family: "Unbounded";
    font-weight: 400;
	color: #333;
}
.res-container {
    background: #C4DBF6;
    padding: 40px;
    border-radius: 16px;
}
.results-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 80px;
    
}
.result-column {
    flex: 1;
    gap: 15px;
    display: flex;
    flex-direction: column;
}
.result-card {
    background: transparent;
	border: 5px solid #fff;
    border-radius: 15px;
    padding: 15px;
    height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 15px;
}
.result-number {
    font-family: "Unbounded";
    font-size: 44px;
    font-weight: 600;
}
.result-text {
    font-size: 24px;
}
.res-3 {
    background:transparent;
    border: 5px solid #fff;
    align-self: flex-end;
    position: relative;
}
.res-3 .result-text {
    font-size: 24px;
    margin-top: 10px;
    max-width: 70%;
}
.res-3::after {
    content: url("https://ed-era.com/wp-content/uploads/2026/05/res.png");
    position: absolute;
    right: 50px;
    top: -170%;
    width: 550px;
}
@media (max-width: 1140px) {
    .ed-results h2 {
        font-size: 70px;
    }
    .result-card {
        height: 280px;
    }
    .res-3::after {
        top: -110%;
        right: unset;
        left: -36%;
        transform: scale(0.7);
    }
}
@media (max-width: 768px) {
    .ed-results h2 {
        font-size: 60px;
    }
    .result-number {
        font-size: 30px;
        margin-top: 20px;
    }
    .result-text {
        font-size: 24px;
      }
    .res-3 .result-text {
        font-size: 24px;
    }
    .res-3::after {
        top: -108%;
        left: unset;
        right: -30%;
        transform: scale(0.4);
    }
    .results-wrapper {
        flex-direction: column;
    }
    .result-card {
        height: 150px;
    }
    .res-3 {
        align-self: stretch;
    }
}
@media (max-width: 520px) {
    .result-number {
        font-size: 24px;
    }
    .result-text {
        font-size: 18px;
      }
    .res-3 .result-text {
        font-size: 18px;
    }
    .result-tag {
        font-size: 16px;
    }
    .res-3::after {
        top: -105%;
        right: -30%;
    }
    .ed-results h2 {
        font-size: 50px;
    }
    .res-container {
        padding: 25px;
    }
}
@media (max-width: 480px) {
	.res-3 {
		margin-bottom: 50px;
	}
    .res-3::after {
        top: -65%;
        right: -30%;
    }
    .ed-results h2 {
        font-size: 40px;
    }
}
@media (max-width: 430px) {
    .res-3::after {
        top: -40%;
        right: -35%;
    }
}

/* quote */
.eu-quote {
    font-size: 30px;
    max-width: 90%;
    position: relative;
    margin: 60px auto;
}
.eu-quote p {
    position: relative;
    z-index: 2;
}
.eu-quote::before {
    z-index: 1;
    position: absolute;
    left: -120px;
    top: -50px;
    content: url("data:image/svg+xml,%3Csvg width='162' height='119' viewBox='0 0 162 119' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36.456 9.34601e-05H88.04L46.624 65.2241V53.5681L88.04 118.792H36.456L2.5332e-06 59.5201L36.456 9.34601e-05ZM110.112 9.34601e-05H161.696L120.28 65.2241V53.5681L161.696 118.792H110.112L73.656 59.5201L110.112 9.34601e-05Z' fill='%23C4DBF6'/%3E%3C/svg%3E%0A");
}
.eu-quote::after {
    z-index: 1;
    position: absolute;
    right: -80px;
    bottom: -20px;
    transform: rotate(180deg);
    content: url("data:image/svg+xml,%3Csvg width='162' height='119' viewBox='0 0 162 119' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36.456 9.34601e-05H88.04L46.624 65.2241V53.5681L88.04 118.792H36.456L2.5332e-06 59.5201L36.456 9.34601e-05ZM110.112 9.34601e-05H161.696L120.28 65.2241V53.5681L161.696 118.792H110.112L73.656 59.5201L110.112 9.34601e-05Z' fill='%23C4DBF6'/%3E%3C/svg%3E%0A");
}
.eu-qoute-name {
    font-style: italic;
    margin-top: 40px;
    font-size: 22px;
}

@media (max-width: 1240px) {
    .eu-quote { 
        font-size: 26px;
    }
    .eu-quote::before {
        left: -30px;
    }
    .eu-quote::after {
        right: -30px;
    }
}
@media (max-width: 768px) {
    .eu-quote {
        font-size: 20px;
    }
    .eu-quote::before {
        transform: scale(0.7);
    }
    .eu-quote::after {
        transform: scale(0.7) rotate(180deg);
        bottom: 30px;
    }
    .eu-qoute-name { 
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .eu-quote {
        font-size: 18px;
    }
    .eu-quote::before {
        transform: scale(0.4);
        top: -60px;
        left: -50px;
    }
    .eu-quote::after {
        transform: scale(0.4) rotate(180deg);
        bottom: 30px;
    }
}