* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --transition: all 0.3s ease;
}

html[data-theme="dark"] {
  --bg-color: #0f172a;
  --text-color: rgba(255, 255, 255, 0.8);
  --secondary-text-color: #d1d5db;
  --card-bg: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.2);
  --button-bg: #ff4d4d;
  --button-text: #ffffff;
  --button-outline-bg: transparent;
  --button-outline-border: rgba(255, 255, 255, 0.3);
  --button-outline-text: #ffffff;
  --modal-bg: rgba(15, 23, 42, 0.95);
  --modal-text: #ffffff;
  --footer-bg: #121212;
  --link-color: #dc2626;
  --link-hover-color: #991b1b;
}

html[data-theme="light"] {
  --bg-color: #ffffff;
  --text-color: #333333;
  --secondary-text-color: rgba(0, 0, 0, 0.7);
  --card-bg: rgba(0, 0, 0, 0.05);
  --card-border: rgba(0, 0, 0, 0.1);
  --button-bg: #ff4d4d;
  --button-text: #ffffff;
  --button-outline-bg: transparent;
  --button-outline-border: rgba(0, 0, 0, 0.3);
  --button-outline-text: #333333;
  --modal-bg: rgba(255, 255, 255, 0.95);
  --modal-text: #333333;
  --footer-bg: #f0f0f0;
  --link-color: #dc2626;
  --link-hover-color: #7f1d1d;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  transition: var(--transition);
}

html {
  background-color: #ffffff;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

@keyframes float-around {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  25% { transform: translateY(-15px) rotate(90deg); opacity: 0.5; }
  50% { transform: translateY(-25px) rotate(180deg); opacity: 0.3; }
  75% { transform: translateY(-15px) rotate(270deg); opacity: 0.5; }
}

@keyframes float-particles {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 15px rgba(220, 38, 38, 0.4); }
  50% { text-shadow: 0 0 25px rgba(220, 38, 38, 0.7); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes infiniteScrollRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes infiniteScrollLeft {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--bg-color);
  transition: var(--transition);
}

.section-container {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--modal-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  height: 80px;
  transition: var(--transition);
}

.navbar {
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar-brand {
  font-size: 2rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--link-color) !important;
  background: rgba(220, 38, 38, 0.1);
}

/* Buttons */
.btn-modern {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-red {
  background: linear-gradient(135deg, var(--button-bg), var(--link-hover-color));
  color: var(--button-text);
  border: none;
}

.btn-red:hover {
  background: linear-gradient(135deg, var(--link-hover-color), #7f1d1d);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.btn-outline-white {
  background: var(--button-outline-bg);
  border: 2px solid var(--button-outline-border);
  color: var(--button-outline-text);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

html[data-theme="light"] .btn-outline-white:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.5);
}

#themeToggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon {
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

.theme-icon-dark {
  display: none;
}

.theme-icon-light {
  display: block;
}

html[data-theme="dark"] .theme-icon-dark {
  display: block;
}

html[data-theme="dark"] .theme-icon-light {
  display: none;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  animation: float 20s ease-in-out infinite;
}

.floating-element {
  position: absolute;
  animation: float-around 15s ease-in-out infinite;
}

.particle {
  position: absolute;
  animation: float-particles 20s infinite linear;
}

.floating-shape:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-shape:nth-child(2) { top: 60%; right: 15%; animation-delay: 5s; }
.floating-shape:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 10s; }
.floating-shape:nth-child(4) { top: 40%; right: 30%; animation-delay: 15s; }

.floating-element:nth-child(1) { top: 15%; left: 15%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 70%; right: 20%; animation-delay: 5s; }
.floating-element:nth-child(3) { bottom: 20%; left: 60%; animation-delay: 10s; }
.floating-element:nth-child(4) { top: 30%; right: 40%; animation-delay: 7s; }
.floating-element:nth-child(5) { top: 50%; left: 50%; animation-delay: 12s; }

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 4s; }
.particle:nth-child(3) { left: 50%; animation-delay: 8s; }
.particle:nth-child(4) { left: 70%; animation-delay: 12s; }
.particle:nth-child(5) { left: 90%; animation-delay: 16s; }

.hero-section {
  padding: 4rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  height: 100%;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
  min-width: 300px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--link-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--secondary-text-color);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(220, 38, 38, 0.3);
}

html[data-theme="light"] .stat-card:hover {
  background: rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--link-color);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  margin-top: 0.5rem;
}

.carousel-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  min-width: 300px;
}

.carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
}

.poligrafiya-section {
  padding: 4rem 0;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  animation: glow 2s ease-in-out infinite alternate;
}

.poligrafiya-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.service-slide {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.service-slide i {
  font-size: 5rem;
  color: var(--link-color);
  margin-bottom: 1.5rem;
}

.service-slide h4 {
  font-size: 2rem; /* Larger title */
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.service-slide p {
  font-size: 1.2rem; /* Larger description */
  color: var(--secondary-text-color);
  line-height: 1.6;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.control-btn {
  width: 3.5rem; /* Slightly larger buttons */
  height: 3.5rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.control-btn:hover {
  background: rgba(220, 38, 38, 0.8);
  border-color: rgba(220, 38, 38, 0.8);
  transform: scale(1.1);
}

.carousel-indicators-custom {
  display: flex;
  gap: 0.5rem;
}

.indicator-dot {
  width: 14px; /* Larger dots */
  height: 14px;
  border-radius: 50%;
  background: var(--secondary-text-color);
  cursor: pointer;
  transition: var(--transition);
}

.indicator-dot.active,
.indicator-dot:hover {
  background: var(--link-color);
  transform: scale(1.2);
}

.services-section {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

html[data-theme="light"] .service-card:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--secondary-text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-features {
  text-align: left;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  color: var(--secondary-text-color);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.feature-item i {
  color: #3b82f6;
  margin-right: 0.5rem;
  width: 16px;
}

.service-stats {
  border-top: 1px solid var(--card-border);
  padding-top: 1rem;
  text-align: center;
}

.service-stats .stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b82f6;
}

.service-stats .stat-label {
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}

.comfort-section {
  padding: 4rem 0;
}

.comfort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.comfort-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition);
}

.comfort-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.comfort-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.comfort-icon i {
  font-size: 1.5rem;
  color: white;
}

.comfort-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.comfort-description {
  color: var(--secondary-text-color);
  line-height: 1.6;
  font-size: 0.95rem;
}

.products-section {
  padding: 4rem 0;
}

.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  height: 70%;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 300px;
}

.product-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2rem;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition);
}

.product-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.product-description {
  color: var(--secondary-text-color);
  line-height: 1.6;
  font-size: 1rem;
}

.video-container {
  height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  min-width: 300px;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-section {
  padding: 4rem 0;
}

.infinite-scroll-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
}

.team-grid {
  display: flex;
  gap: 1.5rem;
  animation: infiniteScrollRight 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.team-grid:hover {
  animation-play-state: paused;
}

.team-card {
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  width: 280px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.6s ease-out;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(220, 38, 38, 0.3);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #3b82f6;
}

.team-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--link-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.clients-section {
  padding: 4rem 0;
}

.clients-grid {
  display: flex;
  overflow-x: hidden;
  margin-top: 2rem;
  animation: infiniteScrollRight 25s linear infinite;
  white-space: nowrap;
  justify-content: center;
}

.clients-grid:hover {
  animation-play-state: paused;
}

.clients-grid::-webkit-scrollbar {
  display: none;
}

.client-card {
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border: 1px solid var(--card-border);
  border-radius: 16px; /* Larger border radius */
  padding: 1.5rem; /* More padding */
  text-align: center;
  transition: var(--transition);
  width: 300px; /* Larger width */
  height: 300px; /* Larger height */
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.9; /* Slightly higher base opacity */
}

.client-card:hover {
  opacity: 1;
  transform: scale(1.05); /* Reduced scale for better fit */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

html[data-theme="light"] .client-card:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

.client-card img {
  max-height: 100px; /* Larger logo */
  width: auto;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.client-card:hover img {
  transform: scale(1.1);
}

.client-card h3 {
  font-size: 1.5rem; /* Larger title */
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}

.client-card p {
  font-size: 1rem; /* Larger description */
  color: var(--secondary-text-color);
  line-height: 1.5;
}

.faq-section {
  padding: 4rem 0;
}

.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px; /* Constrain width for readability */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.faq-card {
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

html[data-theme="light"] .faq-card:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

.faq-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-card h3::after {
  content: '\f107'; /* FontAwesome angle-down icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--link-color);
  transition: transform 0.3s ease;
}

.faq-card.active h3::after {
  transform: rotate(180deg);
}

.faq-card p {
  font-size: 0.95rem;
  color: var(--secondary-text-color);
  line-height: 1.6;
  display: none; /* Hidden by default */
  margin-top: 0.5rem;
}

.faq-card.active p {
  display: block; /* Show when active */
}


.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: var(--secondary-text-color);
}

.spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid var(--card-border);
  border-top-color: var(--link-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.fab-main {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--button-bg), var(--link-hover-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--button-text);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.fab-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
}

.fab-main i {
  font-size: 1.5rem;
}

.fab-items {
  display: none;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  bottom: 70px;
  right: 0;
}

.fab-items.active {
  display: flex;
}

.fab-item {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--button-bg), var(--link-hover-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--button-text);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

html[data-theme="light"] .fab-item {
  background: linear-gradient(135deg, #ff4757, #cc1e1e); /* Red gradient for better contrast */
  border: 1px solid rgba(220, 38, 38, 0.5); /* Subtle red border */
}

.fab-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
}

.fab-item i {
  font-size: 1.5rem;
}

.modal-content {
  background: var(--modal-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  color: var(--modal-text);
  transition: var(--transition);
}

.modal-header {
  border-bottom: 1px solid var(--card-border);
}

.modal-title {
  color: var(--text-color);
  font-weight: 600;
}

.btn-close-white {
  filter: invert(1);
}

html[data-theme="light"] .btn-close-white {
  filter: invert(0);
}

.form-label {
  color: var(--text-color);
}

.form-control {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-color);
  transition: var(--transition);
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--link-color);
  box-shadow: 0 0 5px rgba(220, 38, 38, 0.3);
  color: var(--text-color);
}

html[data-theme="light"] .form-control:focus {
  background: rgba(0, 0, 0, 0.1);
}

footer {
  background-color: var(--footer-bg);
  color: var(--text-color);
  padding: 4rem 0;
  position: relative;
  transition: var(--transition);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-column-header h3 {
  font-size: 1.5rem;
  color: var(--text-color);
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--link-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-text-color);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  font-size: 1.5rem;
  color: var(--text-color);
  transition: var(--transition);
}

.social-link:hover {
  color: var(--link-color);
}

.footer-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.spotlight-rect1,
.spotlight-rect2,
.spotlight-overlay,
.spotlight-ellipse,
.watermark-overlay {
  display: none;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--card-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 38, 38, 0.7);
}

.clients-section {
  padding: 4rem 0;
}

.clients-rows-wrapper {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.clients-row {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  width: max-content;
}

.clients-row.scroll-left {
  animation: scrollLeft 60s linear infinite;
}

.clients-row.scroll-right {
  animation: scrollRight 60s linear infinite;
  margin-top: 20px;
}

.clients-row:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.client-card {
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  width: 250px;
  height: 280px;
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(220, 38, 38, 0.3);
}

html[data-theme="light"] .client-card:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

.client-card img {
  max-height: 80px;
  width: auto;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.client-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.client-card p {
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.client-card .btn-modern {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

@media (max-width: 991px) {
  .clients-row {
    gap: 1.5rem;
  }
  .client-card {
    width: 200px;
    height: 240px;
  }
  .client-card img {
    max-height: 60px;
  }
  .client-card h3 {
    font-size: 1rem;
  }
  .client-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {
  .clients-row {
    gap: 1rem;
  }
  .client-card {
    width: 180px;
    height: 220px;
  }
  .client-card img {
    max-height: 50px;
  }
  .client-card h3 {
    font-size: 0.95rem;
  }
  .client-card p {
    font-size: 0.8rem;
  }
}

@media (max-width: 575px) {
  .clients-row {
    gap: 0.8rem;
  }
  .client-card {
    width: 160px;
    height: 200px;
  }
  .client-card img {
    max-height: 40px;
  }
  .client-card h3 {
    font-size: 0.9rem;
  }
  .client-card p {
    font-size: 0.75rem;
  }
  .client-card .btn-modern {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}