/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* White background */
  --default-color: #5c5c5c; /* Dark gray for text */
  --heading-color: #3d0c54; /* Milka purple for headings */
  --accent-color: #7b3fa3; /* Milka purple for accents */
  --surface-color: #f8f5fc; /* Light purple/gray for surfaces */
  --contrast-color: #ffffff; /* White for contrast */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #5c5c5c;  /* The default color of the main navmenu links */
  --nav-hover-color: #7b3fa3; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #f8f5fc; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #f8f5fc; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #5c5c5c; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #7b3fa3; /* Used for navigation links of the dropdown items in the navigation menu when they are hovered over. */
}

/* Color Presets - These classes can be added to elements to change their colors */
.text-accent { color: var(--accent-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

.text-default { color: var(--default-color) !important; }
.bg-default { background-color: var(--default-color) !important; }

.text-heading { color: var(--heading-color) !important; }
.bg-heading { background-color: var(--heading-color) !important; }

.text-surface { color: var(--surface-color) !important; }
.bg-surface { background-color: var(--surface-color) !important; }

.text-contrast { color: var(--contrast-color) !important; }
.bg-contrast { background-color: var(--contrast-color) !important; }

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Layout
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  font-family: var(--heading-font);
}

.header .btn-getstarted {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: 0.5s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 55px 15px 15px 15px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
    background-color: var(--accent-color);
    border-radius: 4px;
    padding: 3px 8px;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.section-title .description-title {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-family: var(--heading-font);
}

.section-title .description-title::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  margin: 4px 10px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  position: relative;
  padding: 180px 0 100px 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg-light.png") top center no-repeat;
  background-size: cover;
  opacity: 0.05;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
}

.hero-content p {
  margin-bottom: 30px;
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero-btns .btn {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 36px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--contrast-color);
  background: var(--accent-color);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.hero-btns .btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.hero-image-container {
  position: relative;
  margin-top: 40px;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.hero-image img {
  transition: 0.5s;
}

.hero-image:hover img {
  transform: scale(1.1);
}

.image-decoration {
  position: absolute;
  left: -30px;
  top: -30px;
  width: 150px;
  height: 150px;
  background: url("../img/decoration-light.png") center center no-repeat;
  background-size: contain;
  opacity: 0.1;
}

.hero-stats {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 10px;
  width: 180px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-icon {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.stat-item p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px 0;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-stats {
    gap: 15px;
  }

  .stat-item {
    width: 140px;
    padding: 15px;
  }

  .stat-item h3 {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .image-wrapper {
  position: relative;
}

.about .image-box {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.about .image-box img {
  transition: 0.3s;
}

.about .image-box:hover img {
  transform: scale(1.05);
}

.experience-box {
  position: absolute;
  right: -30px;
  bottom: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 30px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.experience-box .years {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.experience-box .text {
  font-size: 14px;
  margin-top: 5px;
}

.about .content {
  padding-left: 30px;
}

.about .section-header {
  margin-bottom: 30px;
}

.about .section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about .highlight-text {
  font-size: 18px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 3px solid var(--accent-color);
}

.features-list {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-item .icon-box {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 10px;
  margin-right: 20px;
  font-size: 24px;
}

.feature-item .text h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.feature-item .text p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

@media (max-width: 992px) {
  .about .content {
    padding-left: 0;
    margin-top: 40px;
  }

  .experience-box {
    right: 20px;
    bottom: -30px;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-container {
  margin-top: 30px;
}

.service-item {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-color);
  transition: 0.5s;
  opacity: 0;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.service-item:hover::before {
  opacity: 1;
}

.service-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 12px;
  margin-right: 20px;
  font-size: 28px;
  transition: 0.3s;
}

.service-item:hover .service-icon {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.service-content {
  flex: 1;
}

.service-number {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-text {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters-wrapper {
  margin-bottom: 40px;
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 0 auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  border-radius: 50px;
  transition: all 0.3s;
  background: var(--surface-color);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.portfolio-grid {
  row-gap: 30px;
}

.portfolio-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.portfolio-card .image-container {
  overflow: hidden;
  position: relative;
}

.portfolio-card .image-container img {
  transition: 0.3s;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.portfolio-card:hover .image-container img {
  transform: scale(1.1);
}

.portfolio-card .content {
  padding: 20px;
}

.portfolio-card .content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.portfolio-card .content p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq-wrapper {
  margin-top: 40px;
}

.faq-item {
  background: var(--surface-color);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: 0.3s;
}

.faq-item.faq-active {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.faq-header {
  padding: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 50%;
  margin-right: 15px;
  font-size: 14px;
}

.faq-header h4 {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.faq-toggle {
  flex-shrink: 0;
  margin-left: 15px;
  transition: 0.3s;
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-toggle i {
  position: absolute;
  transition: 0.3s;
}

.faq-toggle .bi-plus {
  opacity: 1;
}

.faq-toggle .bi-dash {
  opacity: 0;
}

.faq-item.faq-active .faq-toggle .bi-plus {
  opacity: 0;
}

.faq-item.faq-active .faq-toggle .bi-dash {
  opacity: 1;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}

.faq-item.faq-active .faq-content {
  max-height: 500px;
}

.content-inner {
  padding: 0 20px 20px 65px;
}

.content-inner p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-info-cards {
  margin-bottom: 40px;
}

.info-card {
  display: flex;
  align-items: center;
  background: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: 0.3s;
}

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

.icon-container {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 12px;
  margin-right: 20px;
  font-size: 24px;
}

.card-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.card-content p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.social-links-panel {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 15px;
}

.social-links-panel h5 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  font-size: 20px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background: var(--surface-color);
  font-size: 14px;
  padding: 50px 0 20px 0;
}

.footer .icon {
  color: var(--accent-color);
  font-size: 20px;
  margin-right: 15px;
}

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.footer .address p:last-child {
  margin-bottom: 0;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .copyright .sitename {
  color: var(--heading-color);
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

.footer-links {
  font-size: 14px;
  margin-top: 15px;
}

.footer-links a {
  color: var(--default-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}


/* Mobile version */
@media (max-width: 1199px) {
  /* Логотип на 30% меньше */
  .header .logo h1 {
    font-size: 16px;
  }
  
  /* Переключение языка на 30% меньше и справа */
  .language-switcher {
    margin-right: 0;
    margin-left: auto;
    order: 2;
  }
  
  .language-switcher a {
    font-size: 12px;
    padding: 4px 8px;
  }
  
  /* Гамбургер меню слева */
  .mobile-nav-toggle {
    order: 1;
    margin-right: 15px;
    margin-left: 0;
  }
  
  /* Изменение порядка элементов в header */
  .header .container {
    justify-content: space-between;
  }
  
  .header .logo {
    order: 3;
    margin: 0 auto;
  }
}
