/********** Template CSS **********/
:root {
  --background-light: #f8f9fa;
  --background-silver: #e5e7ea;
  --accent-color: #C0C0C0;
  --accent-silver: #c0c0c0;
  --accent-silver-deep: #a6acaf;
  --text-dark: #2c2c2c;
  --text-secondary: #6c757d;
  --accent-hover: #d1d3d4;
}

body {
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* Встановлення ширини для intl-tel-input */
.iti {
  width: 100%;
  position: relative;
}


.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;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.bg-dark {
  background-color: #a0a0a0 !important;
}

.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--text-secondary);
}

.navbar-dark .navbar-brand div {
  color: var(--text-dark) !important;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

/*** Header ***/
.hero-header {
  background: linear-gradient(rgba(44, 44, 44, 0.6), rgba(44, 44, 44, 0.6)),
    url('../img/hero-bg.webp') center center no-repeat;
  background-size: cover;
  padding: 12rem 0;
  margin-top: 75px; /* Adjust for fixed header */
}

.hero-header .display-3 {
  font-weight: 700;
  color: #fff;
}

.hero-header p {
  font-size: 1.15rem;
  color: var(--background-silver);
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.main-title {
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.main-title:hover {
  background: rgba(0, 0, 0, 0.4);

}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #f8f9fa;
}
.booking {
  position: relative;
  margin-top: -100px !important;
  z-index: 1;
}

/*** Footer ***/
.newsletter {
  position: relative;
  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: 0px;
  right: 0;
  width: 100%;
  background: #e4e4e4;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  box-shadow: 0 5px 10px rgb(0, 0, 0);
  z-index: 999;

  @media (max-width: 600px) {
    width: 100%;
  }
}

.cookie-wrapper .show {
  right: 20px;
}

.hidden {
  display: none;
}

header i {
  color: #e9e9e9;
  font-size: 32px;
  text-align: center;
}

header h2 {
  color: #e9e9e9;
  font-weight: 500;
  text-align: center;
}

.data {
  text-align: center;
}

.data p a {
  color: #e9e9e9;
  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 #e9e9e9;
  color: #fff;
  padding: 8px 0;
  background: #757575;
  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: #e9e9e9;
}

#declineBtn {
  background-color: #fff;
  color: #4a4a4a;
}

#declineBtn:hover {
  background-color: #e9e9e9;
  color: #fff;
}

/* footer  */
.footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #3c3333);
}

.footer-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 40px;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-brand a {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease;
}

.footer-brand a:hover {
  color: var(--accent-color);
}

.footer-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-color), #3c3333);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-icon .material-icons {
  font-size: 20px;
  color: white;
}

.footer-section {
  margin-bottom: 32px;
}

.footer-section h5 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 0;
  transition: transform 0.3s ease;
}

.footer-contact-item:hover {
  transform: translateX(4px);
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(189, 34, 34, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.footer-contact-icon .material-icons {
  font-size: 18px;
  color: var(--accent-color);
}

.footer-contact-text {
  color: #e0e0e0;
  line-height: 1.5;
}

.footer-link {
  color: #e0e0e0;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link:hover {
  color: var(--accent-color);
  padding-left: 8px;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-link:hover::before {
  width: 4px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 24px 0;
  margin-top: 40px;
  text-align: center;
  color: #999;
}

.footer-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(189, 159, 34, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(50%, 50%);
}

@media (max-width: 768px) {
  .footer-content {
    padding: 40px 0 30px;
  }

  .footer-brand a {
    font-size: 1.6rem;
    justify-content: center;
  }

  .footer-section {
    text-align: center;
    margin-bottom: 24px;
  }

  .footer-contact-item {
    justify-content: center;
  }
}

/* new styles  */
/* Загальні стилі */
:root {
  --background-light: #f8f9fa;
  --background-silver: #e5e7ea;
  --accent-color: #C0C0C0;
  --accent-silver: #c0c0c0;
  --accent-silver-deep: #a6acaf;
  --text-dark: #2c2c2c;
  --text-secondary: #6c757d;
  --accent-hover: #d1d3d4;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
}

.section-spacing {
  padding: 5rem 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Стилі для головного блоку */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--background-silver);
}

.hero-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 80%;
  color: var(--text-secondary);
}

.content-area {
  background-color: var(--background-light);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-right: -5rem;
}

/* Медіа-запити для адаптивності */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-background {
    width: 100%;
    height: 100%;
    opacity: 0.1;
  }
  
  .content-area {
    margin-right: 0;
    background-color: #fff;
  }
  
  .hero-title {
    font-size: 2.5rem;
    max-width: 100%;
  }
  
  .hero-description {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .content-area {
    padding: 2rem;
  }
}
/* Стилі для блоків "Топ-3 лайфхаки", "Категорії порад", "Швидкі поради", "Статистика/факти" */
.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--background-light);
}

.section-silver {
  background-color: var(--background-silver);
}

.card-custom {
  border: none;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  background-color: #fff;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-img-container {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.category-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.tip-item {
  border-left: 3px solid var(--accent-silver);
  padding: 0.75rem 1.5rem;
  margin-bottom: 1rem;
  background-color: #fff;
  border-radius: 0 8px 8px 0;
}

.fact-card {
  padding: 2rem;
  border-radius: 8px;
  background-color: #fff;
  height: 100%;
  text-align: center;
}

.fact-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-silver-deep);
}
/* Стилі для блоків "Інструменти тижня", "Цитата дня", "Останні статті", "Організація простору", "Ергономіка та здоров'я" */
.tool-card {
  display: flex;
  flex-direction: column;
  height: 100%;
 }
 
 .tool-image {
  border-radius: 8px;
  overflow: hidden;
 }
 
 .quote-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 3rem;
  position: relative;
 }
 
 .quote-text {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  position: relative;
  padding-left: 2rem;
 }
 .quote-author {
  font-weight: 600;
  margin-top: 1.5rem;
  text-align: right;
 }
 
 .quote-role {
  color: var(--text-secondary);
  font-size: 0.9rem;
 }
 
 .article-card {
  margin-bottom: 4rem;
 }
 
 .article-image {
  border-radius: 8px;
  overflow: hidden;
 }
 
 .article-content {
  padding: 0 1rem;
 }
 
 .workspace-section {
  position: relative;
 }
 
 .workspace-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
 }
 
 .tip-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--accent-silver);
 }
 
 .tip-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
 }
 
 .tip-icon {
  color: var(--accent-silver-deep);
  margin-right: 0.75rem;
 }
 /* Стилі для блоків "Топ-10 лайфхаків" та "Популярні категорії" */
.lifehack-card {
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  min-height: 320px;
 }
 
 .lifehack-card:hover {
  transform: translateY(-5px);
 }
 
 .lifehack-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-silver-deep);
  margin-right: 1rem;
 }
 
 .lifehack-title {
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
 }
 
 .featured-lifehack {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.5rem;
 }
 
 .featured-image {
  border-radius: 8px;
  transition: transform 0.5s;
 }
 
 .featured-lifehack:hover .featured-image {
  transform: scale(1.03);
 }
 
 .category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
 }
 
 .category-item:hover {
  background-color: var(--accent-silver);
  color: var(--text-dark);
 }
 
 .category-name {
  font-weight: 600;
  display: flex;
  align-items: center;
 }
 
 .category-icon {
  margin-right: 1rem;
  color: var(--accent-silver-deep);
 }
 
 .category-views {
  font-weight: 700;
  color: var(--text-secondary);
  background-color: var(--background-light);
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  font-size: 0.9rem;
 }
 
 .category-item:hover .category-views {
  background-color: #fff;
 }
 /* Стилі для блоків "Методи планування", "Боротьба з прокрастинацією", "Баланс роботи та життя" */
.method-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
 }
 
 .method-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-silver);
  color: var(--text-dark);
  border-radius: 50%;
  font-weight: 600;
  margin-right: 1.25rem;
  margin-top: 0.25rem;
 }
 
 .method-content h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
 }
 
 .procrastination-section {
  position: relative;
  overflow: hidden;
 }
 
 .procrastination-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  z-index: 1;
 }
 
 .procrastination-content {
  position: relative;
  z-index: 2;
 }
 
 .procrastination-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--accent-silver-deep);
 }
 
 .balance-card {
  display: flex;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }
 
 .balance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  background-color: var(--accent-silver);
  color: var(--text-dark);
  font-size: 2rem;
 }
 
 .balance-content {
  padding: 1.5rem;
  min-height: 300px;
 }
 
 @media (max-width: 767.98px) {
  .balance-card {
    flex-direction: column;
  }
  
  .balance-icon {
    min-width: 100%;
    padding: 1rem;
  }
 }
 /* Стилі для блоків "Контактна інформація" та "Форма заявки" */
.contact-section {
  background-color: var(--background-light);
 }
 
 .info-block {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }
 
 .contact-icon {
  color: var(--accent-silver-deep);
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
 }
 
 .contact-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
 }
 
 .contact-data {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
 }
 
 .contact-data-icon {
  color: var(--accent-silver-deep);
  margin-right: 0.75rem;
  font-size: 1.2rem;
 }
 
 .hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
 }
 
 .hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--background-silver);
 }
 
 .hours-list li:last-child {
  border-bottom: none;
 }
 
 .day {
  font-weight: 600;
 }
 
 .map-container {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  min-height: 350px;
 }
 
 .form-section {
  background-color: var(--background-silver);
 }
 
 .form-block {
  background-color: #fff;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }
 
 .form-control:focus {
  border-color: var(--accent-silver);
  box-shadow: 0 0 0 0.25rem rgba(192, 192, 192, 0.25);
 }
 
 .form-floating > label {
  color: var(--text-secondary);
 }
 
 .btn-submit {
  background-color: var(--accent-silver-deep);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s;
 }
 
 .btn-submit:hover {
  background-color: var(--text-dark);
  color: #fff;
 }
 
 .form-error {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
 }
 
 .form-control.is-invalid ~ .form-error {
  display: block;
 }
 
 .form-control.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
 }
