@import url("https://fonts.googleapis.com/css2?family=Balsamiq+Sans:wght@700&family=Montserrat:wght@500&family=Poppins:wght@200;400&family=Smokum&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alata&display=swap");
:root {
  --logo-blue: #121174;
  /* --logo-blue: #53aad3; */
  --logo-red: #ff0000;
  --logo-subcolor: #2b1212;
  --color-light-blue: #d5e5f5;
  --color-grey-font: #3c3e3f;
}

html {
  width: 100vw;
  /* needed for mobile */
  font-size: 15px;
  /* 1rem = 15px trying this for mobile to work.*/
  scroll-behavior: smooth;
  /* overflow-x: hidden; */
  /* overflow: hidden; */
}
body {
  max-width: 100%;
  padding: 0;
  overflow-x: hidden;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  html {
    max-width: 100%;
    /* needed for mobile */
    font-size: 12px;
    /* 1rem = 15px trying this for mobile to work.*/
  }
}
.nav-bar {
  background-color: #3c3e3f;
  display: grid;
  margin: auto 0;
  padding: 0.5rem 3rem;
  grid-template-columns: 1.5fr 1fr 8fr;
  align-items: center;
  font-stretch: ultra-expanded;
  text-decoration: none;
  font-family: "Alata", serif;
  font-weight: 400;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.5rem;
}
.nav-bar img {
  border-radius: 5%;
  border: 1px solid var(--color-grey-font);
}

.nav-bar a {
  text-decoration: none;
  font-family: "Alata", serif;
  margin-left: 1rem;
  color: #e5effa;
}

.nav-bar a:hover {
  color: var(--logo-red);
}
.nect-menu {
  justify-self: end;
  margin-right: 1rem;
  text-decoration: none;
  /*neccessary here*/
}

.header-container {
  display: grid;
  place-items: center;
  height: 90vh;
  overflow: hidden;
  background-image: url(../images/city2.jpg);
  background-size: 120%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.header-container-logo {
  padding: 0.2rem 2rem;
  margin: 0.5rem 2rem;
  font-size: 2rem;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial;
  font-style: italic;
  /* object-fit: fill; */
  color: white;
  /* text-shadow: 10px 10px 20px red, 0 0 1em rgb(218, 67, 61), 0 0 0.2em blue; */
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000;

  /* text-shadow: 1px 1px 2px red, 0 0 1em blue, 0 0 0.2em blue; */
}
.professional-vision {
  padding: 1rem 0;
  margin: 1rem 0;
  background-image: url("../images/Capital-bg.jpeg");
  background-size: 1000px 700px;
  background-position: top;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
  .nav-bar {
    display: grid;
    grid-template-columns: none;
    padding: 0.2rem;
    font-size: 2rem;
    font-style: italic;
    justify-items: center;
  }

  .nect-menu {
    justify-self: center;
    margin-right: 0;
    margin-left: 0;
    text-decoration: none;
    /*neccessary here*/
  }

  .nect-menu a {
    font-size: 1.4rem;
    font-style: normal;
    margin: 0;
    padding: 0;
    /* border: solid whitesmoke 1px;
        border-radius: 5px; */
  }

  .header-container {
    padding: 0;
    margin: 0 auto;
    /* justify-content: center;  */
    height: 40vh;
    /* background-color: #555; */
    /* background-blend-mode: screen; */
  }

  .header-container-logo p {
    font-size: 1.4rem;
    padding: 0;
  }

  .colorchange:nth-child(even) {
    margin: auto;
    width: 95vw;
    width: 100%;
    background-color: white;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    box-shadow: none;
  }

  .colorchange:nth-child(odd) {
    margin: auto;
    width: 100%;
    padding: auto 0;
    /* width: 95vw; */
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    box-shadow: none;
  }
  .professional-vision {
    margin: auto;
    padding: auto;
    background-image: url("../images/Capital-bg.jpeg");
    background-size: contain;
 
  }
} /* End mobile sizing*/

.colorchange:nth-child(even) {
  margin: 2rem 0;
  /* width: 95vw; */
  background-color: white;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.colorchange:nth-child(odd) {
  margin: 2rem 0;
  width: 100vw;
  /* width: auto; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
}

.horizontal-list {
  width: 50vw;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
}

.horizontal-list-text {
  flex: 1 ;
  min-width: 200px;
  padding: 1rem;
  /* background-color: #9bc8ec; */
  background-color: white;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.4rem;
  box-shadow: 5px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* .horizontal-list-text:nth-child(2n + 1) { background-color: #d5d9ff; }
.horizontal-list-text:nth-child(2n + 2) { background-color: #ffb9b6; }
.horizontal-list-text:nth-child(2n + 3) { background-color: #c1fcdc; } */


.horizontal-list-text:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  .horizontal-list {
    width: 100%;
  }
  .horizontal-list-text {
    min-width: fit-content;
  }
}

.centered-list {
  text-align: none;
  padding-left: 0;
}

.centered-list li {
  list-style: inside;
  /* justify-content: center; */
}

.who-we-are {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-items: center;
  gap: 2rem;
  padding: 1rem;
  /* padding: 0; */
  /* width: 75%; */
  margin: 1rem;
  /* margin-bottom: 2rem; */
  /* background-color: #e3f5fd; */
  /* border: 2px solid #000; */
  border-radius: 10px;
  background-color: rgba(83, 108, 153, 0.8);

  @media screen and (max-width: 768px) {
    gap: 0.5rem;
    padding: 0;
    width: 100%;
    margin-bottom: 2rem;
  }
}
.responsive-img {
  width: 30%;
  height: 35%;
  border: none;
  margin: 0.3rem;
  /* border-radius: 10px; */
  /* margin-bottom: 1.8rem; */
  /* border: 3px solid rgb(4, 94, 124); border-radius: 2px; */
}
.stack {
  display: grid;
  width: 100vw;
  /* max-width: 100%; */
  text-align: center;
}

.stack img {
  /* border-radius: 22%; */
  /* border: 3px solid var(--logo-blue); */
  margin: 3rem auto 3rem auto;
}

.stack h2 {
  /* padding: 1rem; */
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  color: var(--logo-subcolor);
  margin-bottom: 1rem;
}
.stack h3 {
  margin: 0.7rem, 0, 0.7rem, 0;
  padding: 1rem;
  text-align: center;
  font-size: 2em;
  color: var(--logo-blue);
  margin-top: 2rem;
}
.stack p {
  margin-bottom: 2rem;
  margin-top: 1rem;
  padding: 1.5rem 20%;
  text-align: center;
  color: var(--color-grey-font);
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
}

.stack ul {
  text-align: left;
  list-style: square;
  list-style-position: inside;
  /* margin: auto; */
  /* padding-left: 40%; */
  color: rgb(12, 12, 109);
  font-weight: bold;
  line-height: 1.2;
  font-size: 1.6rem;
  font-family: "Times New Roman", Times, serif;
}

.stack li:hover {
  color: var(--logo-red);
}

.inside {
  display: flex;
  margin: auto;
  width: 100%;
  align-items: space-around;
}

.side-1 {
  flex-grow: 1;
  text-align: left;
  margin: 0 5%;
}

.side-1 p {
  padding: 1.2rem;
  text-align: left;
}

.what-we-do {
  display: flex;
  flex-direction: row;
  /* align-items: flex-start; */
  justify-content: space-between;
  justify-content: center;
  flex-flow: wrap;
  -ms-flex-flow: wrap;

  background-size: cover;
  background-position: center;

  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(6px);
}
@media screen and (max-width: 768px) {
  .what-we-do {
    flex-direction: column;
    align-items: center;
  }
}
.what-we-do .box {
  /* flex-direction: row; */
  margin: 1.2rem 1.3rem;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0);
  border-radius: 3px;
  max-width: 25%;
  padding: 1.5rem 1rem;

  @media screen and (max-width: 768px) {
    max-width: fit-content;
  }
}

.what-we-do img {
  padding: 0;
  margin: 2rem;
  /* justify-self: center; */
  border: 3px solid rgb(4, 24, 90);
  border-radius: 5px;
}

.what-we-do .box::first-letter {
  color: #2b1a17;
  padding: 5px 8px;
  margin-right: -7px;
  background-color: #e5effa;
  /* border-style: inset; */
  border-color: #f4fdbd;
  /* border-width: 3px; */
  border-radius: 50%;
}

.what-we-do .title {
  margin: 1rem;
  font-size: 1.8rem;
  font-weight: bold;
  color: #654321; /* dark brown */
}

.what-we-do .text {
  text-align: left;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  font-size: 1.3rem;
  color: #2e231c; /* dark gray */
}

@media screen and (max-width: 768px) {
  .stack p {
    padding: 2rem 0.5rem;
    margin: 0;
  }
  .stack ul {
    padding-left: 2rem;
  }

  .stack h2 {
    padding: 0;
    margin: 1rem;
  }

  .side-1 p {
    padding: 0;
    margin: 0;
  }

  .inside h3 {
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
  }

  .inside p {
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
  }

  .side-1 p {
    padding: 0;
    border-right: 2px solid lightgray;
    border-top: 2px solid lightgray;
  }
}

.side-1 {
  background: linear-gradient(135deg, #fdfdfd, #c0c2d8);
  padding: 2rem;
  /* border-radius: 15px; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-1 h3 {
  font-family: "Arial", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.side-1 p {
  font-family: "Verdana", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.side-1:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.index-icon-block {
  width: 50%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  justify-content: space-around;
  gap: 1rem;
  /* border: 2px solid var(--logo-blue); */
}

.index-icon-block img {
  width: 13rem;
  height: 10rem;
  border-radius: 5%;
  border: none;
  box-shadow: 0px 0px 17px 4px #9aa7ad;
}

.index-icon-block img:hover {
  box-shadow: 0 0 0 3px rgba(179, 52, 52, 0.89);
}

@media screen and (max-width: 768px) {
  .index-icon-block {
    width: 100%;
    justify-content: none;
    gap: 0.2rem;
    padding: 0;
    margin: 0;
  }
  .index-icon-block img {
    width: 9rem;
    height: 7rem;
  }
}

.footer {
  margin: auto ;
  display: block;
  height: max-content;
  background-color: rgba(83, 108, 153, 0.8);
  /* background-color: #3c3e3f; */

  p {
    max-width: 40%;
    background-color: white;
    /* border: 2px solid; */
    /* justify-items: center;
    justify-content: center; */
    border-radius: 10px;
    padding: 1.8rem;
    margin: 0.2rem, auto;
  }
}
.footer .block {
  width: 75%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  justify-content: space-around;
  gap: 1rem;
}
@media screen and (max-width: 768px) {
  .footer .block {
    width: 98%;
  }
  .footer p {
    max-width: 85%;
  }
}
