.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  color: white;
  padding: 10px 0;
  z-index: 1000;
  display: none;
}

@media screen and (max-width: 430px){
  .navbar {
    display: block;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  }
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .navbar {
    display: block;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    padding-right: 26px;
    padding-left: 44px;
  }
}

.contact-us {
  background-color: #414142;
  border-radius: 30px;
  width: fit-content;
  height: 32px;
  margin-top: 16px;
  margin-right: 8px;
  outline: none;
  border: none;
}
.contact-us a {
  color: #ffffff;
  font-family: "Poppins", Helvetica;
  font-size: 10px;
  position: relative;
  top: -2px;
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .contact-us {
    min-width: max-content;
    min-height: 38px;
    margin-right: 16px;
  }
  .contact-us a {
    font-size: 14px;
  }
}

.navbar-double {
  display: flex;
}

.dropbtn {
  background-color: transparent;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  width: 100%;
  z-index: 10;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  margin-top: 74px;
  height: 0%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  min-width: 100%;
  overflow: auto;
  box-shadow: 0px 6px 4px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 0 0 16px 16px;
  text-align: center;
  font-family: "Poppins", Helvetica;
  color: #414142;
  transition: 0.2s;
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .dropdown-content {
    min-width: 100%;
  }
}

.dropdown-content a {
  color: #a1a1a1;
  padding: 22px 16px;
  text-decoration: none;
  display: block;
  font-size: 24px;
}

.dropdown-content a:first-child {
  border-top: solid 1px #414142;
  width: 70%;
  margin: 0 auto;
  padding-top: 40px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {height: 788%;}

.navbar .nav-container {
  display: inline-block;
  cursor: pointer;
  padding-right: 36px;
}

.bar1, .bar2, .bar3 {
  width: 30px;
  height: 3px;
  background-color: #414142;
  margin: 6px 0;
  transition: 0.4s;
  z-index: 0;
}

.change .bar1 {
  transform: translate(0, 7px) rotate(-45deg);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

.navbar-logo {
  margin-left: 0;
  padding-top: 16px;
}
.navbar-logo svg {
  width: 32px;
  height: 32px;
}
.navbar-logo path {
  fill: #0087ca;
}

.navbar .nav-container {
  display: flex;
  justify-content: space-between;
  padding-top: 2px;
  padding-left: 60px;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 10px 8px;
}

.nav-link:hover {
  background-color: #555;
  border-radius: 5px;
}

.bg {
  width: 40%;
  position: absolute;
  top: -20px;
  right: 0;
  z-index: -1;
}

@media screen and (max-width: 430px){
  .bg {
    width: 70%;
    top: 0;
  }
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .bg {
    width: 54%;
    top: 10px;
  }
}

.container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1;
}

@media screen and (max-width: 430px){
  body .container {
    overflow: hidden;
    padding: 0 30px;
  }
}

@media screen and (min-width: 431px) and (max-width: 820px){
  body .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.close {
  margin-top: 80px;
  display: block;
}
.close path, .close svg {
  transition: width 0.1s ease-in, height 0.1s ease-in, fill 0.1s ease-in;
}

@media screen and (max-width: 430px){
  .close {
    display: none;
  }
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .close {
    display: none;
  }
}

.close:hover path {
  fill: #0087ca;
}
.close:hover svg {
  width: 26px;
  height: 26px;
}

.research-page-header {
  font-family: "Poppins", Helvetica;
  font-weight: 700;
  color: #0087ca;
  font-size: 70px;
  margin-left: 40px;
  margin-bottom: 30px;
  margin-top: 80px;
}

@media screen and (max-width: 430px){
  .research-page-header {
    font-size: 44px;
    margin-left: 28px;
    margin-bottom: 0;
    margin-top: 160px;
  }
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .research-page-header {
    font-size: 54px;
    margin-left: -40%;
    margin-bottom: 0;
    margin-top: 160px;
  }
}

.research-intro {
  font-family: "Poppins", Helvetica;
  color: #414142;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 40px 30px 40px;
  max-width: 1080px;
  text-align: justify;
}

@media screen and (max-width: 430px){
  .research-intro {
    font-size: 14px;
    margin: 20px 28px 0 28px;
    text-align: left;
  }
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .research-intro {
    font-size: 15px;
    margin: 30px 40px 0 40px;
    width: 86%;
  }
}

.boxes {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
}

@media screen and (max-width: 430px){
  .boxes {
    margin-top: 40px;
    grid-template-columns: 1fr;
    justify-items: flex-start;
    gap: 50px;
  }
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .boxes {
    width: 100%;
    margin-top: 50px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 40px;
  }
}

.rectangle-link {
  text-decoration: none;
  display: block;
}

.rectangle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: -10px;
  margin-top: 60px;
  padding-top: 20px;
  border: solid 1px #414142;
  width: 540px;
  height: 300px;
  border-radius: 30px;
  transition: transform 0.2s ease-in, box-shadow 0.2s ease-in;
}
.rectangle h3 {
  font-family: "Poppins", Helvetica;
  font-weight: 700;
  color: #414142;
  font-size: 24px;
  margin-left: 48px;
  margin-top: 20px;
  margin-bottom: -20px;
}
.rectangle p {
  font-family: "Poppins", Helvetica;
  margin-left: 48px;
  padding-right: 38px;
  font-size: 16px;
  color: #414142;
}

.rectangle-link:hover .rectangle {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 135, 202, 0.18);
}
.rectangle-link:hover .rectangle h3 {
  color: #0087ca;
}

@media screen and (max-width: 430px){
  .rectangle {
    width: 100%;
    height: 100%;
    margin-top: 40px;
    padding-top: 10px;
  }
  .rectangle h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-left: 48px;
  }
  .rectangle p {
    font-size: 14px;
    margin-left: 48px;
    padding-right: 38px;
    margin-bottom: 30px;
  }
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .rectangle {
    width: 70%;
    height: 100%;
    margin-top: 40px;
    padding-top: 0px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .rectangle h3 {
    font-size: 28px;
    margin-top: 30px;
    margin-left: 48px;
  }
  .rectangle p {
    font-size: 14px;
    margin-left: 48px;
    padding-right: 38px;
    margin-bottom: 30px;
  }
}

.down-color {
  background: linear-gradient(90deg,
  #41c2a7, #7ddad9, #d2ecf2, #7ac9e7, #349fd4);
  height: 40px;
  width: 100%;
  align-self: flex-end;
  border-radius: 0 0 30px 30px;
  margin-top: -40px;
}

.down-bottom {
  margin-top: 120px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.down-bottom button {
  color: white;
  background-color: #414142;
  font-family: "Poppins";
  outline: none;
  border: none;
  border-radius: 30px;
  width: 250px;
  height: 58px;
  margin-bottom: 80px;
  transition: background-color 0.1s ease-in, width 0.1s ease-in, height 0.1s ease-in, font-weight 0.1s ease-in;
}
.down-bottom a {
  margin-bottom: 80px;
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .down-bottom {
    margin-top: 100px;
  }
}

.down-bottom button:hover {
  background-color: #0087ca;
  width: 254px;
  height: 60px;
  font-weight: 700;
}

@media screen and (max-width: 430px){
  .back-arrow {
    display: none;
  }
}

@media screen and (min-width: 431px) and (max-width: 820px){
  .back-arrow {
    display: none;
  }
}
