:root {
    --color-gray-blue: #AFB1B8;
    --color-white: #FFFFFF;
    --color-white-60: rgba(255, 255, 255, 0.6);
    --color-white-10: rgba(255, 255, 255, 0.1);
    --color-blue: #2196F3;
    --color-black: #000000;
    --color-dark: #212121;
    --color-mid-gray: #757575;
    --color-light-gray: #EEEEEE;
    --color-bg: #F5F4FA;
    --color-slate: #2F303A;
    --color-slate-80: rgba(47, 48, 58, 0.8);
    --color-button-bg: #F5F5F5;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.logo {
    font-family: "Raleway", sans-serif ;  
}
.logo_footer {
    font-family: "Raleway", sans-serif ;  
}
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto";
  font-size: 16px;
}

label {
  font-size: 12px;
  display: block;
  margin-bottom: 5px;
  color: var();
}

section {
  padding-top: 20px;
  padding-bottom: 20px;
}
.hero_title {
  line-height: 1.3;
  width: 696px;
  font-size: 44px;
}

span {
  color: var(--color-blue);
}
.container {
  max-width: 1440px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}
.hero_button {
  line-height: 1.8;
  width: 216px ;
  height: 50px;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.Features_item_title {
  line-height: 1.4;
  width: 270px;
  height: 16px;
}
.Features_item_text {
  line-height: 1.7;
}
.services_title {
  line-height: 3.6;
}
.team_title {
  line-height: 3.6;
}
.team_number_name {
  line-height: 1.6;
}
.team_number_role {
  line-height: 1.6;
}
.logo {
  line-height: 2.6;
  font-size: 26px;
  text-decoration: none;
  font-weight: bold;
  color: #000000;

}
.address {
  line-height: 1.5;
}

header>.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}


.header_contackt_item {
  display: flex;
  align-items: center;
  gap: 8px;
}


.gmail,
.number {
  color: var(--color-mid-gray);
  text-decoration: none;
}

.gmail:hover,
.number:hover {
  color: var(--color-blue);
}

.icon_header {
  order: -1;
  fill: currentColor;
}

.nav_list {
  display: flex;
  gap: 70px;
  flex-wrap: wrap;
}

.nav_list_item a {
  color: var(--color-black);
  position: relative;
  padding-bottom: 2px;
}

.nav_list_item a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -21px;
  height: 2px;
  background-color: var(--color-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav_list_item a {
  color: var(--color-black);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav_list_item a:hover {
  color: var(--color-blue);
}

.nav_list_item a.nav-link--active::after {
  transform: scaleX(1);
}

.header_contackt a {
  color: var(--color-mid-gray);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header_contackt a:hover{
  color: var(--color-blue); 
}

.header_contackt {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.header_contackt_item {
  color: black;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header_contackt_item:hover {
  color: blue;
}

.gmail,
.number {
  color: inherit;
}

.icon_header {
  fill: currentColor;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px; 
}

.hero_title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-white);
}

.hero_button {
  padding: 12px 24px;
  font-size: 18px;
  background-color: var(--color-blue);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}



.hero {
  background-color: var(--color-slate);
  width: 100%;
  height: 600px;
  background-image:
  linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url(../img/Img-hero.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.modal_hero {
  width: 528px;
  height: 581px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal {
  width: 528px;
  height: 581px;
  background-color: var(--color-bg);
}

.btn_close {
  border-radius: 15px;
  border: 2px solid var(--color-gray-blue);
}

.close_X {
  position: absolute;
  top: 20px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #212121;
}

.name {
  font-size: 50px;
}


.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.backdrop.is-hidden {
  display: none;
}

.no-scroll {
  overflow: hidden;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  min-height: 300px;
  min-width: 300px;
  transform: translate(-50%, -50%);
}

.Features_list {
  display: flex;
  gap: 40px;
}
.features_list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features_item {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.features_title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.features_text {
  font-size: 16px;
  line-height: 1.5;
}
.services{
  padding:60px 0;
  text-align:center;
}

.services_title{
  font-size:32px;
  font-weight:700;
  margin-bottom:40px;
}

.services_list{
  display:flex;
  gap:30px;
  list-style:none;
  padding:0;
  margin:0;
}

.services_item{
  position:relative;
  flex:1;
}

.services_item img{
  width:100%;
  display:block;
}

.services_overlay{
  position:absolute;
  bottom:0;
  width:100%;
  height:70px;

  background-color:rgba(47,48,58,0.8);

  display:flex;
  align-items:center;
  justify-content:center;
}

.services_overlay p{
  color: var(--color-white);
  font-weight:700;
  font-size:14px;
  letter-spacing:1px;
}



.team {
  padding: 60px 0;
  text-align: center;
  background-color: var(--color-bg);
}



.team_title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.team_list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.team_list_item {
  flex: 1;
  max-width: 250px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.team_img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.team_number_name {
  font-size: 18px;
  font-weight: 600;
  margin-top: 15px;
}

.team_number_role {
  font-size: 16px;
  color: var(--color-mid-gray);
}


.team_socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px;
}



.team_socials li {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: gray;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

.team_socials li:hover{
  background: var(--color-blue);
  fill: var(--color-white);
}

.clients {
  padding: 94px 0;
}

.clients_h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.svg_list {
  display: flex;
  justify-content: center;
  gap: 30px;

  list-style: none;
  padding: 0;
  margin: 0;
}

.svg_list_item {
  width: 170px;
  height: 92px;

  border: 1px solid #e0e0e0;
  border-radius: 4px;

  display: flex;
  justify-content: center;
  align-items: center;


}

.client_icon {
  width: 106px;
  height: 60px;
  fill: var(--color-gray-blue);
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.svg_list_item:hover {
  border-color: var(--color-blue);
}

.svg_list_item:hover .client_icon {
  fill: var(--color-blue);
}


.address p {
  margin: 4px 0;
  font-size: 16px;
}
.buttons {
  text-align: center;
  margin-bottom: 40px;
}

.buttons button {
  padding: 10px 20px;
  margin: 5px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background-color: var(--color-button-bg);
  border-radius: 4px;
}




.galery_list {
 display: flex;
 flex-wrap: wrap;
 gap: 30px;
 list-style: none;
 padding: 0;
 margin: 0;
}

.over_list_p {
  font-family: "Roboto";
  color: white;
}

.galery_list_item {
  position: relative;
  flex: 1 1 calc(33.333% - 30px);
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  overflow: hidden;
}

.galery_image_box {
  position: relative;
  overflow: hidden;
}

.over {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:  rgba(25, 111, 182, 0.5);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.over_list_p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-white);
  margin: 0;
  text-align: left;
  max-width: 360px;
}

.galery_image_box:hover .over {
  opacity: 1;
}

.galery_item_img {
  width: 100%;
  height: auto;
}

.galery_item_title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.galery_item_text {
  font-size: 14px;
  color: var(--color-mid-gray);
}
.Features_list {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.Features_list_item {
  position: relative;
  padding-top: 100px;
  width: 270px;
  text-align: left;
  border-radius: 4px;
  padding-bottom: 30px;
}

.Features_list_item::before {
  content: "";
  display: block;
  width: 270px;
  height: 120px;
  background-color: var(--color-bg);
  background-image: url(../img/Group.png);
  background-size: 70px;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 30px;
}


.Features_list_item:nth-child(2)::before {
  background-image: url("../img/clock.png");
}

.Features_list_item:nth-child(3)::before {
  background-image: url("../img/diagram.png");
}

.Features_list_item:nth-child(4)::before {
  background-image: url("../img/astronaut.png");
}
footer {
  width: 100%;
  height: auto;
}

footer{
  background: var(--color-slate);
  color: var(--color-white);
  padding:60px 0;
}

footer .container{
  display:flex;
  align-items:flex-start;
  gap:70px;
}

.footer_social_list{
  display:flex;
  gap:10px;
  margin-top:20px;
}

.footer_social_item{
  width:44px;
  height:44px;
  background: var(--color-white-10);
  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  fill: var(--color-white);
}

.footer_social_item:hover{
  background: var(--color-blue);

  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

