/********** Template CSS **********/
:root {
  --primary: #e9b603;
  --light: #fedab8;
  --dark: #111a24;
  --bg-color: #F9FAF8;
  --text-color: #4d4d4d;
  --accent-color: #e8dc00;
  --accent-color-2: #151961;
}
  

.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 {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 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;
  width: 0;
  height: 2px;
  bottom: 20px;
  left: 0;
  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 {
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand div {
  position: relative;
  padding: 5px 10px;
}

.navbar-brand div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover div::before {
  opacity: 1;
}

.logo-text {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 10px;
}

.logo-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover .logo-text::after {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
  
  .navbar-dark .navbar-nav .nav-link::after {
    bottom: 5px;
  }
}


/* 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: 40%;
  background: #fff;
  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: #e9b603;
  font-size: 32px;
  text-align: center;
}
header h2 {
  color: #e9b603;
  font-weight: 500;
  text-align: center;
}
.data {
  text-align: center;
}
.data p a {
  color: #e9b603;
  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 #e9b603;
  color: #fff;
  padding: 8px 0;
  background: #e9b603;
  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: #e9b603;
}
#declineBtn {
  background-color: #fff;
  color: #e9b603;
}
#declineBtn:hover {
  background-color: #e9b603;
  color: #fff;
}


/* footer  */


/* Стилі для футера */
.footer-section {
  background: linear-gradient(135deg, #151961 0%, #966e0b 100%);
  color: #fff;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}



.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-3px);
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: #fedab8;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,0.3);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-contact-icon {
  margin-right: 15px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}

.footer-link {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-link::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #fff;
  padding-left: 15px;
  transform: translateX(5px);
}

.footer-link:hover::before {
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Адаптивні стилі */
@media (max-width: 991.98px) {
  .footer-section {
    padding: 60px 0 30px;
  }
  
  .footer-logo {
    font-size: 1.8rem;
  }
  
  .footer-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .footer-section {
    padding: 40px 0 20px;
  }
  
  .footer-logo {
    font-size: 1.6rem;
  }
  
  .footer-title {
    font-size: 1rem;
  }
  
  .footer-contact-item {
    font-size: 0.95rem;
  }
  
  .footer-link {
    font-size: 0.95rem;
  }
}
/* new styles  */
body {
  color: var(--text-color);
  background-color: var(--bg-color);
}

/* Стилі для головного екрану */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dark);
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.65;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3.2rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 580px;
}

.btn-primary-custom {
  background-color: var(--primary);
  border: none;
  color: var(--dark);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary-custom:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(17, 26, 36, 0.9) 0%, rgba(17, 26, 36, 0.7) 50%, rgba(17, 26, 36, 0.4) 100%);
  z-index: 0;
}

/* Адаптивність */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-content {
    text-align: center;
    padding: 0 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 70vh;
  }
}
/* Загальні стилі для секцій */
.section {
  padding: 4rem 0;
}

.section-light {
  background-color: var(--bg-color);
}

.section-dark {
  background-color: var(--dark);
  color: white;
}

.section-accent {
  background-color: var(--light);
}

/* Типографіка */
.heading {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.heading-xl {
  font-size: 2.5rem;
}

.heading-lg {
  font-size: 2rem;
}

.heading-md {
  font-size: 1.5rem;
}

.heading-accent {
  color: var(--primary);
}

.heading-dark {
  color: var(--dark);
}

.heading-light {
  color: white;
}

.subheading {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

/* Карточки */
.feature-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  border-left: 3px solid var(--primary);
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-card .material-icons {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Іконки */
.icon-primary {
  color: var(--primary);
}

.icon-md {
  font-size: 2.5rem;
}

/* Адаптивність */
@media (max-width: 768px) {
  .heading-xl {
    font-size: 2rem;
  }
  
  .heading-lg {
    font-size: 1.75rem;
  }
  
  .subheading {
    font-size: 1rem;
  }
}
/* Додаткові стилі для нових блоків */

/* Карточки статей */
.article-card {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-card .article-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.article-content {
  padding: 1.25rem;
}

.article-date {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
  display: block;
}

.article-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--dark);
}

/* Відгуки */
.testimonial-card {
  padding: 2rem;
  border-radius: 0.5rem;
  background-color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  min-height: 285px;
}
.testimonial-text {
  position: relative;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author .name {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-author .role {
  font-size: 0.85rem;
  color: #777;
}

/* Статистика */
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 0.5rem;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--dark);
}

.overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(249, 250, 248, 0.9), rgba(249, 250, 248, 0.7));
  z-index: 0;
}
/* Додаткові стилі для нових блоків */

/* Блок історії */
.history-block {
  position: relative;
}

.history-img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--primary);
}

.timeline-item:after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 1.5rem;
  width: 1px;
  height: calc(100% + 1rem);
  background-color: #e0e0e0;
}

.timeline-item:last-child:after {
  display: none;
}

.timeline-year {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Команда */
.team-wrapper {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(17, 26, 36, 0.9), rgba(17, 26, 36, 0));
  color: white;
}

/* Історії успіху */
.success-story {
  margin-bottom: 3rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.success-story:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.success-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.success-content {
  padding: 1.5rem;
}

.success-quote {
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--primary);
}

.achievement-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: var(--light);
  color: var(--dark);
}
/* Додаткові стилі для нових блоків */

/* Каталог курсів */
.course-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.course-content {
  padding: 1.25rem;
}

.course-category {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  background-color: var(--light);
  color: var(--dark);
}

.course-duration {
  font-size: 0.8rem;
  color: #777;
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.course-duration .material-icons {
  font-size: 1rem;
  margin-right: 0.25rem;
}

.course-rating {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.course-rating .material-icons {
  color: var(--primary);
  font-size: 1rem;
}

.category-tabs .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.category-tabs .nav-link.active {
  background-color: var(--primary);
  color: white;
}

/* Як проходить навчання */
.learning-steps {
  position: relative;
  z-index: 1;
}

.learning-step {
  display: flex;
  margin-bottom: 1.5rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content {
  padding-top: 0.5rem;
}

/* Поради */
.tip-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tip-number {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  margin-right: 0.75rem;
}

.tip-title {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.tip-img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  height: 180px;
  object-fit: cover;
}

.tip-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #777;
}
/* Стилі для блоку контактної інформації */
.contact-section {
  background-color: var(--bg-color);
}

.contact-info-block {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  height: 100%;
}

.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item .material-icons {
  color: var(--primary);
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.contact-info-text p {
  margin-bottom: 0;
  color: var(--text-color);
}

.social-links {
  display: flex;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--light);
  color: var(--dark);
  border-radius: 50%;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Стилі для форми */
.form-container {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-control {
  height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(233, 182, 3, 0.25);
}

.form-label {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  color: #6c757d;
  transition: all 0.3s ease;
  pointer-events: none;
  background-color: white;
  padding: 0 0.25rem;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.85rem;
  color: var(--primary);
}

.error-message {
  display: block;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.submit-button {
  background-color: var(--primary);
  color: var(--dark);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-button:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Відповідна секція для карти */
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}