@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&family=Roboto:wght@100;300;400&display=swap");

:root {
  --btn-color: #f14d5d;
  --brd-color: #0a58ca;
  --nav-text: #120f2d;
  --highlight: #eba504;
}

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  /* font-family: 'Poppins', sans-serif; */
  font-family: "Outfit", sans-serif;
}

/*Genral */
.container {
  padding: 0 8.4rem;
  /* background: url(/img/\,\,\,\,\,\,.png)no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: fixed; */
}
.img-w {
  width: 100%;
  border: 1px solid #f9532d;
  border-radius: 40px 0;
}

/*nav */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
}

.logo a {
  color: #244d61;
  text-decoration: none;
}

ul {
  display: flex;
  gap: 0.6rem;
  list-style-type: none;
  background-color: transparent;
  overflow: hidden;
}

li a {
  display: inline-block;
  padding: 0.3rem 1rem;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.7px;
  border-radius: 36px;
  line-height: 2;
  transition: 0.3s;
}

li a.active,
li a:hover {
  color: #f9532d;
}

#click {
  display: none;
}

.menu {
  display: none;
}

/* Nav */
.main {
  /* display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(277px, 1fr));
  row-gap: 2rem;
  align-items: center;
}

.main h1 {
  font-size: 4rem;
  font-weight: 600;
}

.main p {
  line-height: 1.7;
  font-size: 1.15rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.7rem;
}

.social a {
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #244d61;
  font-size: 1.5rem;
  border: 1.6px solid #244d61;
  border-radius: 50%;
  padding: 0.39rem;
  text-align: center;
}

.social a:hover {
  color: #fff;
  background-color: #244d61;
  box-shadow: 0 0 20px #244d61;
  transition: all 0.3s ease-in-out;
}

.main h3 {
  font-size: 1.5rem;
}

.images::before {
  content: "";
  position: absolute;
  width: 100%;
  /* height: calc(100% - 130px); */
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  /* background: linear-gradient(145deg, #1e2024, #23272b); */
  /* box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e; */
  border-radius: 6px;
  z-index: -1;
}

.images::before {
  /* background: linear-gradient(145deg, #e2e8ec, #ffffff); */
  box-shadow: 5px 5px 15px #d1d9e6, -5px -5px 15px #ffffff;
}

.images {
  width: 80%;
  margin-left: auto;
  position: relative;
  z-index: -1;
}

/* sectwo */
.cards {
  margin-top: 50px;
}

.title {
  display: flex;
  justify-content: center;
  color: #f9532d;
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 30px;
}

.content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.card {
  background-color: #fff;
  width: 21.25em;
  box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
  border-radius: 10px;
  padding: 25px;
  margin: 15px;
  transition: 0.7s ease;
}

.card:hover {
  transform: scale(1.1);
}

.icon {
  color: #f9532d;
  font-size: 8em;
  text-align: center;
}

.info {
  text-align: center;
}

.info h3 {
  color: #f9532d;
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px;
}
/* sectwoend */

/* sec3 */
.Portfolio {
  margin-top: 70px;
}

/* sec3end */

/* sec4 */
#diff {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.diff {
  padding-top: 20px;
  background-color: #244d61;
  width: 100%;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

/* sec4end */

/* foot, */
hr {
  border: solid #f9532d;
}

footer {
  background-color: #244d61;
  height: 70px;
  text-align: center;
  justify-content: center;
  padding-top: 50px;
}

p {
  margin-top: 20px;
  margin-bottom: 20px;
}
/* footend */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 4.4rem;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 1.6rem;
  }
}

@media screen and (max-width: 600px) {
  header {
    height: auto;
  }

  ul {
    background: #fff;
    width: 100%;
    height: 100vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    top: 3.4rem;
    left: -100%;
    z-index: 111111;
  }
  .menu {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #244d61;
  }

  #click:checked ~ ul {
    left: 0%;
    transition: all 0.3s ease;
  }
  .images {
    width: 100%;
    margin: auto;
  }
  .main {
    margin-top: 2rem;
  }
}
