:root {
  --font-family: "Roboto", sans-serif;
  --heading-font: "Playfair Display", serif;
  --base-font-size: 16px;
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --subtle-texture-light: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.25' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
  --subtle-texture-dark: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="light"] {
  --primary-text: #0d1401;
  --accent-color: #879f71;
  --accent-text: #191d22;
  --accent-bg: #ccd7c3;
  --bg-color: #ffffff;
  --bg-alt-color: #f1f5ed;
}

[data-theme="dark"] {
  --primary-text: #ffffffde;
  --accent-color: #e4c412;
  --accent-text: #343a40;
  --accent-bg: #47463f;
  --bg-color: #1d1d20;
  --bg-alt-color: #252528;
}

/* ======================= GLOBAL STYLES ======================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  font-family: var(--font-family);
  font-optical-sizing: auto;
  font-size: var(--base-font-size);
  color: var(--primary-text);
  background-color: var(--bg-color);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  margin-bottom: 1em;
}

/* ======================= GENERAL STYLES ======================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-section {
  padding: 100px 0;
  position: relative;
}

.content-section.bg-alt {
  background-color: var(--bg-alt-color);
  background-image: var(--subtle-texture-light);
}

[data-theme="dark"] .content-section.bg-alt {
  background-image: var(--subtle-texture-dark);
}

.content-section h2 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5em;
  position: relative;
  padding-bottom: 0.5em;
}

.content-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20vw;
  min-width: 120px;
  max-width: 240px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 2em auto;
  text-align: center;
  font-size: 1.1rem;
  color: #888;
}

.btn {
  display: inline-block;
  padding: 15px 38px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  letter-spacing: 1px;
  margin: 8px 0;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--accent-text);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(149, 199, 101, 0.33);
  filter: brightness(1.2);
}

.btn-secondary {
  background: var(--bg-alt-color);
  color: var(--primary-text);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  filter: brightness(1.2);
}

/* ======================= THEME TOGGLE STYLES ======================= */

.theme-toggle {
  position: fixed;
  bottom: 15px;
  left: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  opacity: 0.33;
}

.theme-toggle:hover {
  opacity: 1;
}

.theme-toggle-inner {
  position: relative;
  width: 24px;
  height: 24px;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

[data-theme="dark"] .theme-toggle-inner {
  transform: rotate(-180deg);
}

.sun,
.moon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.sun {
  background: none;
  border-radius: 0;
  transform: none;
  transition: none;
}

/* Sun body */
.sun::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #ffd700;
  border-radius: 50%;
  border: 1px solid rgba(255, 165, 0, 0.3);
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: none;
}

.sun::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  background: transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 -11px 0 #ffd700, /* Top */ 0 11px 0 #ffd700,
    /* Bottom */ -11px 0 0 #ffd700, /* Left */ 11px 0 0 #ffd700,
    /* Right */ -8px -8px 0 #ffd700, /* Top-left */ 8px -8px 0 #ffd700,
    /* Top-right */ -8px 8px 0 #ffd700, /* Bottom-left */ 8px 8px 0 #ffd700; /* Bottom-right */
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform-origin: center center;
}

.moon {
  background: transparent;
  border-radius: 50%;
  transform: translate(0, 0);
  box-shadow: 5px -5px 0 #fff;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  opacity: 0;
  width: 18px;
  height: 18px;
  top: 3px;
  left: 3px;
}

[data-theme="dark"] .sun {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

[data-theme="dark"] .sun::before,
[data-theme="dark"] .sun::after {
  transform: translate(-50%, -50%) rotate(-90deg);
  opacity: 0;
}

[data-theme="dark"] .moon {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg);
}

/* ======================= HERO ======================= */

/* https://pixabay.com/illustrations/background-abstract-watercolor-art-2687925/ */
#hero {
  height: 100vh;
  background: url(assets/light.webp) no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

[data-theme="dark"] #hero {
  background: url(assets/dark.webp) no-repeat center center fixed;
  background-size: cover;
}

.hero-content {
  animation: fadeUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  color: white;
  font-size: 5rem;
  font-family: "Limelight", sans-serif;
  position: relative;
  margin-bottom: 0.25em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 3px 10px rgba(0, 0, 0, 0.2);
}

.hero-content h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 33vw;
  min-width: 210px;
  max-width: 420px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.hero-content .subtitle {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 2.5em;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

@media (max-width: 780px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  #hero,
  [data-theme="dark"] #hero {
    background-attachment: scroll;
  }
}

/* ======================= HEADER & NAV ======================= */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.main-header .container {
  max-width: 1400px;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

.logo {
  font-family: "Limelight", sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-text);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-base);
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav ul li {
  margin-left: 25px;
}

.main-nav ul li a {
  color: var(--primary-text);
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: all var(--transition-base);
  position: relative;
  display: inline-block;
}

.main-nav ul li a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::before,
.main-nav ul li a.active::before {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: var(--primary-text);
  transition: all var(--transition-base);
}

.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

@media (max-width: 780px) {
  .main-nav .logo {
    font-size: 2rem;
    flex-shrink: 0;
    z-index: 1001;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    z-index: 9999;
  }

  .nav-backdrop {
    display: block;
  }

  .nav-container {
    position: fixed;
    top: 0;
    right: -320px;
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1002;
    overflow-y: auto;
    padding: 80px 0 30px;
  }

  .menu-toggle.active ~ .nav-container {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
  }

  .nav-menu li {
    margin: 0;
    width: 100%;
  }

  .main-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 8px 0;
    transition: all 0.3s ease;
  }

  .nav-menu li a:hover,
  .nav-menu li a.active {
    background: transparent;
    padding-left: 32px;
    border-radius: 0px;
  }

  /* Prevent body scrolling when menu is open */
  body.no-scroll {
    overflow: hidden;
  }

  .menu-toggle.active .bar {
    background: rgba(255, 255, 255, 0.8);
  }

  /* Hamburger to X animation */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Show backdrop and menu when active */
  .menu-toggle.active ~ .nav-backdrop,
  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ======================= ABOUT ======================= */
.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
}

.about-text {
  flex: 2;
  position: relative;
}

.about-text p:first-of-type {
  font-size: 1.2rem;
  font-weight: 500;
}

.about-image {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-base);
}

.about-image:hover img {
  transform: scale(1.02) rotate(1deg);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  z-index: -1;
}

@media (max-width: 780px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-top: 20px;
    max-width: 80%;
  }
}

/* ======================= BENEFITS ======================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 3em;
}

.benefit-card {
  background-color: var(--bg-color);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

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

.benefit-card h3 {
  margin-bottom: 0.8em;
  transition: letter-spacing var(--transition-base);
}

.benefit-card i {
  font-size: 2.5rem;
  margin-bottom: 20px;
  transition: transform var(--transition-base);
  display: block;
}

.benefit-card p {
  margin-bottom: 0;
}

.benefit-card:hover i {
  transform: scale(1.2);
  color: var(--accent-color);
}

.benefit-card:hover h3 {
  letter-spacing: 1px;
}

@media (max-width: 780px) {
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
}

/* ======================= SERVICES ======================= */
.service-category {
  margin-bottom: 4em;
}

.service-category h3 {
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 1.8rem;
}

.service-item {
  background: var(--bg-alt-color);
  padding: 22px;
  margin-bottom: 25px;
  border-radius: 8px;
  border-left: 5px solid var(--accent-color);
  transition: all var(--transition-base);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

@media (min-width: 768px) {
  .service-item {
    grid-template-columns: 120px 1fr;
    align-items: start;
  }
}

.service-item:hover {
  background-color: var(--bg-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  transform: translateY(-3px);
}

.service-item h4 {
  font-family: var(--heading-font);
  font-size: 1.33rem;
  margin-bottom: 0.5em;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #7e7c7526;
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--accent-color);
  transition: all var(--transition-base);
}

.service-item:hover .service-icon {
  color: var(--accent-text);
  background-color: var(--accent-color);
  transform: rotate(360deg) scale(1.1);
}

@media (min-width: 768px) {
  .service-icon {
    margin: 0;
    align-self: flex-start;
  }
}

.service-content {
  flex: 1;
}

/* ======================= GALLERY ======================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 3em;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  backdrop-filter: blur(4px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-size: 1.2rem;
  transform: translateY(20px);
  transition: transform var(--transition-base);
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* ======================= CONTACT ======================= */
.contact-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.contact-content > p {
  font-size: 1.3rem;
  margin-bottom: 2.5em;
  font-style: italic;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.contact-content .divider {
  margin: 2em auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 180px;
}

.contact-content .divider::before,
.contact-content .divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--accent-color);
  margin: 0 10px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  list-style: none;
  position: relative;
}

.contact-details p {
  margin-bottom: 8px;
}

.contact-details li {
  margin-bottom: 0;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.contact-details li + li {
  margin-top: 5px;
}

.contact-details li:hover {
  transform: translateZ(10px);
}

.contact-details a {
  display: inline-block;
  font-size: 1.15rem;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--primary-text);
  font-weight: 500;
  border-radius: 4px;
  position: relative;
  background: linear-gradient(
    to right,
    transparent 50%,
    rgba(var(--accent-color-rgb, 135, 159, 113), 0.08) 50%
  );
  background-size: 200% 100%;
  background-position: 0 0;
  transition: background-position 0.3s ease, transform 0.2s ease;
  z-index: 1;
}

.contact-details i {
  display: inline-block;
  position: relative;
  margin-right: 12px;
  font-size: 1.3rem;
  transform: translateY(3px);
  background: var(--accent-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.contact-details a:hover {
  background-position: -100% 0;
  transform: scale(1.03);
}

.contact-details a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--accent-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
  z-index: -1;
}

.contact-details a:hover::before {
  transform: scaleY(1);
}

.contact-details p:has(a:hover) i {
  transform: rotate(15deg);
  opacity: 1;
}

.contact-details span {
  position: relative;
  display: inline-block;
}

@media (max-width: 780px) {
  .contact-content {
    padding: 0 1.5em;
  }

  .contact-content h2 {
    font-size: 2.2rem;
  }
}

/* ======================= FOOTER ======================= */
.main-footer {
  padding: 25px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 5px solid var(--accent-color);
  position: relative;
  background-color: var(--accent-bg);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-content p {
  margin-bottom: 0;
  letter-spacing: 0.5px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer-socials a:hover {
  background-color: var(--accent-color);
  color: var(--accent-text);
  transform: translateY(-3px);
  text-decoration: underline;
}

.footer-socials a i {
  transition: transform var(--transition-base);
}

.footer-socials a:hover i {
  transform: rotate(15deg);
}

/* ======================= CLIENT LOGO CAROUSEL ======================= */

#clients h2 {
  margin-bottom: 2em;
}

.logo-carousel {
  --logo-height: 64px;
  --loop-time: 40s;
  --logo-width: calc(var(--logo-height) * 2);
  --logo-gap: 60px;
  --logo-count: 17;
  --track-width: calc(
    (var(--logo-width) + var(--logo-gap)) * var(--logo-count)
  );

  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

[data-theme="dark"] .logo-carousel {
  background-color: black;
}

.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--bg-color) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--bg-color) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

[data-theme="dark"] .logo-carousel {
  background-color: black;
}

[data-theme="dark"] .logo-carousel::before {
  background: linear-gradient(
    to right,
    var(--bg-color) 0%,
    rgba(29, 29, 32, 0) 100%
  );
}

[data-theme="dark"] .logo-carousel::after {
  background: linear-gradient(
    to left,
    var(--bg-color) 0%,
    rgba(29, 29, 32, 0) 100%
  );
}

.logos-track {
  display: flex;
  gap: 60px;
  padding: 0 30px;
  animation: scroll var(--loop-time) linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--track-width)));
  }
}

.logos-track img {
  height: var(--logo-height);
  width: var(--logo-width);
  object-fit: contain;
  flex: 0 0 var(--logo-width);
  filter: grayscale(100%) opacity(0.6);
  transition: filter var(--transition-base);
}

.logos-track img:hover {
  filter: grayscale(0%) opacity(1);
}

[data-theme="dark"] .logos-track img {
  filter: grayscale(100%) invert(1) opacity(0.7);
}

[data-theme="dark"] .logos-track img:hover {
  filter: grayscale(0%) invert(0) opacity(1);
}

.main-footer {
  background-color: var(--bg-alt-color);
  color: var(--primary-text);
}
