.viewAllButton {
  text-align: center;
  text-decoration: none;
}
.cptsContainer {
  width: 450px;
  margin: 1rem auto;
  position: relative;
  margin-bottom: 2rem;
  margin-left: 120px; 
}
.blueBox {
  background-color: #335775;
  color: #fff;
  padding: 4rem 3rem 2rem 5rem;
  position: relative;
  border-radius: 5px;
}
.circleImage {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
}
.circleImage .svgContainer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.circleImage svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.center-img-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background-color: #fff;
  z-index: 10;
}
.center-img-container .homepageContainer_ {
  width: 100%;
  height: 100%;
  margin-top: 6rem;
  max-width: 100%;
  overflow-x: hidden;
}
.center-img-container .img-wrapper {
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.center-img-container .img-wrapper img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
}

.textContent {
  margin-left: 50px;
  font-size: 2rem;
  font-weight: bold;
  font-family: MorningSunshine, sans-serif;
}
.coloredLetter {
  font-weight: bold;
  display: inline-block;
}
.c1 {
  color: #ff00a7;
}
.c2 {
  color: #ffa700;
}
.c3 {
  color: #20d600;
}
.c4 {
  color: #0099cc;
}
.c5 {
  color: #ff00a7;
}
.c6 {
  color: #ffa700;
}
.c7 {
  color: #20d600;
}
.c8 {
  color: #0099cc;
}
.p2 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.homepageContainer_ {
  display: flex !important;
  justify-content: space-between;
  width: 100% !important;
  box-sizing: border-box !important;
  height: auto;
  margin: 0 auto;
  max-width: 1400px;
  overflow-x: hidden;
  padding: 0 20px 0 40px; 
}
.p1,
.p2 {
  box-sizing: border-box;
  padding: 10px;
}
.p1 {
  width: 55%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.p2 {
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p1 img,
.p3 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  padding-top: 1rem;
}
.p1 img {
  max-width: 90%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
.btns {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 1rem;
}

.button {
  background-color: #335775;
  border-radius: 5px;
  box-shadow: 0 0 10px 1px #a3a3a340;
  padding: 12px 8px;
  transition: 0.15s;
  font-style: normal;
  font-weight: 900;
  font-size: 1rem;
  color: #fbfbfb;
  cursor: pointer;
  border: none;
  text-align: center;
  display: inline-block;
  position: relative;
  overflow: visible;
  width: 48%;
  height: 80px;
  font-family: "MorningSunshine", sans-serif;
}
.button p {
  max-width: 60%;
  margin-left: 3.5rem;
}
.button:hover {
  background-color: #4a6480;
}
.buttonWithIcon {
  padding-left: 60px;
}
.btnIcon {
  position: absolute;
  left: 5px;
  top: 45%;
  transform: translateY(-50%);
  width: 75px;
  height: auto;
  pointer-events: none;
}
.btnIconDoc {
  position: absolute;
  left: 5px;
  top: 15%;
  transform: translateY(-50%);
  width: 120px;
  height: auto;
  pointer-events: none;
}
.homepageContainer_ {
  flex-wrap: wrap;
}


.p1 .cptsContainer {
  max-width: 450px;
  width: 100%;
  
}

@media (max-width: 1400px) {
  .p1, .p2 {
    width: 50%;
  }
  .button {
    min-height: 100px;
    height: auto;
    padding: 15px 10px 15px 70px;
  }
  
  .button p {
    font-size: 0.9rem;
  }
  .homepageContainer_ {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .p1, .p2 {
    width: 50%;
  }
  
  .p1 .cptsContainer {
    margin-left: 120px;
    transform: none;
  }
  
  .btns {
    justify-content: space-between;
    gap: 10px;
  }
  
  .p2 img {
    width: 90%;
    height: auto;
  }
}


@media (max-width: 1250px) {
  .p1 {
    width: 55%;
  }
  
  .p2 {
    width: 45%;
    padding-left: 20px;
  }
  
  .p2 img {
    max-width: 100%;
    margin: 0 auto;
  }
}


@media (max-width: 1123px) {
  .homepageContainer_ {
    flex-direction: column;
    align-items: center;
  }
  
  .p1, .p2 {
    width: 100%;
    max-width: 800px;
  }
  
  .p2 {
    order: 2;
    margin-top: 2rem;
  }
  
  .p2 img {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }
  
  
}


@media (max-width: 1024px) {
  .homepageContainer_ {
    flex-direction: column;
    align-items: center;
  }
  
  .p1, .p2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .p1 .cptsContainer {
    margin: 0 auto 0 120px;
    transform: none;
  }
  
  .btns {
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin-top: 3rem; 
  }
  
  .p2 {
    order: 2;
    margin-top: 2rem;
  }
  
  .p2 img {
    width: 70%;
    height: auto;
  }
  
  
  
  main {
    display: flex;
    flex-direction: column;
  }
  
  .homepageContainer_ {
    order: 1;
  }
  
  .homepageContainerMid {
    order: 2;
  }
  
  .allArticlesContainer {
    order: 3;
  }
  
  .homepageContainerBot {
    order: 4;
  }
}

.p2 img {
  width: 100%;
  height: auto;
}


.allArticlesContainer {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto 2rem auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.allArticlesDetails {
  width: 100%;
}

.allArticlesButton {
  display: block;
  text-align: center;
  margin: 0 auto;
  font-weight: bold;
  cursor: pointer;
}
.newsCard .title p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}


@media (max-width: 767px) {
  .homepageContainer_ {
    padding: 0 15px 0 30px;
    box-sizing: border-box;
    margin-bottom: 1rem;
  }
  
  .circleImage {
    width: 240px;
    height: 240px;
    left: 0; 
  }
  
  .p1 .cptsContainer {
    width: 450px; 
    margin: 0 auto 0 120px; 
  }
  
  .btns {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 1.5rem;
  }
  
  .button {
    width: 45%;
  }
}


@media (max-width: 760px) {
  .btns {
    flex-direction: column-reverse;
    gap: 50px; 
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
  }
  
  .button {
    width: 90%;
    max-width: 350px;
  }
}


@media (max-width: 620px) {
  .p1 .cptsContainer {
    width: 400px;
    margin: 0 auto 0 90px;
  }
  
  .circleImage {
    width: 200px;
    height: 200px;
    left: 0;
  }
  
  .blueBox {
    padding: 3.5rem 2rem 2rem 4.5rem;
  }
}


@media (max-width: 510px) {
  .p1 .cptsContainer {
    width: 350px;
    margin: 0 auto 0 85px;
  }
  
  .circleImage {
    width: 180px;
    height: 180px;
    left: 0;
  }
  
  .blueBox {
    padding: 3rem 1.5rem 2rem 4rem;
  }
}


@media (max-width: 480px) and (min-width: 455px) {
  .p1 .cptsContainer {
    width: 320px;
    margin: 0 auto 0 75px;
  }
  
  .circleImage {
    width: 160px;
    height: 160px;
    left: 0;
  }
  
  .blueBox {
    padding: 2.5rem 1.5rem 2rem 3.5rem;
  }
  
  .textContent {
    margin-left: 25px;
    font-size: 1.5rem;
  }
  
  .button {
    padding: 10px 10px 10px 80px;
  }
  
  .btnIcon, .btnIconDoc {
    width: 65px;
    height: auto;
    left: 10px;
  }
  
  .button p {
    margin-left: 10px;
    font-size: 0.9rem;
  }
}


@media (max-width: 456px) {
  .p1 .cptsContainer {
    width: 300px;
    margin: 0 auto 0 65px;
  }
  
  .circleImage {
    width: 140px;
    height: 140px;
    left: 0;
  }
  
  .blueBox {
    padding: 2rem 1.5rem 1.5rem 3rem;
  }
  
  .textContent {
    margin-left: 20px;
    font-size: 1.5rem;
  }
  
  .button {
    padding: 10px 10px 10px 75px;
  }
  
  .btnIcon, .btnIconDoc {
    width: 60px;
    height: auto;
    left: 10px;
    top: 50%;
  }
  
  .button p {
    margin-left: 15px;
    font-size: 0.85rem;
  }
}


@media (max-width: 380px) {
  .p1 .cptsContainer {
    width: 270px;
    margin: 0 auto 0 55px;
  }
  
  .circleImage {
    width: 120px;
    height: 120px;
    left: 0;
  }
  
  .blueBox {
    padding: 1.5rem 1.2rem 1.2rem 2.5rem;
  }
  
  .textContent {
    margin-left: 15px;
    font-size: 1.3rem;
  }
  
  .button {
    padding: 10px 10px 10px 65px;
    min-height: 60px;
  }
  
  .btnIcon, .btnIconDoc {
    width: 50px;
    height: auto;
    left: 8px;
  }
  
  .button p {
    margin-left: 10px;
    font-size: 0.8rem;
  }
}


@media (max-width: 480px) {
  .homepageContainer_, .homepageContainerMid, .homepageContainerBot {
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .button {
    width: 90%;
    height: auto;
    min-height: 70px;
    padding: 8px 5px 8px 75px;
  }
  
  .button p {
    margin-left: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
  }
  
  .btnIcon, .btnIconDoc {
    width: 65px;
    height: auto;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .btns {
    gap: 20px;
    width: 100%;
  }
}


@media (max-width: 360px) {
  .p1 .cptsContainer {
    width: 250px;
    margin: 0 auto 0 50px;
  }
  
  .circleImage {
    width: 120px;
    height: 120px;
    left: 0;
  }
  
  .blueBox {
    padding: 1.5rem 1.2rem 1.2rem 2.5rem;
  }
  
  .textContent {
    margin-left: 15px;
    font-size: 1.3rem;
  }
}

@media (max-width: 760px) {
  .articleContainer {
    flex-direction: column;
    align-items: center;
  }
}
