h1,
h2,
h3,
p,
ul {
  padding: 0;
  margin: 0;
}

body {
  background-color: #ffffff;
  color: #434445;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #e7e9fc;
  padding: 24px;
}

address ul li a {
  color: #2e2f42;
  gap: 40px;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  font-style: normal;
}

.container {
  width: 1440px;
  margin: 0 auto;
}

address ul li a:hover {
  color: #404bbf;
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.helper-components li a {
  position: relative;
  display: inline-block;
  color: #2e2f42;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
  text-decoration: none;
}

.helper-components li a:hover,
.helper-components li a:active {
  color: #404bbf;
  text-decoration: none;
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.helper-components a:hover::after {
  position: absolute;
  top: 44px; /* Y konumu */
  left: 50%;
  width: 44px;
  height: 4px;
  background-color: #404bbf;
  transform: translateX(-50%);
  content: "";
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  display: flex;
  justify-content: center;
}

ul li {
  list-style-type: none;
}

.logo {
  gap: 40px;
  color: #2e2f42;
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  line-height: 1.1667;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-decoration: none;
}

.logo span,
.logo span:hover,
.logo span:active,
.logo span:visited {
  color: #4d5ae5;
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  line-height: 1.1667;
  letter-spacing: 0.03em;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul {
  display: flex;
  gap: 40px;
}

address ul {
  display: flex;
  gap: 40px;
}

.cover {
  display: flex;
  background-image: url("../images/office.jpg");
  background-size: cover;
  height: 600px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.info {
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 999;
}

.shadow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2e2f42;
  opacity: 0.5;
}

.section-1 ul {
  padding: 120px 156px;
  gap: 40px;
}

.section-1 ul h3,
.section-1 ul p {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.section-1 ul h3 {
  text-align: left;
  margin: 8px 0;
  font-weight: 500;
}

.section-1 ul p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  width: 264px;
  height: 24px;
}

.icon {
  width: 64px;
  height: 64px;
}

.icon-space {
  display: flex;
  background-color: #f4f4fd;
  width: 264px;
  height: 112px;
  border: 1px solid #8e8f99;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.icon-instagram,
.icon-twitter,
.icon-facebook,
.icon-linkedin {
  color: #f4f4fd;
  width: 16px;
  height: 16px;
}

.icon-sm-space {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50% 50%;
  background-color: #4d5ae5;
}

.icon-sm-space:hover {
  background-color: #31d0aa;
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.our-team {
  height: 732px;
  background-color: #f4f4fd;
  padding: 120px 0;
}

.our-team ul {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.our-team ul li {
  list-style-type: none;
}

.our-team ul li p {
  margin: 8px 3px;
}

.our-team h2 {
  text-align: center;
}

.our-team ul li h3 {
  margin-top: 32px;
}

.team-card {
  height: 428px;
  background-color: #ffffff;
  border-radius: 4px;
}

.our-portfolio {
  padding: 120px 0;
}

.our-portfolio h2 {
  text-align: center;
}

.our-portfolio ul {
  gap: 24px;
}

.row1,
.row2 {
  padding-left: 16px;
  padding-top: 32px;
  width: 360px;
  height: 120px;
}
.row1 {
  margin-bottom: 48px;
}

.pcards {
  border: 1px solid #e7e9fc;
  margin-bottom: 48px;
  width: 360px;
  height: 420px;
  border-radius: 4px;
}

.image-box {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.image-box img {
  display: block;
  width: 100%;
  height: auto;
}

.hover-box {
  position: absolute;
  inset: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4d5ae5;
  color: #ffffff;
  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.image-box:hover .hover-box {
  transform: translateY(0);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.pcards:hover {
  box-shadow: 0px 2px 1px 0px #2e2f42;
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

h1 {
  width: 496px;
  font-size: 56px;
  line-height: 1.07143;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
}

h2 {
  color: #2e2f42;
  font-size: 36px;
  letter-spacing: 0.02em;
  margin-bottom: 72px;
}

h3 {
  color: #2e2f42;
  line-height: 1.2;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.team li {
  text-align: center;
}

button {
  display: flex;
  cursor: pointer;
  background-color: #4d5ae5;
  color: #ffffff;
  font-size: 16px;
  padding: 16px 32px;
  width: 169px;
  border-radius: 4px;
  margin-top: 48px;
}

button:hover {
  background-color: #404bbf;
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

footer {
  display: flex;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  background-color: #2e2f42;
  color: #ffffff;
  height: 312px;
}

.ficon-instagram,
.ficon-twitter,
.ficon-facebook,
.ficon-linkedin {
  width: 24px;
  height: 24px;
}

.ficon-sm-space {
  margin-right: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  height: 40px;
  width: 40px;
  height: 40px;
  background-color: #4d5ae5;
  border-radius: 50% 50%;
}

.ficon-sm-space:hover {
  background-color: #31d0aa;
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.logo2 {
  color: #ffffff;
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  line-height: 1.1667;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  margin-top: 100px;
  margin-bottom: 8px;
}

.logo2 span,
.logo2 span:hover,
.logo2 span:active,
.logo2 span:visited {
  color: #4d5ae5;
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  line-height: 1.1667;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-decoration: none;
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.text {
  margin-left: 156px;
  width: 264px;
  height: 72px;
}

.text2 {
  margin-top: 100px;
  margin-right: 692px;
  margin-left: 120px;
  width: 208px;
}
