/********** Template CSS **********/
:root {
    --primary: #615743;
    --light: #f1f8ff;
    --dark: #313131;
  --bg-color: #f6f6f6;
  --text-color: #666565;
  --accent-color: #615743;
  --accent-dark: #313128;
  --code-bg: #171c22;
  --code-green: #413e2f;
  --code-line: rgba(98, 199, 140, 0.1);
  --footer-bg: #171c22;
  --footer-text: #e0e0e0;
  --footer-link: #a0a0a0;
  --footer-link-hover: #ffffff;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ffffff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark {
    background-color: var(--dark) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 15px 0;
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-brand p {
    color: #ffffff;
    transition: all 0.3s ease;
}

.navbar-brand:hover p {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-dark {
        padding: 0.5rem 0;
    }
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@media (max-width: 700px) {
    .cookie-wrapper {
        width: 100%;
    }
}

.cookie-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    border: 1px solid rgba(69, 169, 178, 0.2);
}

.cookie-wrapper.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-wrapper i {
    display: block;
    text-align: center;
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.cookie-wrapper h2 {
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.cookie-wrapper .data {
    margin-bottom: 20px;
}

.cookie-wrapper .data p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-wrapper .data p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.cookie-wrapper .data p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.cookie-wrapper .data p a:hover::after {
    width: 100%;
}

.cookie-wrapper .buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-wrapper .cookie-button {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-wrapper #acceptBtn {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(69, 169, 178, 0.3);
}

.cookie-wrapper #acceptBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 169, 178, 0.4);
}

.cookie-wrapper #declineBtn {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.cookie-wrapper #declineBtn:hover {
    background-color: var(--dark);
    color: white;
    transform: translateY(-2px);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 600px) {
    .cookie-wrapper {
        width: 90%;
        right: 5%;
        bottom: 20px;
        padding: 20px;
    }

    .cookie-wrapper .buttons {
        flex-direction: column;
    }

    .cookie-wrapper .cookie-button {
        width: 100%;
    }
}

.hidden {
    display: none;
}

header i {
    color: #615743;
    font-size: 32px;
    text-align: center;
}

header h2 {
    color: #615743;
    font-weight: 500;
    text-align: center;
}

.data {
    text-align: center;
}

.data p a {
    color: #615743;
    text-decoration: none;
    text-align: center !important;
}

.data p a:hover {
    text-decoration: underline;
}

.buttons {
    padding: 20px 0px;
    text-align: center;
}

.buttons .cookie-button {
    border: 2px solid #615743;
    color: #fff;
    padding: 8px 0;
    background: #615743;
    cursor: pointer;
    width: calc(100% / 2 - 10px);
    transition: all 0.5s ease;
    max-width: 150px;
    border-radius: 0;
}

.buttons #acceptBtn:hover {
    background-color: transparent;
    color: #615743;
}

#declineBtn {
    background-color: #fff;
    color: #615743;
}

#declineBtn:hover {
    background-color: #615743;
    color: #fff;
}

/* Footer Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    color: white;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
}

@media (max-width: 578px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .burger {
        display: flex;
    }

    .nav-active {
        display: flex;
    }
}

.text-primary-blue {
    color: #615743;
}

.bg-light-gray {
    background-color: #F5F6F7;
}


.text-primary-blue {
    color: #615743;
}

.btn-primary-custom {
    background-color: #1E3A5F;
    border: none;
    border-radius: 0;
    position: relative;
    color: #fff;
    padding: 0.75rem 1.5rem;
}

.btn-primary-custom::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background-color: #edfcea;
    transition: width .3s ease;
}

/* Стилі для секції "О нас" (головний екран) */
#contact-hero {
  position: relative;
  background-color: var(--accent-dark);
  overflow: hidden;
 }
 
 #contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-dark) 0%, var(--accent-color) 100%);
  opacity: 0.95;
  z-index: 1;
 }
 
 .contact-hero-wrapper {
  position: relative;
  z-index: 2;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
 }
 
 .contact-hero-content {
  padding: 5rem 1rem;
 }
 
 #contact-hero h1 {
  color: white;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
 }

 /* Адаптивність */
 @media (max-width: 767.98px) {
  #contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-hero-content {
    padding: 4rem 1rem;
  }
 }
 
 @media (max-width: 575.98px) {
  #contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-hero-content {
    padding: 3rem 1rem;
  }
  
  #contact-hero h1::after {
    width: 60px;
  }
 }

 /* Футер */
 .footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--accent-color), var(--code-green));
  z-index: 1;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: 
      linear-gradient(var(--code-green) 1px, transparent 1px),
      linear-gradient(90deg, var(--code-green) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
}

.footer-brand {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-brand a {
  text-decoration: none;
}

.footer-brand p {
  font-size: 2rem;
  font-weight: 700;
  color: var(--footer-text);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.footer-brand p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--code-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.footer-brand:hover p::after {
  transform: scaleX(1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-link {
  color: var(--footer-link);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
  position: relative;
}

.footer-link::before {
  content: ">";
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(-5px);
}

.footer-link:hover {
  color: var(--footer-link-hover);
  transform: translateX(10px);
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--footer-link);
}

.footer-contact-item i {
  margin-right: 0.5rem;
  color: var(--code-green);
}

.footer-legal {
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

.footer-code-decoration {
  position: absolute;
  font-family: monospace;
  color: var(--footer-text);
  opacity: 0.05;
  z-index: 0;
  font-size: 0.8rem;
}

.footer-code-decoration.bottom-right {
  bottom: 2rem;
  right: 2rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  color: var(--footer-link);
  font-size: 0.9rem;
}

.copyright a {
  color: var(--code-green);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .footer-brand, .footer-links, .footer-contact {
      text-align: center;
  }
  
  .footer-links {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
  }
  
  .footer-link {
      margin: 0 0.5rem;
  }
  
  .footer-contact-item {
      justify-content: center;
  }
  
  .footer-legal {
      text-align: center;
  }
  
  .footer-code-decoration {
      display: none;
  }
}


/* new styles  */
 /* Стилі для блоку "Контактная информация" */
.contact-section {
  background-color: var(--bg-color);
 }
 
 .contact-info-container {
  background-color: white;
  border-radius: 5px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
 }
 
 .contact-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
 }
 
 .contact-details {
  display: inline-block;
  text-align: left;
  margin-top: 1rem;
 }
 
 .contact-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
 }
 
 .contact-icon {
  color: var(--accent-color);
  margin-right: 1rem;
  flex-shrink: 0;
 }
 
 .contact-text {
  font-size: 1.05rem;
 }
 
 .contact-text strong {
  color: var(--accent-dark);
  font-weight: 600;
 }
 
 /* Стилі для блоку "Форма обратной связи" */
 .feedback-section {
  background-color: white;
 }
 
 .feedback-container {
  background-color: var(--bg-color);
  border-radius: 5px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
 }
 
 .feedback-title {
  font-size: 2rem;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  text-align: center;
 }
 
 .feedback-subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
 }
 
 .form-floating {
  margin-bottom: 1.5rem;
 }
 
 .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(97, 87, 67, 0.25);
 }
 
 .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
 }
 
 .btn-primary:hover,
 .btn-primary:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
 }
 
 /* Стилі для блоку "Время ответа и расположение" */
 .schedule-section {
  background-color: var(--bg-color);
 }
 
 .schedule-container {
  background-color: white;
  border-radius: 5px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
 }
 
 .schedule-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
 }
 
 .schedule-details {
  margin-bottom: 2rem;
 }
 
 .schedule-item {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
 }
 
 .schedule-icon {
  color: var(--accent-color);
  margin-right: 1rem;
  flex-shrink: 0;
 }
 
 .schedule-info {
  font-size: 1.05rem;
 }
 
 .schedule-info strong {
  color: var(--accent-dark);
  font-weight: 600;
 }
 
 .map-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  border-radius: 5px;
 }
 
 .map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
 }
 
 /* Медіа-запити для адаптивності */
 @media (max-width: 767.98px) {
  .contact-info-container,
  .feedback-container,
  .schedule-container {
    padding: 2rem;
  }
  
  .feedback-title {
    font-size: 1.75rem;
  }
 }
 
/* new styles  */
/* Загальні стилі */
:root {
  --primary: #615743;
  --light: #f1f8ff;
  --dark: #313131;
  --bg-color: #f6f6f6;
  --text-color: #666565;
  --accent-color: #615743;
  --accent-dark: #313128;
  --code-bg: #171c22;
  --code-green: #413e2f;
  --code-line: rgba(98, 199, 140, 0.1);
  --footer-bg: #171c22;
  --footer-text: #e0e0e0;
  --footer-link: #a0a0a0;
  --footer-link-hover: #ffffff;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* Повторно використовувані класи */
.text-primary-custom {
  color: var(--primary);
}

.bg-primary-custom {
  background-color: var(--primary);
}

.btn-primary-custom {
  background-color: var(--primary);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-padding {
  padding: 80px 0;
}

/* Стилі для головного екрану */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
}

/* Медіа запити для адаптивності */
@media (max-width: 768px) {
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-subtitle {
      font-size: 1.3rem;
  }
  
  .hero-content {
      padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
      font-size: 2rem;
  }
  
  .hero-subtitle {
      font-size: 1.1rem;
  }
  
  .hero-description {
      font-size: 1rem;
  }
  
  .hero-content {
      padding: 1rem;
  }
}
/* Стилі для нових блоків */
.section-title {
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.feature-item {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.advantages-section {
  position: relative;
  background-color: rgba(97, 87, 67, 0.05);
}

.advantages-bg {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 30%;
  z-index: 0;
  opacity: 0.2;
}

.advantages-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advantage-card {
  background-color: white;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.category-item {
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.category-item:hover {
  background-color: rgba(97, 87, 67, 0.05);
  transform: translateX(5px);
}
/* Стилі для нових блоків */
.tips-list {
  counter-reset: tip-counter;
}

.tip-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.tip-item::before {
  counter-increment: tip-counter;
  content: counter(tip-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.project-card {
  border: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-img {
  height: 220px;
  object-fit: cover;
}

.tools-section {
  background-color: var(--bg-color);
}
/* Стилі для нових блоків */
.about-detailed {
  background-color: var(--bg-color);
  position: relative;
}

.about-img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.principles-list {
  border-left: 3px solid var(--primary);
}

.principle-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.principle-item:last-child {
  margin-bottom: 0;
}

.principle-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 8px;
  width: 9px;
  height: 9px;
  background-color: var(--primary);
  border-radius: 50%;
}

.principle-icon {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.team-list {
  list-style: none;
  padding-left: 0;
}

.team-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.team-item:hover {
  background-color: rgba(97, 87, 67, 0.05);
}

.team-icon {
  color: var(--primary);
  margin-right: 1rem;
  font-size: 1.5rem;
}
/* Стилі для нових блоків */
.project-simple-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.project-simple-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-simple-img {
  height: 180px;
  object-fit: cover;
}

.project-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.project-info-item {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-color);
}

.project-info-icon {
  font-size: 1.1rem;
  margin-right: 0.25rem;
  color: var(--primary);
}

.skills-section {
  background-color: var(--bg-color);
}

.errors-list {
  counter-reset: error-counter;
}

.error-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(97, 87, 67, 0.1);
  padding-bottom: 1rem;
}

.error-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.error-item::before {
  counter-increment: error-counter;
  content: counter(error-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
/* Стилі для нових блоків */
.materials-section {
  background-color: var(--bg-color);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.material-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  height: 100%;
  object-fit: cover;
}

.tools-list {
  list-style: none;
  padding-left: 0;
}

.tool-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(97, 87, 67, 0.1);
}

.tool-item:last-child {
  border-bottom: none;
}

.tool-icon {
  color: var(--primary);
  margin-right: 1rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tool-content {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .materials-grid {
      grid-template-columns: 1fr;
  }
}
/* Стилі для контактного блоку */
.contact-section {
  background-color: var(--bg-color);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  color: var(--primary);
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-details {
  flex-grow: 1;
}

.contact-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.hours-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.hours-item:last-child {
  margin-bottom: 0;
}

.hours-day {
  font-weight: 500;
}

.map-container {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-container {
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(97, 87, 67, 0.25);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}
