@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/********* Navbar Section *******/

.navbar {
  padding: 20px 0;
  min-height: 80px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.navbar-brand img {
  width: 60%;
}
.nav-link {
  color: #515151;
  font: 500 16px/26.2px "DM Sans", sans-serif !important;
  margin-right: 30px;
  white-space: nowrap;
}

.nav-link.active {
  color: #305695 !important;
  font: 600 16px/26.2px "DM Sans", sans-serif !important;
}

/* Banner Section */
.banner-wrapper {
  background: linear-gradient(to right, #f5f5f5 60%, #1f5dc0 40%);
  min-height: 70vh;
  position: relative;
}
.pattern-block {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 40%;
}
.hero-image {
  position: absolute;
  max-width: 90%;
  left: 0;
  right: 0;
  margin: auto;
}
/* Home Section */

.mob-hero-image {
  display: none;
}
.text-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
.left,
.right {
  padding: 20px;
  box-sizing: border-box;
}
.left {
  width: 60%;
  background-color: #f7f7f7;
  display: flex;
  align-items: flex-end;
}
.right {
  width: 40%;
  background-color: #1f5dc0;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.hero-image {
  width: 90%;
  height: 90%;
  position: absolute;
  top: 0;
  left: 0;
}
.left-header {
  color: #19468e;
  font-size: 30px;
  font-weight: 800;
  font-family: "DM Sans", sans-serif;
  text-align: justify;
  padding: 20px;
}
.right-header {
  color: #ffffff;
  font-size: 17px;
  font-weight: 300;
  font-family: "DM Sans", sans-serif;
  line-height: 28px;
  word-spacing: 3px;
  text-align: justify;
}
.Layer-1 {
  position: absolute;
  right: 60px;
  bottom: -2px;
}
.herosection {
  margin-top: 6rem;
}

/********** Target Section *********/

.target-background {
  background-image: url("../images/index/target-background.png");
  background-size: cover;
  background-position: center;
  padding: 90px 15px;
}

.white-header {
  color: #ffffff;
  font: 800 2.5rem/52.04px "Onest", sans-serif;
}

.span-white {
  color: transparent;
  -webkit-text-stroke: 0.7px #ffffff;
  font: 800 2.5rem/52.04px;
}

.target-context {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.target-item {
  text-align: center;
}

.target-icon {
  height: 125px;
  width: 120px;
  position: relative;
  margin: 0 auto 15px;
}

.target-item img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
}

.target-item h5 {
  color: #fff;
  font: 600 1.25rem/1.5rem;
}

/* Carousel Section */

.latest-news-bg {
  background-image: url("../images/Blue-background.png");
  height: auto;
  padding: 70px 15px;
}
.press-card {
  border: none;
  width: 100%;
  overflow: hidden;
  padding: 0.325rem;
  margin: 40px 0;
}
.press-card figure {
  margin: 0 0 1rem;
  position: relative;
  height: 200px;
  border-radius: 5px;
  overflow: hidden;
}
.press-card img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.press-card p {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 27px;
  max-width: 100%;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.press-card a {
  text-decoration: none;
}
.press-card a h3 {
  font-size: 1rem;
  margin: 0 0 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  max-width: 99%;
  text-overflow: ellipsis;
}
.footer-card {
  display: flex;
  flex-direction: row !important;
  justify-content: space-between;
}
.press-card h6 {
  color: #d5d5d5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  font-size: 14px;
  line-height: 27px;
  font-weight: 400;
  overflow: hidden;
  text-align: justify;
}
.press-card .link-pr {
  color: #d5d5d5;
  text-align: right;
  display: block;
  margin-top: -35px;
}

/* Groups */

.group-section {
  margin: 40px 0 90px;
}
.span-blue {
  color: transparent;
  -webkit-text-stroke: 1px #1f5dc0;
  font: 900 43px/52px "Onest", sans-serif;
}
.blue-header h1 {
  color: #1f5dc0;
  font: 900 43px/52px "Onest", sans-serif;
}
.group-logos {
  box-sizing: border-box;
  display: flex;
  flex-flow: wrap;
  margin-top: -24px;
  margin-left: -24px;
  -webkit-box-pack: center;
  justify-content: center;
  margin-top: 50px;
}
.logo-row {
  display: flex;
  justify-content: center;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
}

.logo-box {
  width: 290px;
  border: 1px solid #eee;
  height: 170px;
  margin: auto;
  position: relative;
  background: #fafafa;
  border-radius: 2px;
}
.logo-box img {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  position: absolute;
  max-width: 85% !important;
  max-height: 85% !important;
}

/************Footer Section ************/

.footer {
  padding: 3rem;
  background-color: #031228;
  color: #ffffff;
}
.footer-logo img {
  max-width: 100%;
}
.footer-para {
  font: 400 14px/19px "DM Sans", sans-serif;
  text-align: justify;
}
.footer-heading {
  color: #ffffff;
  font: 500 22px/23px "DM Sans", sans-serif;
}
.quick-links {
  list-style: none;
  padding: 0;
}
.quick-links li {
  margin: 0.5rem 0;
}
.quick-links a {
  text-decoration: none;
  color: #ffffff;
  font: 350 15px/33px;
}
.contact-header {
  color: #ffffff;
  font: 500 22px/23px "DM Sans", sans-serif;
}
.location-icon {
  height: 26px;
}
.address img {
  width: 20%;
}
.address p {
  color: #ffffff;
  font: 300 15px/23px "DM Sans", sans-serif;
}
.mail-text {
  color: #ffffff;
  font: 300 15px/23px "DM Sans", sans-serif;
  text-decoration: none;
}
.copy {
  border-top: 0.5px solid #0f2b58;
  color: #fff;
  margin-top: 40px;
  padding-top: 35px;
  font: 400 15px/23px "DM Sans", sans-serif;
  text-align: center;
}
.google-map-section iframe {
  box-shadow: 0 6px 4px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  width: 100%;
  height: auto;
}

/*  Media queries */

@media (max-width: 700px) {
  .navbar-nav {
    display: block;
    text-align: center;
  }
  .navbar-collapse {
    display: block;
  }
  .text-container {
    flex-direction: column;
    height: auto;
  }
  .hero-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
  }
  .left,
  .right {
    width: 100%;
    height: auto;
    padding: 20px;
  }
  .left-header {
    font-size: 24px;
    padding: 15px;
    text-align: justify;
  }

  .right-header {
    font-size: 16px;
    line-height: 24px;
    padding: 15px;
    text-align: justify;
  }
  .Layer-1 {
    width: 50px;
    height: 50px;
    right: 10px;
    bottom: 10px;
  }
  .target-icon {
    height: 90px;
    width: 90px;
  }

  .target-item h5 {
    font-size: 1rem;
  }
  .span-blue {
    font-size: 32px;
    -webkit-text-stroke: 0.7px #1f5dc0;
    line-height: 40px;
  }

  .blue-header h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .latest-news-bg {
    padding: 20px 0 40px;
  }

  .press-card {
    margin: 20px 0;
    padding: 0.2rem;
  }

  .press-card figure {
    height: 150px;
  }

  .press-card p {
    font-size: 18px;
    line-height: 24px;
    -webkit-line-clamp: 4;
  }

  .press-card h6 {
    font-size: 12px;
    line-height: 20px;
  }

  .press-card .link-pr {
    margin-top: -25px;
    font-size: 14px;
  }
  .group-section {
    margin: 50px 0 80px;
  }

  .span-blue {
    font-size: 28px;
    line-height: 34px;
  }

  .blue-header h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .group-logos {
    flex-direction: column;
    margin-top: 30px;
    margin-left: 0;
  }

  .logo-row {
    flex-direction: column;
  }

  .logo-wrapper {
    margin-bottom: 20px;
    width: 100%;
  }

  .logo-box {
    width: 100%;
    height: 150px;
  }

  .logo-box img {
    max-width: 75% !important;
    max-height: 75% !important;
  }
  .footer {
    padding: 10px;
  }
  .footer-para {
    font-size: 0.8rem;
  }
  .herosection {
    display: none;
    margin-top: 6rem;
  }
  .mob-hero-image {
    display: block;
    margin-top: 2rem;
  }
  .abc {
    width: 100%;
    overflow: hidden;
  }
}
