.basic-btn.nav-btn {
  border-radius: 0;
}

.container {
  align-items: center;
  width: 80%;
  margin: 0 auto;
}

header {
  background: var(--second-color-light-static);
}

header h2 {
  font-size: 1.8rem !important;
}

header .container {
  display: flex;
  align-content: center;
  padding: 10px 0 !important;
}

header::after {
  content: "";
  display: table;
  clear: both;
}

.logo {
  width: 3rem;
  margin-top: 14px;
  transition: ease 1s;
}

.logo:hover {
  animation: rotateBackAndForth 1s infinite alternate backwards;
}

@keyframes rotateBackAndForth {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(-15deg);
  }
}

.logo-abr {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  margin-left: 60px;
}

.logo-abr h2,
sup {
  color: var(--first-color-light-static) !important;
  font-family: var(--links-font), monospace !important;
}

sup.r-symbol {
  font-size: 0.6em;
  margin-left: 0.25em;
}

.logo-abr.show {
  opacity: 1;
  transform: translateX(0);
}

@keyframes shake {
  0% {
    transform: translateX(-50%) translate(0, 0);
  }
  20% {
    transform: translateX(-50%) translate(-5px, 2px);
  }
  40% {
    transform: translateX(-50%) translate(5px, -2px);
  }
  60% {
    transform: translateX(-50%) translate(-5px, 2px);
  }
  80% {
    transform: translateX(-50%) translate(5px, -2px);
  }
  100% {
    transform: translateX(-50%) translate(0, 0);
  }
}

nav {
  margin-left: auto;
  padding-right: 2em;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  position: relative;
}

.nav-list li {
  position: relative;
}

.nav-list li a {
  color: var(--first-color-light-static);
  text-decoration: none;
  padding: 20px 25px;
  display: block;
  transition: all 0.3s ease;
}

.active.scrollable-hidden {
  overflow: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.active.scrollable-hidden::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--first-color);
  list-style: none;
  min-width: 200px;
  opacity: 0; /* Changed from display: none */
  visibility: hidden; /* Added */
  transform: translateY(10px); /* Added */
  transition: all 0.2s ease-out; /* Changed transition property */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown li a {
  transition: all 0.3s ease;
  transform: translateX(0); /* Prepare for hover effect */
}

.dropdown li a:hover {
  transform: translateX(5px); /* Added movement effect */
}

/* Show Dropdown on Hover */
.nav-list li:hover > .dropdown {
  opacity: 1; /* Changed from display: block */
  visibility: visible; /* Added */
  transform: translateY(0); /* Added */
}

/* Second-level Dropdown */
.dropdown .dropdown {
  left: 100%;
  top: 0;
  transform: translateX(10px); /* Added for smooth entrance */
}

/* Optional: Add arrow indicator for items with dropdown */
.has-dropdown > a::after {
  content: "▼";
  font-size: 0.6em;
  margin-left: 8px;
}

header h2 {
  color: var(--first-color-light-static);
  font-size: 2.4rem;
  display: inline-block;
  margin: 0;
  font-style: italic;
  font-family: "Roboto Thin", sans-serif !important;
  font-weight: 700;
}

header a {
  color: var(--first-color-light-static);
}

.logo__plus__heading {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.logo-pic {
  height: 44px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: left 0.5s ease, transform 0.5s ease;
}

.logo-pic.shake {
  animation: shake 0.5s ease-in-out;
}

.logo-pic.move {
  left: 0;
  transform: translateX(0);
}

@media screen and (max-width: 768px) {
  .logo-pic {
    height: 24px;
  }

  .logo-abr {
    margin-left: 36px;
  }

  .logo__plus__heading {
    gap: 0.5rem;
  }

  header h2 {
    font-size: 1.4rem !important;
  }
}

@media screen and (max-width: 480px) {
  header h2 {
    font-size: 1rem !important;
  }
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  background: transparent;
  border: 0;
  margin-left: auto;
  z-index: 1001;
}

.hamburger-box {
  width: 35px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
  width: 35px;
  height: 3px;
  background-color: var(--first-color-light-static);
  position: absolute;
  transition: transform 0.2s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  background-color: var(--first-color-light-static);
  position: absolute;
  transition: transform 0.2s ease;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

/* Active state */
.hamburger.active .hamburger-inner {
  transform: rotate(45deg);
}

.hamburger.active .hamburger-inner::before {
  transform: translateY(8px) rotate(90deg);
}

.hamburger.active .hamburger-inner::after {
  transform: translateY(-8px) rotate(90deg);
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .logo-abr {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 1250px) {
  .hamburger {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--second-color-light-static);
    transition: right 0.3s ease-in-out;
    padding: 80px 20px 20px;
    z-index: 1000;
  }

  nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list li {
    margin: 10px 0;
  }

  .nav-list li a {
    padding: 15px;
  }

  .dropdown {
    position: static;
    display: none;
    margin-left: 15px;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .dropdown.active {
    display: block;
  }

  .has-dropdown.active .dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .has-dropdown > a::after {
    transition: transform 0.3s ease;
  }

  .has-dropdown.active > a::after {
    transform: rotate(180deg) translateY(50%);
  }

  .dropdown {
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
  }
}

.no-scroll {
  overflow: hidden;
}

/* SERVICES */

#services {
  background-color: var(--second-color);
  padding: 5rem 0;
}

#services h2,
p {
  color: var(--second-color);
}

#services h2 {
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

#services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100% !important;
}

#services h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  font-weight: 700;
  color: var(--first-color);
}

#services .service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

#services .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--first-color);
  border: 1px solid #3f3b3e;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

#services .card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#services .card i {
  font-size: 2em;
  margin-bottom: 10px;
  color: var(--second-color);
}

#services .card h3 {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--second-color);
}

#services .card p {
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--second-color);
}

#services .btn {
  background-color: var(--second-color);
  color: var(--first-color);
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  margin-top: 0.5rem;
}

#services .btn:hover {
  background-color: var(--first-color);
  color: var(--second-color);
  border: 1px solid var(--second-color);
}

#services .cta {
  text-align: center;
  margin-top: 40px;
}

#services .cta .btn {
  background-color: var(--first-color);
  color: var(--second-color);
}

#services .cta .btn:hover {
  background-color: var(--second-color);
  color: var(--first-color);
  border: 1px solid var(--first-color);
}

#services .cta p {
  margin-bottom: 20px;
  color: var(--first-color);
}

@media (max-width: 768px) {
  #services .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  #services h3 {
    font-size: 1rem !important;
  }

  .prev {
    left: 0 !important;
  }

  .next {
    right: 0 !important;
  }

  #services {
    font-size: 1rem;
  }
}

/* FOOTER */

#footer {
  --footer-bg-color: var(--first-color);
  --footer-text-color: var(--second-color);

  border-top: 1px solid var(--second-color);
  background: var(--footer-bg-color);
  padding: 2rem;
}

#footer h2,
h3,
h4,
p,
a {
  color: var(--footer-text-color);
}

#footer .container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: start;
  gap: 4rem;
  row-gap: 2rem;
}

#footer h4 {
  margin-bottom: 0.5rem;
}

.website-links-col div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

#footer .website-links-col {
  display: flex;
  gap: 2rem;
}

.footer-social-links-contacts {
  display: flex;
  flex-direction: column;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-social-links img {
  width: 42px;
  height: auto;
  transition: 0.5s ease-in-out;
}

.footer-social-links img.x {
  width: 34px;
  cursor: pointer;
}

.footer-social-links img:hover {
  transform: rotate(30deg);
}

.footer-contacts {
  margin-top: 2rem;
}

.footer-rights {
  position: relative;
  margin-top: 3rem;
  text-align: center;
  color: var(--second-color);
  font-family: var(--links-font), monospace;
}

.footer-rights::after {
  top: -1.5rem;
  left: 0;
  position: absolute;
  width: 100%;
  height: 1px;
  content: "";
  background-color: var(--second-color);
}

.footer-copyright {
  grid-column: 1 / -1;
  position: relative;
  margin-top: 1.25rem;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--footer-text-color);
  font-size: 0.9rem;
  opacity: 0.8;
  width: 100%;
}

.footer-copyright::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  width: 80%;
  max-width: 800px;
  height: 1px;
  content: "";
  background-color: var(--second-color);
  opacity: 0.3;
}

.footer-copyright p {
  margin: 0;
}

@media (max-width: 768px) {
  #footer .container {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-contacts {
    margin-top: 0.75rem;
  }

  .footer-social-links .social-links {
    display: flex;
    justify-content: center;
  }

  .footer-copyright {
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 0.85rem;
  }
}

/* END OF FOOTER */

/* Container: give it a real height and clip the bg video */
#campaign-banner-container {
  position: relative;
  background: #000;
  min-height: 56px; /* ensure the bar is tall enough to see video */
  padding: 0 48px; /* room for the close button on the right */
  display: none; /* centers the text vertically */
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  overflow: hidden; /* hides video spillover */
}

/* Background video covers the whole banner */
.campaign-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  filter: brightness(5) contrast(1.3) saturate(1.2);
}

.background__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.campaign-text {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 600;
  padding: 0 10px;
}

.campaign-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: none;
  border: 0;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

@media (max-width: 560px) {
  #campaign-banner-container {
    min-height: 44px;
    padding: 0 40px;
  }

  .campaign-text {
    font-size: 12px;
  }

  .campaign-btn {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-video {
    display: none;
  }
}
