:root {
  /* Основні кольори */
  --accent-color: #2196F3;
  --primary-text-color: #212121;
  --secondary-text-color: #757575;
  --light-bg-color: #F5F4FA;
  --white-color: #FFFFFF;
  --black-color: #000000;

  /* Футер */
  --footer-bg-color: #2F303A;
  --footer-text-color: rgba(255, 255, 255, 0.6);
  --footer-icon-bg: rgba(255, 255, 255, 0.1);

  /* Додаткові */
  --hover-color: #188CE8;
}

.nav {
  display: flex !important;
  gap: 40px !important;
  align-items: center !important;
}


.nav a {
  position: relative;
  display: inline-block;
  font-weight: 500;
  color: #212121;
  padding-bottom: 4px;         
  transition: color .2s ease;
}


.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #2196f3;
  border-radius: 2px;

  transform: scaleX(0);         
  transform-origin: center;    
  transition: transform .3s ease;
}


.nav a:hover,
.nav a.active {
  color: #2196f3;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);        
}





.box {
    width: 170px;
    height: 92px;
    border: 1px solid rgba(175, 177, 184, 1);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s ease;
}

.close-circle {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  position: absolute;
  top: 15px;
  right: 15px;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
}


.close-circle::before,
.close-circle::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: black;
  border-radius: 2px;
}

.close-circle::before {
  transform: rotate(45deg);
}

.close-circle::after {
  transform: rotate(-45deg);
}


.nav-menu a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: red;
    bottom: 0;
    left: 0;
    transition: transform  0.49s ease-in-out ;
    transform: scaleX(0);
    border-radius: 2px;
}



.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}






.agree-line {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  color: black !important;
}

.agree-line input[type="checkbox"] {
  appearance: auto !important;
  width: 18px;
  height: 18px;
}

.agree-line span {
  display: inline !important;
}
.backdrop.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-window {
  width: 480px;
  background: #fff;
  border-radius: 10px;
  padding: 30px 40px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.modal-title {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.modal-form label {
  display: block;
  margin-bottom: 15px;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 16px;
}

textarea {
  height: 90px;
  resize: none;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.send-btn {
  width: 100%;
  padding: 12px;
  background: #2196f3;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.send-btn:hover {
  background: #0d83e0;
}




.social-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-list li a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #3a3c44; 
  display: flex;
  justify-content: center;
  align-items: center;

  transition: background 0.3s ease, fill 0.3s ease;
}

.social-list svg {
  width: 20px;
  height: 20px;
  fill: #bfc1c7 !important;
  stroke: #bfc1c7 !important;
  transition: 0.3s;
}

.social-list li a:hover svg {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

.social-list li a:hover {
  background: #2196f3; 
}
svg {
  fill: inherit;
}


.container {
  width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding-top: 94px;
  padding-bottom: 94px;
}


.hedul li {
  display: flex;
  align-items: center;
  gap: 10px;
}


.social-networks {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-networks li {
  display: flex; 
  align-items: center;
}

.social-networks svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hedul li svg use {
  fill: #757575;
  transition: fill 0.3s ease;
}

/* Бекдроп */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 1;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Модальне вікно з анімацією */
.modal-window {
  background: white;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  width: 480px;

  /* ПОЧАТКОВИЙ СТАН — сховане */
  transform: scale(0.7);
  opacity: 0;

  transition:
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Коли модалка відкрита */
.backdrop:not(.is-hidden) .modal-window {
  transform: scale(1);
  opacity: 1;
}


.modal-window {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  width: 450px;
  position: relative;
  animation: popup .25s ease;
}

@keyframes popup {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.modal-title {
  margin-bottom: 20px;
  text-align: center;
}

.modal-form label {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  font-size: 14px;
  gap: 5px;
}

.modal-form input,
.modal-form textarea {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.submit-btn {
  width: 100%;
  background: #2196f3;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background .3s;
}

.submit-btn:hover {
  background: #1976d2;
}


.hedul li:hover svg use {
  fill: #2196F3;
}

.hedul li:hover a {
  color: #2196F3;
}
.header-svg-items {
    width: 16px; 
    height: 12px;
}

.social-networks-wrapper {
  display: flex;
  justify-content: center;
}


.header-menu-a-items:hover,.header-svg-items:hover {
    color:rgba(33, 150, 243, 1) ;
}

.header-svg-items:hover {
    fill: rgba(33, 150, 243, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', sans-serif;
  color: #212121;
  background-color: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

.WhatDoWeDo-section-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.WhatDoWeDo-section-h2 {
    margin: 0 auto;
    font-size: 42px;
    margin-bottom: 20px;
}

.WhatDoWeDo-section-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.WhatDoWeDo-section-img-list-items {
    width: 370px;
    height: 294px;
}

.WhatDoWeDo-p-list-items {
    color:white;
    height: 70px;
    width: 370px;
    bottom: 0px;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
}

.WhatDoWeDo-p-list-items>span {
    color: var(--white-text-color-background-color);
}

.container {
  width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

.regular-customers-list-items:hover svg use {
    fill: #2196F3;    
}

.section {
  padding: 94px 0;
}

/* Header */
.header {
  padding: 24px 0;
  border-bottom: 1px solid #ECECEC;
}

.header-div {
  display: flex;                
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--black-color);
}
.logo span {
  color: var(--accent-color);
}

.custom{
  width:106px; 
  height:60px; 
  fill: rgba(175, 177, 184, 1);
}

.nav-list {
  display: flex;              
  gap: 40px;
}



.nav-link {
  color: var(--primary-text-color);
  font-weight: 500;
  transition: color 0.3s;
}
.nav-link.current,
.nav-link:hover{
  color: var(--accent-color);
}

.contacts {
  display: flex;               
  gap: 40px;
  font-size: 14px;
  color: var(--secondary-text-color);
}

.features-list {
  display: flex;
  justify-content: space-between; 
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list-li {
  flex: 1; 
  text-align: center;
}



.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 10px; 
  flex-wrap: wrap; 
}

.team-member {
  flex: 1 1 250px; 
  max-width: 280px;
  text-align: center;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}


/* Hero */
.hero {
  position: relative;
  background-image: 
    linear-gradient(rgba(47, 48, 58, 0.6), rgba(47, 48, 58, 0.6)), 
    url("photo_2025-09-24_20-27-37.jpg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 200px 0;
  color: #fff;
}

.regular-customers-list-items {
    width: 170px;
    height: 92px;
    border: 1px solid rgba(175, 177, 184, 1);
    border-radius: 5px;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: border-color 0.3s ease;
}


.regular-customers-list-items:hover {
    border-color: #2196F3;
}

.regular-customers-list-items:hover svg,
.regular-customers-list-items:hover svg use {
    fill: #2196F3;
}


.regular-customers {
  border-radius: 5px;
    max-width: 1170px;
    min-height: 184px;
    margin: 100px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
}

.regular-customers-h2 {
    font-size: 36px;
}

.regular-customers-list {
    min-height: 92px;
    display: flex;
    justify-content: space-between;
  border-radius: 5px;
}


.regular-customers-list-items:hover svg use {
    fill: #2196F3; 
}


.customer {
    fill: rgba(175, 177, 184, 1);
    margin: 0 auto;
    display: block;
    border-radius: 5px;
}

.customer:hover {
    fill: rgba(33, 150, 243, 1);
}

.first-customer {
    height: 47px;
}

.second-customer {
    height: 52px;
}

.third-customer {
    height: 41px;
}

.fourth-customer {
    height: 40px;
}

.fifth-customer {
    height: 45px;
}

.sixth-customer {
    height: 44px;
}


.hero-title {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-button {
  background-color: var(--accent-color);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-button:hover {
  background-color: var(--hover-color);
}


.features-list {
  display: flex;  
}
.features-list-li {
  flex: 1;   
  text-align:left;
}
.feature-title {
  text-align:left;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.feature-text {
  text-align:left;
  color: #757575;
  font-size: 14px;
  line-height: 1.7;
}

/* Footer */
.footer {
  background-color: #2F303A;
  padding: 60px 0;
  color: #fff;
}



.footer-logo {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo span {
  color: #2196F3;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
}

.footer-address-item {
  color: #fff;
}

.footer .container {
  max-width: 600px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-right {
  text-align: center;
}
.footer-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #2196f3;
}



.footer-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.footer-social li a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.footer-social li a:hover {
  background: #2196f3;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  transition: fill 0.3s ease;
}

.features-list-li {
  position: relative;
  padding-top: 120px; 
  text-align: center;
}

.features-list-li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
}
.features-list-li:nth-child(1)::before {
  background-image: url("photo_2025-09-14_12-33-03.jpg.svg");
}

.features-list-li:nth-child(2)::before {
  background-image: url("photo_2025-09-14_12-33-07.jpg.svg");
}

.features-list-li:nth-child(3)::before {
  background-image: url("photo_2025-09-14_12-33-11.jpg.svg");
}

.features-list-li:nth-child(4)::before {
  background-image: url("photo_2025-09-14_12-33-14.jpg.svg");
}



/* Кнопки */
button,
.hero-button,
.send-btn,
.submit-btn {
  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);
}

/* Навігація */
.nav a {
  transition:
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a::after {
  transition:
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Хедер: Email + Телефон */
.hedul li a {
  transition:
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hedul li svg use {
  transition:
    fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Клієнти (логотипи) */
.regular-customers-list-items {
  transition:
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.regular-customers-list-items svg use {
  transition:
    fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Команда – соц. мережі */
.social-list li a {
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social-list svg {
  transition:
    fill 250ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Features icons */
.features-list-li::before {
  transition:
    filter 250ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer соц іконки */
.footer-social li a {
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social svg {
  transition:
    fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal close button крестик */
.close-circle,
.close-circle::before,
.close-circle::after {
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overlay появлення */
.backdrop {
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inputs */
.modal-form input,
.modal-form textarea {
  transition:
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-form input:focus,
.modal-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 4px rgba(33,150,243,0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Roboto, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.menu {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 767px) {
  .menu {
    display: none;
  }
}

.menu .link {
  padding: 10px;
  color: inherit;
  text-decoration: none;
}

.menu .link:hover,
.menu .link:focus {
  text-decoration: underline;
}

.menu-toggle {
  min-height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  outline: none;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle:hover,
.menu-toggle:focus {
  background-color: rgba(0, 0, 0, 0.1);
}

.menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 32px;
  background-color: #3f51b5;
  z-index: 999;

  transform: translateX(100%);
  transition: transform 250ms ease-in-out;
}

.menu-container.is-open {
  transform: translateX(0);
}

.menu-container .menu-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff;
}

.mobile-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-menu .link {
  display: block;
  padding: 10px;
  color: #fff;
  text-decoration: none;
}


.page-header {
  box-shadow: 0px 2px 4px -1px rgb(0 0 0 / 20%),
    0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);
}

.page-header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.container {
  min-width: 320px;
  max-width: 1170px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
