/**

Mini Profile Template

https://templatemo.com/tm-530-mini-profile


Color Codes
------------
brown: #986665;
green: #98cb00;
orange: #cc6733;
blue: #3398cc;
dark-gray: #676767;
light-gray: #999999;
text-gray: #6b6b6b;

*/

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #6b6b6b;
  overflow-x: hidden;
}

a,
button {
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
}

.container-fluid {
  max-width: 1200px;
}

.tm-bg-black-transparent {
  background-color: rgba(0, 0, 0, 0.5);
}

.tm-bg-white-transparent {
  background-color: rgba(255, 255, 255, 0.8);
}

.tm-bg-green {
  background-color: #98cb00;
}

.tm-bg-orange {
  background-color: #cc6733;
}

.tm-bg-blue {
  background-color: #3398cc;
}

.tm-bg-dark-gray {
  background-color: #676767;
}

/*
  Welcome section
*/
#tmWelcome {
  position: relative;
  display: flex;
  align-items: center;
}

.tm-brand-container-outer {
  margin-top: -400px;
}

.tm-brand-container-inner {
  max-width: 600px;
  width: 100%;
}

.tm-brand-container {
  padding: 75px 110px;
}

.tm-brand-name {
  font-size: 3.0rem;
}

.tm-brand-description {
  font-size: 1.4rem;
}

.parallax-window {
  min-height: 1100px;
  background: transparent;
}

#tmContact {
  min-height: 1197px;
}

.tm-welcome-container {
  min-height: 300px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: stretch;
}

.tm-welcome-title {
  margin-bottom: 20px;
}

.tm-welcome-left {
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 50px;
}

.tm-welcome-left-col {
  display: flex;
  align-items: center;
}

.tm-welcome-right {
  color: white;
  background-color: #986665;
  padding: 10px 13px 10px;
  /* Автоматична висота залежно від контенту */
  height: auto;
  /* Відступ від верхньої частини батьківського контейнера */
  top: 0;
  /* Фіксуємо блок до правого краю */
  right: 0;
  /* Фіксована ширина, можна змінити за потреби */
  width: 40%;
  /* Мінімальна ширина для зручності на малих екранах */
  min-width: 400px;
}

.tm-welcome-icon {
  margin-bottom: 20px;
  /* Піднімаємо іконку, зменшуючи відступ */
  display: block;
  text-align: center;
}

.social-links {
  margin: 10px 0;
  /* Відступи навколо секції контактів */
  text-align: center;
}

.social-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links ul li {
  margin-bottom: 10px;
  /* Відстань між рядками */
  color: #fff;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin: 0 10px;
  /* Відстань між іконками */
  color: #fff;
  font-size: 20px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ff6600;
  /* Зміна кольору при наведенні */
}

.justify-text {
  /* Вирівнюємо текст по лівому і правому краю */
  text-align: justify;
  /* Встановлюємо відступ на початку абзацу */
  text-indent: 20px;
  /* Додаємо нижній відступ між абзацами (опціонально) */
  margin-bottom: 20px;
  /* Встановлюємо оптимальний міжрядковий інтервал */
  line-height: 1.6;
}

/*
  Portfolio section
*/

#tmPortfolio {
  padding-top: 80px;
}

.tm-portfolio-item {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
}

.tm-portfolio-name {
  width: 330px;
  height: 220px;
  font-size: 2rem;
  padding: 50px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tm-portfolio-description {
  width: calc(100% - 330px);
  padding: 20px 45px;
}

.tm-portfolio-description h3 {
  margin-bottom: 20px;
}

.tm-text-green {
  color: #98cb00;
}

.tm-text-orange {
  color: #cc6733;
}

.tm-text-blue {
  color: #3398cc;
}

.tm-text-dark-gray {
  color: #676767;
}

.tm-title-small {
  font-size: 1.3rem;
}

p {
  line-height: 1.8;
}

/*
  Contact section
*/

#tmContact {
  padding-top: 95px;
}

.tm-contact-item {
  width: 33.3334%;
  max-width: 345px;
  height: auto;
  min-height: 420px;
  margin-right: 35px;
  background-color: white;
  padding: 54px 34px 44px;
}

.tm-contact-item:last-child {
  margin-right: 0;
}

.tm-contact-items-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 130px;
}

.tm-contact-item-icon {
  margin-bottom: 45px;
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pricing {
  padding: 100px 0;
}

.pricing-item {
  background: rgba(0, 0, 0, 0.8);
  /* Прозорий чорний фон */
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.pricing-header {
  padding: 15px;
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.pricing-body {
  padding: 20px;
}

.pricing-body h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.pricing-body ul {
  list-style: none;
  padding: 0;
}

.pricing-body ul li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.custom-divider {
  width: 100px;
  height: 3px;
  background: #ffc107;
  margin: 20px auto;
}

.text-white {
  color: #fff !important;
}

.tm-bg-green {
  background-color: #28a745;
}

.tm-bg-orange {
  background-color: #ff7f00;
}

.tm-bg-blue {
  background-color: #007bff;
}

.tm-copyright-text {
  margin-bottom: 30px;
}

.tm-link {
  color: #676767;
}

@media (max-width: 1054px) {
  .tm-contact-item-icon {
    margin-bottom: 15px;
  }
}

@media (max-width: 991px) {
  .tm-contact-items-container {
    flex-direction: column;
  }

  .tm-contact-item {
    width: auto;
    max-width: 680px;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .tm-contact-item:last-child {
    margin-right: auto;
    margin-bottom: 0;
  }

  #tmContactForm {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 730px) {
  .tm-portfolio-item {
    flex-direction: column;
  }

  .tm-portfolio-name {
    justify-content: center;
  }

  .tm-portfolio-name,
  .tm-portfolio-description {
    width: 100%;
  }

  .tm-portfolio-description {
    padding: 20px 30px;
  }
}

@media (max-width: 572px) {
  .tm-brand-container {
    padding: 45px;
  }
}

@media (max-width: 443px) {
  .tm-brand-name {
    font-size: 3rem;
  }

  .tm-brand-container {
    padding: 25px;
  }
}