/*       SCROLL       */

    .hiddenScrollBtn {
        display: none; /* Зміна на display: none для приховування кнопок */
    }

    .scroll-buttons {
        position: fixed; /* Закріплюємо кнопки в правому нижньому куті */
        bottom: 20px; /* Відстань віднизу */
        right: 20px; /* Відстань відправі */
        display: flex;
        flex-direction: column; /* Вертикальне розташування кнопок */
        gap: 10px; /* Відстань між кнопками */
        z-index: 1000; /* Залишає кнопки поверх інших елементів */
    }

    .scroll-button {
        width: 50px; /* Ширина кнопок */
        height: 50px; /* Висота кнопок */
        border-radius: 50%; /* Кругла форма кнопок */
        background-color: rgba(255, 255, 255, 0); /* Прозорий фон за замовчуванням */
        color: #007bff; /* Колір іконок */
        border: 2px solid rgba(255, 255, 255, 0); /* Прозора рамка */
        font-size: 36px; /* Розмір іконок */
        cursor: pointer; /* Вказівник для курсора */
        transition: background-color 0.3s, border-color 0.3s; /* Плавний перехід для кольору фону та рамки */
        display: flex; /* Вирівнюємо вміст по центру */
        justify-content: center; /* Вертикальне центрування */
        align-items: center; /* Горизонтальне центрування */
    }

    .scroll-button:hover i {
        color: #003975;
    }

    @media only screen and (max-width: 600px) {
        #upButton,
        #downButton {
            display: none;
        }
    }
    
/*       GLOBAL       */

    body {
        font-family: 'Arial', sans-serif;    }

    h1 {
        font-family: 'Roboto', sans-serif;
    }

    a {
        transition: all 0.3s ease;
    }

    a:hover {
        text-decoration: none;
    }

    .list-about-company {
        list-style-type: none; /* Сховати стандартні маркери */
        counter-reset: list-counter; /* Ініціалізувати лічильник */
        padding-left: 0; /* Скинути відступи зліва */
    }

    .list-about-company li {
        position: relative; /* Встановлюємо позицію для псевдоелемента */
        margin-bottom: 0.5em; /* Відстань між пунктами списку */
        padding-left: 1.5em; /* Відступ для тексту */
    }

    .list-about-company li::before {
        content: ''; /* Псевдоелемент не містить тексту */
        position: absolute; /* Позиціюємо відносно li */
        left: 0; /* Відступ зліва */
        top: 0.5em; /* Вертикальний відступ */
        width: 0.5em; /* Ширина крапки */
        height: 0.5em; /* Висота крапки */
        background-color: black; /* Колір крапки */
        border-radius: 50%; /* Кругла форма */
    }

  /*   SCROLL   */

    ::-webkit-scrollbar {
        width: 6px; /* Ширина скроллбара */
    }

    ::-webkit-scrollbar-thumb {
        background-color: #bfbfbf; /* Основний колір скроллбара */
        border-radius: 50px; /* Закруглені кути */
        border: 3px solid transparent; /* Поля для кращого вигляду */
        background-clip: padding-box; /* Забезпечує візуальний ефект */
    }

    /* Ховер-ефект для скроллбара */
    ::-webkit-scrollbar-thumb:hover {
        background-color: #fff; /* Колір при наведенні */
    }

    /* Стиль для скроллбара при активності */
    ::-webkit-scrollbar-thumb:active {
        background-color: #bfbfbf; /* Колір при активному використанні */
    }

    /* Стиль для скроллбара в контексті */
    ::-webkit-scrollbar-track {
        background: #bfbfbf; /* Колір фону треку */
        border-radius: 6px; /* Закруглені кути */
    }

    /* Ховер-ефект для треку */
    ::-webkit-scrollbar-track:hover {
        background: #bfbfbf; /* Темніший фон при наведенні */
    }



/*       HERO       */

    #hero {
      transform: translateY(-140px);
    }
    .animate-dynamic-image {
        animation: scale-up 15s infinite alternate;
    }

    @keyframes scale-up {
        0% {
            transform: scale(1);
        }
        100% {
            transform: scale(1.05);
        }
    }

    .basic-banner {
        width: 100%;
    }

    .basic-banner img {
        width: 100%;
        height: 18rem; /* Висота зображення тепер 9rem */
        object-fit: cover;
    }

    /* Адаптація тексту */
    .basic-banner h1 {
        font-size: 1.5rem;
    }

    .learn-more {
      position: relative;
      display: inline-block;
      cursor: pointer;
      outline: none;
      border: 0;
      vertical-align: middle;
      text-decoration: none;
      background: transparent;
      padding: 0;
      font-size: inherit;
      font-family: inherit;
    }

    .learn-more.learn-more {
      width: 12rem;
      height: auto;
    }

    .learn-more.learn-more .learn-more-bg {
      transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
      box-shadow: 0 0 5px 1px white;
      position: relative;
      display: block;
      margin: 0;
      width: 3rem;
      height: 3rem;
      background: #282936;
      border-radius: 1.625rem;
    }

    .learn-more.learn-more .learn-more-bg .learn-more-icon {
      transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
      position: absolute;
      top: 0;
      bottom: 0;
      margin: auto;
      background: #fff;
    }

    .learn-more.learn-more .learn-more-bg .learn-more-icon.learn-more-arrow {
      transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
      left: 0.625rem;
      width: 1.125rem;
      height: 0.125rem;
      background: none;
    }

    .learn-more.learn-more .learn-more-bg .learn-more-icon.learn-more-arrow::before {
      position: absolute;
      content: "";
      top: -0.29rem;
      right: 0.0625rem;
      width: 0.625rem;
      height: 0.625rem;
      border-top: 0.125rem solid #fff;
      border-right: 0.125rem solid #fff;
      transform: rotate(45deg);
    }

    .learn-more.learn-more .learn-more-text {
      transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 0.75rem 0;
      margin: 0 0 0 1.85rem;
      color: #fff;
      font-weight: 700;
      line-height: 1.6;
      text-align: center;
      text-transform: uppercase;
    }

    .learn-more:hover .learn-more-bg {
      width: 100%;
      box-shadow: 0 0 10px 2px white;
    }

    .learn-more:hover .learn-more-text {
      transform: translate(-1.7rem, 0);
    }

    .learn-more:hover .learn-more-bg .learn-more-icon.learn-more-arrow {
      background: #fff;
      transform: translate(8.7rem, 0);
    }

    .learn-more:active .learn-more-bg .learn-more-icon.learn-more-arrow {
      transform: translate(9.5rem, 0);
      transition: all 0.3s;
    }

    .learn-more:active .learn-more-bg {
      transform: scale(0.9);
      transition: all 0.3s;
      box-shadow: 0 0 5px 0.5px white;
    }

    .learn-more:hover .learn-more-text {
      color: #fff;
    }

    .learn-more:active .learn-more-text {
      color: rgba(255, 255, 255, 0.459);
    }



/*       ICON       */

    .social-networks {
      display: flex;
    }

    .social-network {
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition-duration: 0.4s;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      margin-left: 10px;
    }

    .instagram {
      background: #f09433;
      background: -moz-linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
      );
      background: -webkit-linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
      );
      background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
      );
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
    }

    .youtube {
      background-color: #ff0000;
    }

    .twitter {
      background-color: #1da1f2;
    }

    .linkedin {
        background-color: #0274b3;
    }

    .tiktok {
        background-color: #000;
    }

    .facebook {
        background-color: #1877f2;
    }

    .social-network:hover {
      width: 110px;
      transition-duration: 0.4s;
      border-radius: 30px;
    }

    .social-network:hover .text {
      opacity: 1;
      transition-duration: 0.4s;
    }

    .social-network:hover .svgIcon {
      opacity: 0;
      transition-duration: 0.3s;
    }

    .text {
      position: absolute;
      color: rgb(255, 255, 255);
      width: 120px;
      font-weight: 600;
      opacity: 0;
      transition-duration: 0.4s;
    }

    .svgIcon {
      transition-duration: 0.3s;
    }

    .svgIcon path {
      fill: white;
    }



/*       SECTION       */


    #about-partner,
    #testimonials {
        padding-top: 90px;
    }

    #about-company {
        padding-top: 90px;
    }

    #about-company-header  {
        scroll-margin-top: 90px;
    }

    #about-partner-header,
    #testimonials-header {
        scroll-margin-top: 90px;
    }



/*       CONTACT       */
    .contact-email {
      width: fit-content;
      height: 45px;
      border-radius: 20px;
      padding: 5px;
      box-sizing: content-box;
      display: flex;
      align-items: center;
      background-color: #292524;
    }

    .iconEmail {
      width: 30px;
      fill: rgb(255, 255, 255);
      margin-left: 8px;
      transition: all 0.3s;
    }

    .email-input {
      max-width: 1790px;
      height: 100%;
      border: none;
      outline: none;
      padding-left: 15px;
      background-color: #292524;
      color: white;
      font-size: 1em;
    }

    .email-input:-webkit-autofill {
      -webkit-box-shadow: 0 0 0px 1000px #292524 inset;
      -webkit-text-fill-color: #ffffff;
    }

    @keyframes jello-vertical {
      0% {
        transform: scale3d(1, 1, 1);
      }
      30% {
        transform: scale3d(0.75, 1.25, 1);
      }
      40% {
        transform: scale3d(1.25, 0.75, 1);
      }
      50% {
        transform: scale3d(0.85, 1.15, 1);
      }
      65% {
        transform: scale3d(1.05, 0.95, 1);
      }
      75% {
        transform: scale3d(0.95, 1.05, 1);
      }
      100% {
        transform: scale3d(1, 1, 1);
      }
    }

    .copy-email {
      /* button */
      --button-bg: #353434;
      --button-hover-bg: #464646;
      --button-text-color: #CCCCCC;
      --button-hover-text-color: #8bb9fe;
      --button-border-radius: 10px;
      --button-diameter: 36px;
      --button-outline-width: 1px;
      --button-outline-color: rgb(141, 141, 141);
      /* tooltip */
      --tooltip-bg: #f4f3f3;
      --toolptip-border-radius: 4px;
      --tooltip-font-family: Menlo, Roboto Mono, monospace;
      /* 👆 this field should not be empty */
      --tooltip-font-size: 12px;
      /* 👆 this field should not be empty */
      --tootip-text-color: rgb(50, 50, 50);
      --tooltip-padding-x: 7px;
      --tooltip-padding-y: 7px;
      --tooltip-offset: 8px;
      /* --tooltip-transition-duration: 0.3s; */
      /* 👆 if you need a transition, 
      just remove the comment,
      but I didn't like the transition :| */
    }

    .copy-email {
      box-sizing: border-box;
      width: var(--button-diameter);
      height: var(--button-diameter);
      border-radius: var(--button-border-radius);
      background-color: var(--button-bg);
      color: var(--button-text-color);
      border: none;
      cursor: pointer;
      position: relative;
      outline: none;
    }

    .tooltip {
      position: absolute;
      opacity: 0;
      visibility: 0;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      font: var(--tooltip-font-size) var(--tooltip-font-family);
      color: var(--tootip-text-color);
      background: var(--tooltip-bg);
      padding: var(--tooltip-padding-y) var(--tooltip-padding-x);
      border-radius: var(--toolptip-border-radius);
      pointer-events: none;
      transition: all var(--tooltip-transition-duration) cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .tooltip::before {
      content: attr(data-text-initial);
    }

    .tooltip::after {
      content: "";
      position: absolute;
      bottom: calc(var(--tooltip-padding-y) / 2 * -1);
      width: var(--tooltip-padding-y);
      height: var(--tooltip-padding-y);
      background: inherit;
      left: 50%;
      transform: translateX(-50%) rotate(45deg);
      z-index: -999;
      pointer-events: none;
    }

    .copy-email svg {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .checkmark {
      display: none;
    }

    /* actions */

    .copy-email:hover .tooltip,
    .copy-email:focus:not(:focus-visible) .tooltip {
      opacity: 1;
      visibility: visible;
      top: calc((100% + var(--tooltip-offset)) * -1);
    }

    .copy-email:focus:not(:focus-visible) .tooltip::before {
      content: attr(data-text-end);
    }

    .copy-email:focus:not(:focus-visible) .clipboard {
      display: none;
    }

    .copy-email:focus:not(:focus-visible) .checkmark {
      display: block;
    }

    .copy-email:hover,
    .copy-email:focus {
      background-color: var(--button-hover-bg);
    }

    .copy-email:active {
      outline: var(--button-outline-width) solid var(--button-outline-color);
    }

    .copy-email:hover svg {
      color: var(--button-hover-text-color);
    }



/*       NAV-BUTTON-SCROLL       */

    .nav-about-container {
        position: relative;
        display: block;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .nav-about-btn {
        background-color: #3B82F6; /* Синій фон для кнопки */
        color: #ffffff; /* Білий текст для кнопки */
        padding: 10px 15px;
        font-size: 15px;
        font-weight: bold;
        border: 2px solid transparent;
        border-radius: 15px;
        cursor: pointer;
    }

    .about-dropdown-content {
        display: none;
        font-size: 13px;
        position: absolute;
        z-index: 1;
        min-width: 200px;
        background-color: #1E40AF; /* Темно-синій фон для випадаючого меню */
        border: 2px solid #3B82F6; /* Синя рамка */
        border-radius: 0px 15px 15px 15px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    }

    .about-dropdown-content a {
        color: #fff; /* Синій колір тексту для посилань */
        padding: 8px 10px;
        text-decoration: none;
        display: block;
        transition: 0.1s;
    }

    .about-dropdown-content a:hover {
        background-color: #3B82F6; /* Синій фон при наведенні */
        color: #ffffff; /* Білий текст при наведенні */
    }

    .about-dropdown-content a:focus {
        background-color: #1E40AF; /* Темно-синій фон при фокусі */
        color: #ffffff; /* Білий текст при фокусі */
    }

    .about-dropdown-content #start:hover {
        border-radius: 0px 13px 0px 0px;
    }

    .about-dropdown-content #bottom:hover {
        border-radius: 0px 0px 13px 13px;
    }

    .nav-about-container:hover .nav-about-btn {
        border-radius: 15px 15px 0px 0px; /* Заокруглені краї при наведенні */
    }

    .nav-about-container:hover .about-dropdown-content {
        display: block; /* Показуємо випадаюче меню при наведенні */
    }