a {
    text-decoration: none;
}


h1 {
    height: 150px;
    text-align: center;
    height: 120px;
    top: 280px;
    left: 452px;
    font-size: 44px;
}
:root {
    --text-color: #05219f;
    --alt-text-color: #2196f3;

}
.logo { 
    display: block;
    font-size: 26px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: black;
    margin-right: 93px;
}
span {
    color: var(--alt-text-color);
    color: var(--alt-text-color);
    font-family: 'Raleway', sans-serif;

}
nav a {
    color: var(--text-color);
    position: relative;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: var(--alt-text-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

nav a:hover {
    color: var(--alt-text-color);
}

.number {
    color: var(--alt-text-color);
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.number:hover {
    color: #757575;
}

body {
    font-family: 'Roboto', sans-serif;
}
.container {
    max-width: 1630px;
    margin: 0 auto;
    padding: 0 15px;
}
.Designer {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #51515172;
}
.Developer {
    font-family: 'Raleway', sans-serif;
    font-size: 20px; 
    color: #51515172;  
}
.UI-Designer {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #51515172;
}
.Marketing {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #51515172;
}

.card-svg {
    width: 20px;
    height: 20px;
    fill: #757575;
}

.card-svg-1 {
    width: 20px;
    height: 20px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #F5F4FA;
    fill: #757575;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card-svg-1:hover {
    background-color: #2196f3;
    fill: #ffffff;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
} 

.regular-clients {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 15px;
    flex-direction: column;
}

.client {
    display: flex;
    gap: 30px;
    font-size: 36px;
    padding: 60px 0;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

.client-svg {
    width: 106px;
    height: 60px;
    outline: #AFB1B8 1px solid;
    transition: filter 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.client-svg:hover {
    filter: brightness(0) saturate(100%) invert(56%) sepia(93%) saturate(1352%) hue-rotate(174deg) brightness(92%) contrast(101%);
}


footer {
    background-color: #2F303A;
    color: rgb(211, 211, 211);
    text-align: left;
    font-family: 'Raleway', sans-serif;
    padding: 35px 15px;
    max-width: 1600px;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
}

footer .footer-info {
    min-width: 250px;
}

footer .footer-info .Logo {
    margin: 0;
    font-size: 28px;
    color: #ffffff;
}

footer .Footer-Text,
footer .Footer-Text-1 {
    margin: 8px 0;
    font-size: 14px;
    color: #bcbcc9;
}

footer .footer-newsletter h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer .newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

footer .newsletter-form input,
footer .newsletter-form button {
    border-radius: 4px;
    font-size: 14px;
    line-height: 1;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1), transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

footer .newsletter-form input {
    min-width: 240px;
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #4e4f5f;
    background: rgba(255, 255, 255, 0.06);
    color: #f2f2f2;
}

footer .newsletter-form input::placeholder {
    color: #9ea0b2;
}

footer .newsletter-form input:focus {
    outline: none;
    border-color: #2196f3;
    background: rgba(255, 255, 255, 0.16);
}

footer .newsletter-form button {
    padding: 12px 20px;
    border: none;
    background-color: #2196f3;
    color: #ffffff;
    cursor: pointer;
}

footer .newsletter-form button:hover {
    background-color: #1976d2;
    transform: translateY(-1px);
}

footer .newsletter-form button:active {
    background-color: #1565c0;
    transform: translateY(0);
}

footer .footer-social {
    min-width: 250px;
}

footer .footer-social h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
}

footer .social-links {
    display: flex;
    gap: 10px;
}

footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

footer .social-link:hover {
    background-color: #2196f3;
}

footer .social-icon {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

header>.conteiner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-icon {
    width: 16px;
    height: 12px;
    margin-left: -15px;
}

nav {
    max-width: 1600px;
}
.Nav-List {
   display: flex;
  justify-content: space-between;
  align-items: center;
    gap: 30px;
}
.contacts {
  display: flex;
  gap: 50px;
  margin-left: auto;
}
ul {
    list-style: none;
    padding: 0;
}
.Hero {
    background-color: #2F303A;
    padding: 220px 0;
    text-align: center;
    min-width: 1600px;
    background: url(../img/Img\ \(19\).png);
    margin-bottom: 60px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 450px;
  margin: 5% auto;
  padding: 40px 30px;
  border-radius: 8px;
  position: relative;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease-in-out;
}

.modal-content h2 {
  margin: 0 0 25px 0;
  font-size: 20px;
  font-weight: 700;
  color: #212121;
  line-height: 1.4;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 15px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.modal-content textarea {
  height: 120px;
  resize: vertical;
}

.modal-content textarea::placeholder,
.modal-content input::placeholder {
  color: #999;
}

.submit {
  background: #2196f3;
  color: white;
  padding: 14px 32px;
  border: none;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 10px;
}

.submit:hover {
  background: #1976d2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.submit:active {
  background: #1565c0;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  font-size: 28px;
  color: #999;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1), transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.close:hover {
  color: #212121;
  transform: scale(1.05);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  text-align: left;
  font-size: 12px;
  color: #666;
  margin: 15px 0;
  gap: 8px;
}

.checkbox input[type="checkbox"] {
  min-width: 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox a {
  color: #2196f3;
  text-decoration: underline;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox a:hover {
  color: #1976d2;
}



.Title {
    max-width: 696px;
    margin: 0 auto 30px;
    font-size: 44px;
    color: #ffffff;
}
.btn {
   display: grid;
   align-items: center;
   padding: 0 32px;
   min-width: 216px;
   height: 50px;
   background-color: var(--alt-text-color);
   color: #ffffff;
   border-radius: 4px;
   font-size: 16px;
   font-weight: 700;
   cursor: pointer;
   justify-content: center;
   margin: 0 auto;
   transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
   background-color: #1976d2;
   transform: translateY(-2px);
}

.btn:active {
   transform: translateY(0);
}
.Team{
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: #F5F4FA;
    border: 1px solid #e0e0e0;
    padding: 60px 0;
}
.Team-Title {
    margin: 0 auto;
    max-width: 696px;
    text-align: center;
    gap: 10px;
}
.Card{
    text-align: center;
    border: none;
    background-color: #ffffff;
     box-shadow: 5px 5px 5px 0px lightgray;
}
.Team-Img{
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto 15px;
   flex-grow: 1;
}
.Team-List{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.phone {
    color: #757575;
}
.buttons{
    display: flex;
    gap: 8px;
    padding: 94px 0 50px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.button-blue{
    background-color: var(--alt-text-color);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 22px;
    margin: 0;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.button-blue:hover,
.button-blue.active {
    background-color: #1976d2;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}
.button{
    background-color: #F5F4FA;
    color: #212121;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 22px;
    margin: 0;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.button:hover,
.button.active {
    background-color: var(--alt-text-color);
    color: #ffffff;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}
.portfolio-title {
    color: #757575;
}
.portfolio-card {
    position: relative;
    width: 370px;
    height: 404px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.portfolio-img {
    width: 100%;
    height: 294px;
    object-fit: cover;
    display: block;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}
.portfolio-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 294px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 39%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover::after {
    opacity: 1;
}
.portfolio-card .portfolio-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}
.portfolio-card:hover .portfolio-overlay-text {
    opacity: 0;
    visibility: hidden;
}
.portfolio-card:first-child:hover .portfolio-overlay-text {
    opacity: 1;
    visibility: visible;
}
.portfolio-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 294px;
    background: rgba(3, 98, 189, 0.95);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}
.portfolio-card:hover .portfolio-hover-content {
    opacity: 1;
    visibility: visible;
}
.portfolio-hover-content p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}
.portfolio-text {
    margin: 20px 24px 4px;
    font-size: 18px;
    font-weight: 700;
    color: #212121;
    line-height: 2;
    letter-spacing: 0.06em;
}
.portfolio-title {
    margin: 0 24px;
    font-size: 16px;
    font-weight: 400;
    color: #757575;
    line-height: 1.87;
    letter-spacing: 0.03em;
}
.portfolio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 auto;
    padding: 0 15px;
    justify-content: center;
}
  .features{
      max-width: 1170px;
      min-height: 98px;
      padding: 60px 15px;
    margin: 0 auto;
    display: grid;
  }
.feature-list {
   display: flex;
    flex-grow: 1;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}

.feature-item {
   max-width: 270px;
   height: 80px;
   position: relative;
   padding-top: 20px;
}
.feature-item:nth-child(1)::before{
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 270px;
  height: 120px;
  background-size: 70px;
  background-color: #F5F4FA;
  background: url(../img/antenna\ 1.png)
  no-repeat center, linear-gradient(0deg, #F5F4FA);
}
.feature-item:nth-child(2)::before{
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 270px;
  height: 120px;
  background-size: 70px;
  background-color: #F5F4FA;
  background: url(../img/clock\ 1.png)
  no-repeat center, linear-gradient(0deg, #F5F4FA);
}
.feature-item:nth-child(3)::before{
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 270px;
  height: 120px;
  background-size: 70px;
  background-color: #F5F4FA;
  background: url(../img/diagram\ 1.png)
  no-repeat center, linear-gradient(0deg, #F5F4FA);
}
.feature-item:nth-child(4)::before{
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 270px;
  height: 120px;
  background-size: 70px;
  background-color: #F5F4FA;
  background: url(../img/astronaut\ 1.png)
  no-repeat center, linear-gradient(0deg, #F5F4FA);
}
.Servises {
   max-width: 1170px;
    margin: 0 auto;
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 248, 255, 0.95));
    border-radius: 14px;
}
.Servises-Title{
    margin: 0 auto 40px;
    max-width: 696px;
    text-align: center;
    color: #1f2e55;
}
.Servises-List {
   display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0;
    gap: 20px;
}
.Servises-Item {
    flex: 1 1 calc(33.333% - 13.333px);
    min-width: 370px;
    width: 370px;
    height: 294px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.16);
}

.Servises-Item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 35%, rgba(0,0,0,0.6) 100%);
    opacity: 1;
    pointer-events: none;
}


.Servises-text {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 12px;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.52);
    z-index: 2;
}

.Servises-Img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

