/*
Name: custom-css
Version: 1.2
*/

/* New design for Comments with Video Block */

.comments.with-video.layout-2 {
  background-color: #1d4c98;

  /* Remove Quote Icon */
  &:before {
    display: none;
  }

  h2 {
    color: #fff;
    font-family: "plantin";
    font-weight: 500;
    max-width: 645px;
    margin: 0 auto 60px;
    font-style: normal;
    line-height: 1;
    text-wrap: pretty;
    font-size: 38px;
  }
  @media (max-width: 1199.98px) {
    h2 {
      font-size: 34px;
    }
  }
  @media (max-width: 991.98px) {
    h2 {
      font-size: 32px;
    }
  }
  @media (max-width: 767.98px) {
    h2 {
      font-size: 28px;
    }
  }
  @media (max-width: 575.98px) {
    h2 {
      font-size: 26px;
    }
  }

  blockquote {
    color: #fff;
    font-family: "Open Sans";
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
  }

  cite {
    color: #fff;
    font-family: "Avenir Next";
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
  }

  .slick-c:not(:has(.video-c)) {
    .text-c {
      max-width: 700px;
      margin: auto;

      blockquote {
        text-align: center;
      }

      cite {
        justify-content: center;
      }
    }
  }

  .slick-c:has(.video-c) {
    @media (max-width: 767.98px) {
      .text-c {
        blockquote {
          text-align: center;
        }

        cite:not(:has(.img-c)) {
          justify-content: center;
        }
      }
    }
  }

  .slick-dots {
    li {
      border: 2px solid white;
      width: 16px;
      height: 16px;
      background: transparent;
    }

    li.slick-active {
      background: white;
    }
  }
}

/* New Three Column Card Container Block */

.three-column-card-container {
  background: #002868;
  padding: 96px 0px;
	
	&.dark-blue-background {
		background: #002868;
		
		p, span {
			color: #fff;
		}
		
		hr {
			border-color: #fff !important;
		}
		
		h2 {
			color: #fff;
		}
	}
	
	&.white-background {
		background: #fff;
		
		p, span {
			color: #000;
		}
		
		hr {
			border-color: #002868;
		}
		
		h2 {
			color: #002868 !important;
		}
	}

  @media (max-width: 767.98px) {
    padding: 64px 0px;
  }
	
	.content > .title-box h2 {
		max-width: none !important;
	}

  .title-box {
    text-align: center;
    text-wrap: pretty;

    @media (max-width: 767.98px) {
      text-align: left;
    }

    h2 {
      font-size: 36px;
      font-family: "Plantin MT Pro";
      font-style: normal;
      font-weight: 500;
      line-height: 1.2 !important;
    }
    @media (max-width: 1199.98px) {
      h2 {
        font-size: 32px;
      }
    }
    @media (max-width: 991.98px) {
      h2 {
        font-size: 30px;
      }
    }
    @media (max-width: 767.98px) {
      h2 {
        font-size: 26px;
      }
    }
    @media (max-width: 575.98px) {
      h2 {
        font-size: 24px;
      }
    }

    hr {
      border: 1px solid;
      margin: 64px auto 48px;
      width: 95%;
    }

    h2 {
      font-family: "plantin";
      font-weight: 500;
      max-width: 645px;
      margin: 0 auto 60px;
      font-style: normal;
      line-height: 1;
      text-wrap: pretty;
      font-size: 38px;
    }
    @media (max-width: 1199.98px) {
      h2 {
        font-size: 34px;
      }
    }
    @media (max-width: 991.98px) {
      h2 {
        font-size: 32px;
      }
    }
    @media (max-width: 767.98px) {
      h2 {
        font-size: 28px;
      }
    }
    @media (max-width: 575.98px) {
      h2 {
        font-size: 26px;
      }
    }
  }

  .btn-box {
    margin-top: 80px;

    @media (max-width: 767.98px) {
      margin-top: 64px;

      a {
        width: 100%;
        max-width: 420px;
      }
    }
  }

  .layout-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    @media (max-width: 1199.98px) {
      grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 767.98px) {
      grid-template-columns: 1fr;
    }

    .title-box {
      display: flex;
      align-items: center;
      text-align: left;

      h2 {
        text-wrap: balance;
        margin: 0;
      }
    }

    .three-column-card-container--card {
      padding: 32px 24px;
      background: #1d4c9869;
      display: flex;
      flex-direction: column;
      height: 100%;
      position: relative;
      border-radius: 16px;

      p,
      span {
        line-height: 1.3;
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        margin-bottom: 24px;
      }

      span.card-title {
        font-size: 26px;
        font-family: "Avenir Next";
        font-style: normal;
        font-weight: 700;
        line-height: 1.166;
      }

      @media (max-width: 991.98px) {
        span.card-title {
          font-size: 24px;
        }
      }
      @media (max-width: 575.98px) {
        span.card-title {
          font-size: 20px;
        }
      }

      .card-description {
        flex-grow: 1;
        text-wrap: pretty;
      }

      a.btn-c {
        width: 100%;
      }

      .icon {
        position: absolute;
        top: 32px;
        left: 76px;
        width: 25%;
        height: auto;
        z-index: -1;
        aspect-ratio: 94 / 146;

        img {
          object-fit: contain;
          object-position: center;
          width: auto;
        }
      }


    }
  }

  .layout-flex-container {
    display: flex;
    column-gap: 40px;
    row-gap: 56px;
    justify-content: center;
    flex-wrap: wrap;

    .three-column-card-container--card {
      padding: 20px 0px;
      max-width: calc((100% - 80px) / 3);
      position: relative;

      @media (max-width: 1199.98px) {
        max-width: calc((100% - 40px) / 2);
      }

      @media (max-width: 767.98px) {
        max-width: 420px;
      }

      p,
      span {
        color: white;
        line-height: 1.3;
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
      }

      p {
        margin: 12px 0px;
      }

      span.card-title {
        font-family: "Avenir Next";
        font-style: normal;
        font-weight: 700;
      }

      .icon {
        position: absolute;
        top: 0;
        height: 100%;
        left: 76px;
        width: auto;
        z-index: -1;
        aspect-ratio: 94 / 146;

        
        @media (max-width: 767.98px) {
          right: 0;
          left: auto;
          height: auto;
          width: 25%;
        }

        img {
         object-fit: contain;
         object-position: center;
         width: auto;

         @media (max-width: 767.98px) {
           object-position: center right;
         }
        }
      }

      .card-description {
        flex-grow: 1;
        text-wrap: pretty;
      }

      a.btn-c {
        width: 100%;
      }
    }
  }
}

/* New Statistics Counter Block */

.statistics-counter {
  background-color: #1d4c98;
  padding: 100px 0px;

  @media (max-width: 767.98px) {
    padding: 64px 0px;
  }

  .statistics-card-grid {
    display: flex;
    column-gap: 40px;
    row-gap: 56px;
    justify-content: center;
    flex-wrap: wrap;

    /* @media (max-width: 1199.98px) {
          grid-template-columns: repeat(2, 1fr);
        }

        @media (max-width: 767.98px) {
          grid-template-columns: 1fr;
        } */

    .statistics-card {
      display: grid;
      grid-template-columns: auto 1fr;
      column-gap: 16px;
      max-width: calc((100% - 80px) / 3);
      align-items: center;

      @media (max-width: 1199.98px) {
        max-width: calc((100% - 40px) / 2);
      }

      @media (max-width: 767.98px) {
        max-width: 400px;
        grid-template-columns: 1fr;
        row-gap: 16px;
      }

      .number-symbol-text-container {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;

        .number-and-symbol-container {
          display: flex;
          flex-wrap: nowrap;

          .number-container {
            position: relative;
            display: flex;

            .number-space-holder {
              opacity: 0;
            }

            .number {
              position: absolute;
              top: 0;
              right: 0;
              justify-self: center;
            }
          }
          .number-space-holder,
          .number,
          .prepend-symbols,
          .append-symbols {
            font-size: 62px;
            color: #ffffff;
            font-family: "plantir";
            font-style: normal;
            font-weight: 500;
            line-height: 1;

            @media (max-width: 991.98px) {
              font-size: calc(62px - 62px * 0.2);
            }
            @media (max-width: 767.98px) {
              font-size: calc(62px - 62px * 0.4);
            }
          }
        }

        .additional-text {
          font-size: 36px;
          color: #ffffff;
          font-family: "plantir";
          font-style: normal;
          font-weight: 500;
          line-height: 1;


          @media (max-width: 1199.98px) {
              font-size: 32px; } 
          @media (max-width: 991.98px) {
              font-size: 30px; } 
          @media (max-width: 767.98px) {
              font-size: 26px; } 
          @media (max-width: 575.98px) {
              font-size: 24px; } 
        }
      }

      .description {
        line-height: 1.3 !important;
        margin: 0;
        max-width: 215px;
        width: 100%;
        color: #ffffff;

        @media (max-width: 767.98px) {
          text-align: center;
        }
      }
    }
    @media (max-width: 767.98px) {
      display: grid;
      grid-template-columns: 1fr;
      justify-items: center;
    }
  }

}

/* New design for Geographic Focus Block */

.geographic-focus.layout-2 {
  margin: 0;
  position: relative;

  .img-c {
    max-width: 60%;
    width: 100%;
    height: auto;
    position: relative;

    .background-circle {
      position: absolute;
      height: 150%;
      aspect-ratio: 1 / 1;
      width: auto;
      top: -5%;
      right: 0;
      background: #1d4c98;
      opacity: 5%;
      border-radius: 50%;
      z-index: -1;
    }
  }

  .absolute-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;

    .content {
      justify-content: flex-end;

      .text-c {
        width: 100%;
        max-width: 40%;
        margin: 50px 0px;
        padding: 0;
        overflow: clip;

        &:before {
          display: none;
        }

        h2 {
          font-family: "plantin";
          font-weight: 500;
          max-width: 645px;
          font-style: normal;
          line-height: 1;
          text-wrap: pretty;
          font-size: 38px;
          margin-bottom: 0;
          position: relative;
          width: fit-content;
        }

        @media (max-width: 1199.98px) {
          h2 {
            font-size: 34px;
          }
        }
        @media (max-width: 991.98px) {
          h2 {
            font-size: 32px;
          }
        }
        @media (max-width: 767.98px) {
          h2 {
            font-size: 28px;
          }
        }
        @media (max-width: 575.98px) {
          h2 {
            font-size: 26px;
          }
        }

        h2:after {
          content: "";
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          left: 100%;
          width: 300%;
          margin-left: 10px;
          height: 3px;
          background: #bf0a30;
        }

        p {
          line-height: 1.3;
          margin: 18px 0px;
        }

        a.btn-c.blue-btn {
          background: #1d4c98;
          border-color: #1d4c98;
          color: white;
          font-family: "Open Sans";
          font-style: normal;
          font-weight: 600;
          line-height: 130%;
          text-transform: uppercase;
          margin-top: 70px;

          @media (max-width: 991.98px) {
            margin-top: 40px;
          }
        }

        a.btn-c.blue-btn:hover {
          background: white;
          color: #1d4c98;
        }
      }
    }
  }

  @media (max-width: 991.98px) {
    .img-c {
      max-width: 120%;
      width: 120%;

      .background-circle {
        width: 115%;
        top: auto;
        bottom: -15%;
      }
    }

    .absolute-container {
      position: relative;

      .content .text-c {
        max-width: none;
      }
    }
  }
}


/* New background color for Testimonials Block */

.testimonials {
	&.dark-blue-background {
		  background: #002868;
  padding: 96px 0px;
		margin: 0;
		
		h2 {
			color: white;
		}
		
		.list {
			border-radius: 16px;
			overflow: clip;
			background: #1d4c9869;
		}
		
		.text-c {
			h3, h4 {
				color: white;
			}
		}
	}
}


/* Some addtional global css rules */

a.btn-c.blue-btn {
  background: #1d4c98;
  border-color: #1d4c98;
  color: white;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  text-transform: uppercase;
  margin-top: 70px;

  @media (max-width: 991.98px) {
    margin-top: 40px;
  }
}

a.btn-c.blue-btn:hover {
  background: white;
  color: #1d4c98;
}

.header-text-box:has(#grey-text-banner) {
    background: rgba(108, 107, 107, 0.07);
  padding: 96px 0px;
  margin: 0;
}