*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  --color: rgba(30, 30, 30);
  --bgColor: rgba(245, 245, 245);
  padding: 0 !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.navbar-expand-lg {
  display: flex;
  flex-direction: row-reverse;
}

.navbar-nav .dropdown-toggle:focus {
  box-shadow: none;
}

.navbar-nav .dropdown:hover>.dropdown-menu {
  display: block;
  margin-top: 0;
}

.timeline-step {
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: 50%;
  padding: 30px;
  width: 140px;
  height: 140px;
  margin: auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* banner */
.banner {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url("/placeholder.svg?height=600&width=1200") center / cover;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
}

.banner-content {
  animation: fadeInUp 1s ease-out;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url("images/banner.jpg") no-repeat center center / cover;
  opacity: 0.5;
  z-index: 0;
}

.banner .container {
  position: relative;
  z-index: 1;
}

.offcanvas {
  max-width: 70% !important;
}

/* steps   */
.timeline-arrow {
  position: relative;
}

.timeline-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 0;
  height: 0;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 30px solid #f0f0f0;
  transform: translateY(-50%);
}

.timeline-color-1::after {
  border-left-color: #ff5722;
}

.timeline-color-2::after {
  border-left-color: #009688;
}

.timeline-color-3::after {
  border-left-color: #455a64;
}

.timeline-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.procedure-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  counter-reset: stepnr;
  margin: 0;
  padding: 0;
}

.procedure-list li {
  counter-increment: stepnr;
  width: 18rem;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  position: relative;
  background: white;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.procedure-list li:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.procedure-list li::before {
  content: counter(stepnr);
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.procedure-list li .icon {
  font-size: 3rem;
  color: #007bff;
  text-align: center;
  margin-bottom: 1rem;
}

.procedure-list li .title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #333;
}

.procedure-list li .descr {
  font-size: 0.9rem;
  text-align: center;
  color: #666;
  line-height: 1.4;
}

ol {
  margin-inline: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  counter-reset: stepnr;
}

li:nth-child(6n + 1) {
  --accent-color: #b8df4e;
}

li:nth-child(6n + 2) {
  --accent-color: #4cbccb;
}

li:nth-child(6n + 3) {
  --accent-color: #7197d3;
}

li:nth-child(6n + 4) {
  --accent-color: #ae78cb;
}

li:nth-child(6n + 5) {
  --accent-color: #7dc7a4;
}

li:nth-child(6n + 6) {
  --accent-color: #f078c2;
}

ol li {
  counter-increment: stepnr;
  width: 18rem;
  --borderS: 1.7rem;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: calc(var(--borderS) + 2rem);
  position: relative;
}

ol li::before,
ol li::after {
  inset: 0;
  position: absolute;
  border-radius: 40%;
  border: var(--borderS) solid var(--bgColor);
  line-height: 1.1;
}

ol li::before {
  content: counter(stepnr);
  color: var(--accent-color);
  padding-left: 10rem;
  font-size: 12rem;
  font-weight: 700;
  overflow: hidden;
}

ol li::after {
  content: "";
  filter: drop-shadow(-0.2rem 0.2rem 0.2rem rgba(0, 0, 0.32, 0.75)) blur(5px);
}

ol li>* {
  width: 7.5rem;
}

ol li .icon {
  font-size: 2rem;
  color: var(--accent-color);
  text-align: center;
}

ol li .title {
  font-size: 2rem;
  font-weight: 500;
}

ol li .descr {
  font-size: 0.8rem;
  font-weight: 300;
}

.credits {
  margin-top: 2rem;
  text-align: right;
}

.credits a {
  color: var(--color);
}

/* choose_cntr */
.choose_cntr .card {
  box-shadow: 0px 0px 4px #ddd;
  padding: 10px !important;
  border-radius: 4px;
  height: 120px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.choose_cntr .card img {
  width: 60px;
  margin-bottom: 8px;
}

.choose_cntr .card b {
  line-height: normal;
}

.choose_cntr .bg-primary {
  padding: 20px 0 10px;
  background-color: #337ab7 !important;
}

/* branches */
.branchBox {
  display: block;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
  transition: transform 0.3s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.branchBox:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.branchBox figure {
  margin-bottom: 15px;
}

.branchBox h3 {
  margin: 0;
  font-weight: bold;
}

.branchBox small {
  display: block;
  color: #666;
}

.owl-nav button.owl-next,
.owl-nav button.owl-prev {
  font-size: 2rem !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #dddddd00 !important;
  color: #333 !important;
  line-height: 60px;
}

.owl-nav button span {
  font-size: 2rem;
}

.braches .owl-nav .owl-next,
.braches .owl-nav .owl-prev {
  position: absolute;
  right: -55px;
  top: 28% !important;
  bottom: 0;
}

/* faq */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
  background: #f8f9fa;
  color: #333;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: #007bff;
  color: white;
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  background: white;
  padding: 1rem 1.5rem;
  color: #666;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #ecf0f1;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: #3498db;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #3498db;
}

.address-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.address-box .icon {
  margin-right: 0.75rem;
  color: #3498db;
  font-size: 1.1rem;
  margin-top: 0.2rem;
  min-width: 20px;
}

.address-box .content {
  flex: 1;
  line-height: 1.6;
}

.time-box {
  margin-top: 1.5rem;
}

.time-box strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #3498db;
}

.footer .list-unstyled li {
  margin-bottom: 0.5rem;
}

.footer .list-unstyled a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer .list-unstyled a:hover {
  color: #3498db;
  padding-left: 5px;
}

.services-column {
  columns: 2;
  column-gap: 30px;
}

.bottom-footer {
  background: #1a252f;
  padding: 1rem 0;
  color: #bdc3c7;
}

.social-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons p {
  margin: 0;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a[data-color="facebook"] {
  background: linear-gradient(45deg, #3b5998, #4267b2);
}

.social-links a[data-color="twitter"] {
  background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.social-links a[data-color="insta"] {
  background: linear-gradient(45deg, #e1306c, #fd1d1d, #fcb045);
}

.social-links a[data-color="linkedin"] {
  background: linear-gradient(45deg, #0077b5, #005885);
}

.social-links a[data-color="youtube"] {
  background: linear-gradient(45deg, #ff0000, #cc0000);
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
}

* {
  transition: all 0.3s ease;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn {
  transition: all 0.3s ease;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(45deg, #007bff, #0056b3);
}

.btn-success {
  background: linear-gradient(45deg, #28a745, #1e7e34);
}

img {
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: white;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.show .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.mobile-menu-header h5 {
  margin: 0;
  color: #333;
}

.mobile-menu-header .btn-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-body {
  padding: 1rem 0;
}

.mobile-menu .nav-link {
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover {
  background: #f8f9fa;
  color: #007bff;
  padding-left: 1.5rem;
}

.procedure-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.procedure-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.procedure-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.procedure-icon {
  font-size: 3rem;
  color: #007bff;
  margin: 2rem 0 1rem;
}

.procedure-card h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.procedure-card p {
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .services-column {
    columns: 1;
  }

  .social-icons {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .procedure-list {
    gap: 1rem;
  }

  .procedure-list li {
    width: 14rem;
    padding: 1.5rem;
  }

  .procedure-list li .icon {
    font-size: 2rem;
  }

  .procedure-list li .title {
    font-size: 1.2rem;
  }

  .banner {
    min-height: 400px;
    /* text-align: center; */
  }

  .banner h1 {
    font-size: 1.8rem;
  }

  .procedure-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 550px) {
  ol li {
    --borderS: 15px;
    padding-left: calc(var(--borderS) + 1rem);
  }

  ol li .icon {
    display: none;
  }

  ol li .title {
    font-size: 1.5rem;
    font-weight: bold;
  }

  ol li .descr {
    width: 75%;
  }

  ol li::before,
  ol li::after {
    border-radius: 100%;
  }

  ol li::after {
    filter: drop-shadow(-2px 2px 2px rgba(0, 0, 0.32, 0.75)) blur(2px);
  }

  ol li::before {
    padding-left: 90px;
    font-size: 6rem;
    line-height: 0.8;
  }

  .procedure-card {
    padding: 1.5rem 1rem;
  }

  .procedure-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    top: -15px;
  }

  .procedure-icon {
    font-size: 2rem;
    margin: 1.5rem 0 0.5rem;
  }
}

@media (max-width: 576px) {
  .procedure-list li {
    width: 12rem;
    padding: 1rem;
  }

  .procedure-list li::before {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    top: -15px;
    right: -15px;
  }

  .banner h1 {
    font-size: 1.5rem;
  }

  .banner h2 {
    font-size: 1.2rem;
  }
}

.loaded {
  opacity: 1 !important;
  transform: translateY(0) !important;
}