/* ==================== VARIABLES ==================== */
:root {
  --bg-color: #ffffff;
  --text-color: #0f3a66;
  --text-secondary: #5a7b8f;
  --accent-color: #0BB4FF;
  --accent-light: #48D1FF;
  --accent-dark: #0090D1;
  --accent-gradient: linear-gradient(135deg, #0BB4FF 0%, #0090D1 100%);
  --green-accent: #7ED321;
  --green-light: #9FE048;
  --green-dark: #6BBE12;
  --card-bg: #f0f7ff;
  --card-border: #c5ddf3;
  --shadow-sm: 0 2px 8px rgba(11, 180, 255, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 180, 255, 0.12);
  --shadow-lg: 0 20px 40px rgba(11, 180, 255, 0.16);
  
  --font-main: 'Inter', sans-serif;
  --font-display: 'Orbitron', sans-serif;
}

body.light {
  --bg-color: #0f1419;
  --text-color: #e8f0f7;
  --text-secondary: #a8b8c8;
  --card-bg: #1a2332;
  --card-border: #2a3f54;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% { box-shadow: var(--shadow-md); }
  50% { box-shadow: 0 12px 32px rgba(11, 180, 255, 0.25); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Optimize animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================== CONTROLS ==================== */
.toggle-theme,
.toggle-language {
  position: fixed;
  left: 20px;
  z-index: 1000;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
  box-shadow: var(--shadow-sm);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.toggle-theme { top: 20px; }
.toggle-language { top: 20px; font-weight: 700; font-size: 12px; }

.toggle-theme:hover,
.toggle-language:hover,
.toggle-theme:focus,
.toggle-language:focus {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: #ffffff;
  transform: scale(1.1);
  outline: none;
}

.toggle-theme img {
  width: 20px;
  height: 20px;
}

/* ==================== NAVIGATION ==================== */
.nav {
  position: fixed;
  top: 20px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: fit-content;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--card-border);
  z-index: 999;
  display: flex;
  gap: 2.5rem;
  box-shadow: var(--shadow-md);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

body.light .nav {
  background: rgba(15, 20, 25, 0.98);
  border-color: var(--card-border);
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav a:hover,
.nav a:focus {
  color: var(--accent-color);
  outline: none;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Mobile Nav */
.burger {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.burger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--text-color);
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ==================== TABLET RESPONSIVENESS ==================== */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-desktop {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-left {
    padding-right: 0;
  }

  .hero-left .brand-badge {
    margin: 0 auto 20px;
  }

  .hero-left h1 {
    text-align: center;
  }

  .hero-left .hero-services {
    text-align: center;
  }

  .hero-left .hero-buttons {
    justify-content: center;
  }

  .carousel-wrap {
    max-width: 720px;
  }
}

.mobile-nav {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for iOS */
  background: var(--bg-color);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
  padding: 0 1rem;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--card-bg);
  color: var(--accent-color);
  outline: none;
}

@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: block; }
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  position: relative;
  overflow: hidden;
}

body.light .hero {
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 141, 181, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(93, 173, 226, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--accent-dark);
  letter-spacing: -1px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 2px solid var(--card-border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin: 0 auto 14px;
}

.brand-badge__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-badge__text strong {
  font-size: 0.9rem;
  letter-spacing: 0.6px;
  color: var(--accent-dark);
}

.brand-badge__text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2rem;
  font-weight: 500;
}

.hero-services {
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  color: var(--accent-color) !important;
  margin: 1.5rem auto 2rem !important;
  letter-spacing: 1px;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-tags span {
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(11, 180, 255, 0.25);
  transition: all 0.3s ease;
}

.hero-tags span:nth-child(3) {
  background: linear-gradient(135deg, var(--green-accent) 0%, var(--green-dark) 100%);
  box-shadow: 0 4px 15px rgba(126, 211, 33, 0.25);
}

.hero-tags span:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(11, 180, 255, 0.35);
}

.hero-tags span:nth-child(3):hover {
  box-shadow: 0 8px 25px rgba(126, 211, 33, 0.35);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem !important;
  font-weight: 500;
  animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 180, 255, 0.4);
  outline: none;
}

.btn-secondary {
  background: transparent;
  border: 2.5px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-4px);
  outline: none;
}

.btn-green {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-dark) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(126, 211, 33, 0.35);
}

.btn-green:hover,
.btn-green:focus {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(126, 211, 33, 0.5);
  outline: none;
}

/* ==================== HERO DESKTOP/MOBILE ==================== */
.hero-mobile {
  display: none;
}

.hero-desktop {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-left {
  padding-right: 2rem;
}

.hero-left .brand-badge {
  margin: 0 0 20px 0;
}

.hero-left h1 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.hero-left .hero-services {
  text-align: left;
  margin: 1rem 0 2rem 0;
}

.hero-left .hero-buttons {
  justify-content: flex-start;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ==================== EMPLOYEES CAROUSEL (Desktop) ==================== */
.carousel-wrap {
  width: 100%;
  max-width: 420px;
  padding: 18px 14px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 2px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-left: auto;
}

.employees-carousel {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding: 8px 8px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  animation: slideInRight 0.8s ease;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}
.employees-carousel::-webkit-scrollbar { display: none; }

.employees-carousel::after {
  content: '';
  flex: 0 0 12px;
}

.employee-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 2px solid var(--card-border);
  flex-shrink: 0;
  min-width: 380px;
  max-width: 380px;
  scroll-snap-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.employee-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-md); 
  border-color: var(--accent-color);
}

.employee-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f5f5f5;
  padding: 1.2rem;
  flex: 1;
}

.employee-city {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1rem 0.75rem;
  font-weight: 800;
  font-size: 0.75rem;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
  text-align: left;
  letter-spacing: 0.1px;
  display: none;
}

.carousel-nav { position: absolute; inset: 0; pointer-events: none; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-md);
  color: var(--accent-dark);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-transform: translateY(-50%) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.carousel-arrow.prev { left: 6px; }
.carousel-arrow.next { right: 6px; }
.carousel-arrow:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }

/* ==================== EMPLOYEES SECTION (Mobile) ==================== */
.employees-section {
  display: none;
  padding: 3rem 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  overflow: hidden;
}

body.light .employees-section {
  background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
}

.employees-mobile-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 100%;
}

.employees-scroll-mobile {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 1rem 0;
  scroll-padding: 0;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.employees-scroll-mobile::-webkit-scrollbar {
  height: 0;
}

.employees-scroll-mobile::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.employees-scroll-mobile::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
}

.employees-scroll-mobile .employee-card {
  flex: 0 0 calc(100vw - 4rem);
  max-width: 280px;
  scroll-snap-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.employees-mobile-wrap .carousel-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.employees-mobile-wrap .carousel-arrow {
  pointer-events: all;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ==================== SECTIONS COMMON ==================== */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3.5rem;
  text-align: center;
  color: var(--accent-dark);
  letter-spacing: -0.5px;
}

/* ==================== ABOUT SECTION ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  animation: slideInLeft 0.8s ease;
}

.about-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  border: 3px solid var(--card-border);
}

.about-image img:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(11, 180, 255, 0.25);
}

.about-text {
  animation: slideInRight 0.8s ease;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.about-text > div {
  background: linear-gradient(135deg, rgba(11, 180, 255, 0.08) 0%, rgba(72, 209, 255, 0.05) 100%);
  border-left: 4px solid var(--accent-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-text p:first-child {
  font-weight: 600;
  color: var(--text-color);
}

.about-features {
  list-style: none;
  margin: 1rem 0 1.5rem 0;
  padding: 0;
}

.about-features li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  transition: all 0.3s ease;
}

.about-features li:hover {
  color: var(--text-color);
  transform: translateX(5px);
}

.about-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.5rem;
}

/* ==================== WHY US SECTION ==================== */
.why-us {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(240, 247, 255, 0.5) 100%);
}

body.light .why-us {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(26, 35, 50, 0.5) 100%);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.why-us-grid.two-cards {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* Wider cards for this layout */
}

@media (max-width: 768px) {
  .why-us-grid.two-cards {
    grid-template-columns: 1fr;
  }
}

/* Map Card Styles */
.map-card {
  padding: 1.5rem !important;
  overflow: visible; /* For tooltips */
}

.map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1; /* Square aspect for better map display */
  margin-bottom: 1rem;
  min-height: 250px; /* Prevent collapse */
  max-height: 400px; /* Limit height on desktop */
}

@media (max-width: 768px) {
  .map-card {
     /* Allow map to fit screen */
     overflow: hidden; 
     padding: 1rem !important; 
  }
  .map-container {
     /* Remove aspect-ratio on mobile, use explicit height */
     aspect-ratio: auto;
     width: 100%; 
     min-width: 0;
     height: 300px; /* Fixed height for mobile */
     min-height: 280px;
  }
}

.kz-svg {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  min-height: 250px; /* Prevent shrinking */
  /* background: #f8fbff; */ /* Optional background */
}

.kz-shape {
  fill: #e1effc; /* Light blue map fill */
  stroke: #7bbdee; /* Slightly darker stroke */
  stroke-width: 10; /* Increased for the 1024 coordinate system */
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(11, 180, 255, 0.1)); /* Soft shadow filter */
}

.map-card:hover .kz-shape {
  fill: #d0e6fa;
  filter: drop-shadow(0 6px 12px rgba(11, 180, 255, 0.2));
}

.map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  /* Text styling for names directly on map */
  color: #0f3a66;
  font-weight: 700;
  font-size: 0.8rem;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  pointer-events: none; /* purely visual */
}

@media (max-width: 768px) {
  .map-point {
     /* Scale text, but ensure readability limits */
     font-size: clamp(8px, 2.8vw, 12px); 
     text-shadow: 0 0 3px #fff;
  }
}

.tooltip {
  /* Reset tooltip to be plain text container */
  display: block;
  position: static;
  transform: none;
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  opacity: 1;
  pointer-events: none;
  transition: none;
  width: auto;
}

/* Features Card Styles */
.features-card {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.features-list li {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: var(--text-color);
  display: flex;
  align-items: center; /* Vertically center icon with text */
  gap: 12px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  /* Optional: filter to match theme if icons are black/white */
  /* filter: drop-shadow(0 2px 4px rgba(11, 180, 255, 0.2)); */
}

.features-list li:last-child {
  margin-bottom: 0;
}

.summary-text {
  font-size: 1.25rem !important; /* Override why-us p styles */
  font-weight: 700 !important;
  color: var(--accent-dark) !important;
  margin-top: 1.5rem !important;
  text-align: left;
  border-top: 2px solid var(--card-border);
  padding-top: 1.5rem;
}

.why-us-card {
  background: #ffffff;
  border: 2px solid var(--card-border);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

body.light .why-us-card {
  background: var(--card-bg);
  border-color: var(--card-border);
}

.why-us-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.why-us-card.premium {
  background: linear-gradient(135deg, var(--green-accent) 0%, var(--accent-color) 100%);
  border: none;
  color: #ffffff;
}

.why-us-card.premium .why-us-icon,
.why-us-card.premium h3,
.why-us-card.premium p {
  color: #ffffff;
}

.why-us-card.features-card {
  background: linear-gradient(135deg, #0BB4FF 0%, #0090D1 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(11, 180, 255, 0.4);
}

.why-us-card.features-card h3 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.why-us-card.features-card .features-list li {
  color: #ffffff;
  font-weight: 500;
}

.why-us-card.features-card .summary-text {
  color: #ffffff !important;
  border-top-color: rgba(255, 255, 255, 0.3);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.why-us-card.features-card .feature-icon {
  filter: brightness(0) invert(1);
}

.why-us-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.why-us-card:first-child .why-us-icon {
  color: var(--green-accent);
  filter: drop-shadow(0 4px 8px rgba(126, 211, 33, 0.3));
}

.why-us-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.why-us-card.premium h3 {
  color: #ffffff;
}

.why-us-card p {
  color: var(--text-secondary);
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.7;
}

.why-us-card.premium p {
  color: rgba(255, 255, 255, 0.95);
}

/* ==================== PRODUCTS SECTION ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: #ffffff;
  border: 2px solid var(--card-border);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

body.light .product-card {
  background: var(--card-bg);
  border-color: var(--card-border);
}

.product-card:hover {
  transform: translateY(-15px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.product-card.service {
  background: linear-gradient(135deg, rgba(93, 173, 226, 0.1) 0%, rgba(46, 141, 181, 0.05) 100%);
}

.product-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.product-card:nth-child(2) .product-icon {
  color: var(--green-accent);
  filter: drop-shadow(0 4px 8px rgba(126, 211, 33, 0.3));
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  line-height: 1.6;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}

.btn-link {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* ==================== MODAL ==================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #ffffff;
  padding: 3.5rem;
  border-radius: 24px;
  max-width: 550px;
  width: 90%;
  border: 2px solid var(--card-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.light .modal-content {
  background: var(--card-bg);
  border-color: var(--card-border);
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  float: right;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
}

.modal-body {
  margin-bottom: 2.5rem;
}

.modal-icon {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.modal-body h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.modal-body p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.modal-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-color);
  margin: 2rem 0;
  letter-spacing: -0.5px;
}

.modal-details {
  background: linear-gradient(135deg, rgba(93, 173, 226, 0.1) 0%, rgba(46, 141, 181, 0.05) 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal-actions .btn {
  width: 100%;
  text-align: center;
  padding: 1.2rem;
}

/* ==================== CONTACTS & FOOTER ==================== */
.contacts {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
  color: #ffffff;
  padding-bottom: 4rem; /* Add some padding */
}

.contacts-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* Requisites Card Styles - Minimal Footer Style */
.requisites-card {
  background: transparent;
  backdrop-filter: none;
  border: none;
  padding: 0;
  width: 100%;
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: center;
  box-shadow: none;
  opacity: 1; 
  border-top: none;
}

.requisites-card p {
  font-size: 0.9rem !important; /* Slightly larger for readability on color */
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9); /* White text */
  font-weight: 500;
}

.requisites-card strong {
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.requisites-card a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.requisites-card a:hover {
  border-bottom-color: #ffffff;
}

.company-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.company-address {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-weight: 500;
}

.requisites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}

.req-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.req-item:hover {
  transform: none;
  background: transparent;
}

.req-item.full-width {
  grid-column: span 2;
  align-items: flex-start;
  text-align: left;
}

.req-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.req-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.req-value.mono {
  font-family: var(--font-main);
  letter-spacing: 1.5px;
  font-size: 1rem;
  overflow-wrap: break-word; /* Handle long IBAN on small screens */
  max-width: 100%;
}

.req-value.phone {
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
}

.req-value.phone:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .requisites-grid {
    grid-template-columns: 1fr;
  }
  
  .req-item.full-width {
    grid-column: span 1;
  }
  
  .requisites-card {
    padding: 1.5rem;
  }
}

.contacts .section-title {
  color: #ffffff;
}

.contacts-content {
  text-align: center;
  width: 100%;
}

.contacts-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-btn {
  padding: 1rem 2.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
  transition: all 0.3s ease;
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.social-btn:hover,
.social-btn:focus {
  background: #ffffff;
  color: var(--accent-color);
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  outline: none;
}

footer {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 2px solid var(--card-border);
  margin-top: 6rem;
  font-weight: 500;
}

/* ==================== MOBILE OPTIMIZATION ==================== */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  section { padding: 3rem 0; }
  .section-title { font-size: 1.75rem; margin-bottom: 2rem; }

  /* Hero - Switch to mobile version */
  .hero { min-height: auto; padding: 100px 0 40px; }
  .hero-desktop { display: none !important; }
  .hero-mobile { 
    display: block !important; 
    text-align: center;
  }
  .hero-mobile h1 { 
    font-size: 1.75rem; 
    line-height: 1.2; 
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .hero-mobile .brand-badge {
    margin: 0 auto 14px;
  }
  .hero-mobile .hero-buttons { 
    justify-content: center;
    flex-direction: row;
    gap: 0.8rem; 
  }
  .hero-mobile .btn { 
    padding: 0.9rem 1.5rem; 
    font-size: 0.95rem; 
    flex: 1;
  }

  /* Show employees section on mobile, hide About section */
  .employees-section { 
    display: block !important; 
    padding: 3rem 0;
  }
  .about { 
    display: none !important; 
  }

  .employees-scroll-mobile .employee-card {
    flex: 0 0 calc(100vw - 4rem);
    max-width: 280px;
    margin: 0 auto;
  }

  .employee-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 0.5rem;
  }

  .brand-badge {
    padding: 8px 12px;
    gap: 10px;
    margin: 0 auto 12px;
  }

  .brand-badge__logo {
    width: 40px;
    height: 40px;
  }

  .brand-badge__text strong {
    font-size: 0.8rem;
  }

  .brand-badge__text span {
    font-size: 0.7rem;
  }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-text h2 { font-size: 1.5rem; }
  .about-text p { font-size: 0.95rem; }

  /* Why Us - Simplify for mobile */
  .why-us { padding: 2rem 0; }
  .why-us-grid { 
    grid-template-columns: 1fr; 
    gap: 1.2rem; 
  }
  .why-us-card { padding: 1.5rem; }
  .why-us-icon { font-size: 2.5rem; margin-bottom: 1rem; }
  .why-us-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
  .why-us-card p { font-size: 0.9rem; }
  
  /* Hide some cards on mobile for simplicity */
  .why-us-card:nth-child(n+4) {
    display: none;
  }

  /* Products */
  .products-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .product-card { padding: 1.5rem; }
  .product-icon { font-size: 2.5rem; margin-bottom: 1rem; }
  .product-card h3 { font-size: 1.1rem; }
  .product-card p { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .product-price { font-size: 1.4rem; margin-bottom: 1rem; }

  /* Modal */
  .modal-content { padding: 2rem; }
  .modal-body h2 { font-size: 1.4rem; }
  .modal-body p { font-size: 0.95rem; }
  .modal-price { font-size: 1.8rem; }
  .modal-icon { font-size: 4rem; }

  /* Contacts */
  .contacts-content p { font-size: 1.2rem; margin-bottom: 2rem; }
  .social-btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }

  /* Nav */
  .nav { 
    width: 85%;
    padding: 0.8rem 1.2rem;
    gap: 1.2rem;
  }
  
  .nav a { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  section { padding: 2.5rem 0; }
  .section-title { font-size: 1.5rem; margin-bottom: 1.5rem; }

  /* Hero - Mobile optimized */
  .hero { padding: 90px 0 30px; }
  .hero-mobile h1 { font-size: 1.5rem; }
  .hero-mobile .hero-buttons { 
    flex-direction: column;
    gap: 0.6rem; 
  }
  .hero-mobile .btn { 
    width: 100%;
    padding: 0.8rem 1.2rem; 
    font-size: 0.9rem; 
  }

  .brand-badge {
    padding: 6px 10px;
    gap: 8px;
    margin: 0 auto 10px;
  }

  .brand-badge__logo {
    width: 36px;
    height: 36px;
  }

  .brand-badge__text strong {
    font-size: 0.75rem;
  }

  .brand-badge__text span {
    font-size: 0.65rem;
  }

  /* Employees mobile */
  .employees-section { padding: 2rem 0; }
  .employees-scroll-mobile .employee-card {
    flex: 0 0 calc(100vw - 3rem);
    max-width: 240px;
    margin: 0 auto;
  }
  .employee-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 0.5rem;
  }
  .employee-city {
    padding: 0.75rem;
    font-size: 0.7rem;
  }

  /* About */
  .about-image img { border-radius: 16px; }
  .about-text h2 { font-size: 1.3rem; margin-bottom: 1rem; }

  /* Why Us - Show only 2 cards */
  .why-us { padding: 2rem 0; }
  .why-us-grid { gap: 1rem; }
  .why-us-card { padding: 1.25rem; }
  .why-us-card:nth-child(n+3) {
    display: none;
  }
  .why-us-icon { font-size: 2rem; margin-bottom: 0.75rem; }
  .why-us-card h3 { font-size: 1rem; }
  .why-us-card p { font-size: 0.85rem; }

  /* Products */
  .products-grid { gap: 1rem; }
  .product-card { padding: 1.25rem; }
  .product-icon { font-size: 2rem; margin-bottom: 0.75rem; }
  .product-card h3 { font-size: 1rem; }
  .product-card p { font-size: 0.85rem; margin-bottom: 1rem; }
  .product-price { font-size: 1.2rem; }
  .btn-link { font-size: 0.85rem; }

  /* Modal */
  .modal-content { padding: 1.5rem; max-width: 90vw; }
  .modal-body h2 { font-size: 1.2rem; margin-bottom: 0.75rem; }
  .modal-body p { font-size: 0.85rem; margin-bottom: 1rem; }
  .modal-price { font-size: 1.5rem; margin: 1rem 0; }
  .modal-icon { font-size: 3rem; margin-bottom: 1rem; }
  .modal-details { padding: 1rem; font-size: 0.85rem; }
  .modal-close { font-size: 2rem; }

  /* Contacts */
  .contacts-content p { font-size: 1.1rem; margin-bottom: 1.5rem; }
  .social-btn { padding: 0.75rem 1.2rem; font-size: 0.85rem; }

  /* Nav */
  .nav { 
    width: 80%;
    padding: 0.7rem 1rem;
    gap: 1rem;
  }
  
  .nav a { font-size: 0.75rem; }

  /* Toggle */
  .toggle-language {
    width: 42px;
    height: 42px;
    font-size: 11px;
  }

  /* Burger */
  .burger {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .burger span {
    width: 22px;
    height: 2px;
    margin: 5px 0;
  }

  footer { padding: 1.5rem 0; margin-top: 3rem; font-size: 0.85rem; }
}


/* ==================== PRODUCTS CATALOG PAGE ==================== */

/* Hero for catalog page */
.hero-catalog {
  min-height: auto;
  background: #ffffff;
  color: var(--text-color);
  text-align: center;
  padding: 2rem 0 1rem 0; /* Reduced padding */
  margin-top: 80px;
}

.hero-catalog::before,
.hero-catalog::after {
  display: none;
}

.hero-catalog h1 {
  color: var(--text-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-catalog p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Catalog Section */
.products-catalog {
  padding: 2rem 0 4rem 0; /* Reduced top padding */
  background-color: var(--bg-color);
}

.products-catalog-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  animation: fadeInUp 0.8s ease backwards 0.2s;
}

.products-catalog-image {
  height: 400px;
  background: linear-gradient(135deg, #2E8DB5 0%, #5DADE2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(46, 141, 181, 0.2);
}

.products-catalog-image::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  top: -25%;
  left: -25%;
  animation: float 6s ease-in-out infinite;
}

.products-catalog-image::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(46, 141, 181, 0.1) 100%);
  z-index: 0;
}

.catalog-main-icon {
  font-size: 8rem;
  z-index: 1;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.products-catalog-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.2;
}

.products-catalog-text > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.products-features-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.products-features-list li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  line-height: 1.5;
}

.products-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 900;
  font-size: 1.3rem;
}

.products-catalog-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

.product-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-color);
  white-space: nowrap;
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .products-catalog-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .products-catalog-image {
    height: 300px;
  }

  .catalog-main-icon {
    font-size: 6rem;
  }

  .products-catalog-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .products-catalog {
    padding: 2.5rem 0;
  }

  .products-catalog-image {
    height: 250px;
  }

  .catalog-main-icon {
    font-size: 5rem;
  }

  .products-catalog-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .products-catalog-text > p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .products-features-list li {
    font-size: 0.9rem;
    padding: 0.6rem 0 0.6rem 1.8rem;
  }

  .products-catalog-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .btn-large {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .products-catalog {
    padding: 2rem 0;
  }

  .products-catalog-image {
    height: 200px;
  }

  .catalog-main-icon {
    font-size: 4rem;
  }

  .products-catalog-text h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .products-catalog-text > p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .products-features-list {
    margin: 1.5rem 0;
  }

  .products-features-list li {
    font-size: 0.85rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
  }

  .products-catalog-cta {
    padding-top: 1.5rem;
  }

  .product-price {
    font-size: 1.3rem;
  }
}


/* ==================== PRODUCTS SHOWCASE (HOME PAGE) ==================== */

.products-showcase {
  padding: 3rem 0;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--card-border); /* Subtle separation */
}

/* Simplified structure for just the button */
.products-showcase-text, 
.products-showcase-content {
  width: 100%;
  display: flex;
  justify-content: center;
}

.products-showcase-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  border: none; /* Removed border */
  margin: 0;
  padding: 0;
}

.products-showcase .btn-large {
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(11, 180, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.products-showcase .btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(11, 180, 255, 0.3);
}

.products-showcase .btn-large::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.products-showcase .btn-large:hover::after {
  left: 100%;
}

/* Clean up unused selectors if they are no longer in HTML */
.products-showcase-image,
.showcase-icon,
.products-showcase-features {
  display: none;
}

@media (max-width: 1024px) {
  .products-showcase-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .products-showcase-image {
    height: 300px;
  }

  .showcase-icon {
    font-size: 6rem;
  }

  .products-showcase-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .products-showcase {
    padding: 2.5rem 0;
  }

  .products-showcase-image {
    height: 250px;
  }

  .showcase-icon {
    font-size: 5rem;
  }

  .products-showcase-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .products-showcase-text > p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .products-showcase-features li {
    font-size: 0.9rem;
    padding: 0.6rem 0 0.6rem 1.8rem;
  }

  .products-showcase-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .showcase-price {
    font-size: 1.5rem;
  }

  .btn-large {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .products-showcase {
    padding: 2rem 0;
  }

  .products-showcase-image {
    height: 200px;
  }

  .showcase-icon {
    font-size: 4rem;
  }

  .products-showcase-text h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .products-showcase-text > p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .products-showcase-features {
    margin: 1.5rem 0;
  }

  .products-showcase-features li {
    font-size: 0.85rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
  }

  .products-showcase-cta {
    padding-top: 1.5rem;
  }

  .showcase-price {
    font-size: 1.3rem;
  }
}

/* ==================== PRODUCTS CATALOG GRID (PRODUCTS PAGE) ==================== */

.products-catalog {
  padding: 4rem 0;
  background-color: var(--bg-color);
}

.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.catalog-product-card {
  background: white;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 0 4px 20px rgba(46, 141, 181, 0.08);
  animation: fadeInUp 0.8s ease backwards;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.catalog-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  z-index: 2;
}

.catalog-product-card:nth-child(1) { animation-delay: 0.1s; }
.catalog-product-card:nth-child(2) { animation-delay: 0.2s; }
.catalog-product-card:nth-child(3) { animation-delay: 0.3s; }
.catalog-product-card:nth-child(4) { animation-delay: 0.4s; }
.catalog-product-card:nth-child(5) { animation-delay: 0.5s; }
.catalog-product-card:nth-child(6) { animation-delay: 0.6s; }

.catalog-product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(46, 141, 181, 0.15);
}

.catalog-product-card.service {
  border-top-color: #FF6B6B;
}

.catalog-product-card.service::before {
  background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
}

.catalog-product-card.service .catalog-product-image {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 142, 0.1) 100%);
}

.catalog-product-image {
  height: 260px;
  background: linear-gradient(135deg, #2E8DB5 0%, #5DADE2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden; /* Mask the slider */
}

.catalog-product-image::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  top: -25%;
  left: -25%;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.catalog-product-image::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(46, 141, 181, 0.1) 100%);
  z-index: 0;
  pointer-events: none;
}

.catalog-product-icon {
  font-size: 4rem;
  z-index: 1;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* ==================== PRODUCT GALLERY ==================== */
.product-gallery {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
  border-radius: 20px;
  background: linear-gradient(135deg, #2E8DB5 0%, #5DADE2 100%);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  z-index: 1;
}

.product-gallery::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  min-width: 85%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.gallery-slide.active {
  /* Active state handled by transform logic */
}

.gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  cursor: zoom-in; /* Show user it is clickable */
  pointer-events: none; /* iOS fix: prevent image drag/select */
  -webkit-user-drag: none;
}

.gallery-controls {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  z-index: 10;
  pointer-events: none;
}

.gallery-prev,
.gallery-next {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-prev:active,
.gallery-next:active {
  transform: scale(0.95);
}

@media (hover: hover) {
  .gallery-prev:hover,
  .gallery-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }
}

.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  pointer-events: none; /* Container passes clicks through */
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  pointer-events: auto; /* Dots catch clicks */
}

.dot.active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.2);
  border-color: var(--text-color);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.9);
}

.catalog-product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: white;
}

.catalog-product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.3;
}

.catalog-product-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.catalog-product-features p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  line-height: 1.5;
  font-weight: 500;
}

.catalog-product-features ul {
  list-style: none;
  margin-top: 0.8rem;
}

.catalog-product-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  padding-left: 1.8rem;
  position: relative;
  line-height: 1.4;
}

.catalog-product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 900;
  font-size: 1.1rem;
}

.catalog-product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin: 1.2rem 0;
  padding: 0.8rem 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums;
}

.catalog-product-card .btn {
  width: 100%;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-top: auto;
  font-weight: 600;
  border: none;
}

.product-purchase-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: auto;
  align-items: stretch;
}

.purchase-option {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
  background: #f8fafb;
  border-radius: 12px;
  border: 1px solid #e8ecf1;
  height: 100%;
}

.purchase-option .option-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purchase-option .catalog-product-price {
  margin: 0;
  padding: 0.5rem 0;
  border: none;
  font-size: 1.2rem;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums;
}

.purchase-option .btn {
  padding: 0.85rem 0.75rem;
  font-size: 0.95rem;
  margin-top: auto;
}

@media (max-width: 768px) {
  .hero-catalog h1 { font-size: 1.75rem; }
  .hero-catalog p { font-size: 1rem; }
  
  .products-catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .catalog-product-image { height: 200px; }
  .catalog-product-icon { font-size: 3rem; }
  
  .gallery-prev,
  .gallery-next {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    border-width: 1px;
  }
}

@media (max-width: 480px) {
  .hero-catalog { padding: 2rem 0; }
  .hero-catalog h1 { font-size: 1.5rem; }
  .hero-catalog p { font-size: 0.9rem; }
  
  .products-catalog { padding: 2rem 0; }
  .products-catalog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .catalog-product-card { border-radius: 12px; }
  .catalog-product-image { height: 260px; }
  
  .gallery-slide { min-width: 100%; } /* Force full width on mobile to avoid alignment issues */
  
  .catalog-product-icon { font-size: 2.5rem; }
  .catalog-product-info { padding: 1rem; }
  .catalog-product-info h3 { font-size: 1.1rem; }
  .catalog-product-features { margin-bottom: 1rem; }
  .catalog-product-features p { font-size: 0.85rem; }
  .catalog-product-features li { font-size: 0.8rem; padding-left: 1.2rem; }
  .catalog-product-price { font-size: 1.1rem; }
  .catalog-product-card .btn { padding: 0.75rem; font-size: 0.9rem; }
  
  .product-purchase-options {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  
  .purchase-option {
    padding: 0.7rem 0.8rem;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid #dce8f3;
    box-shadow: 0 4px 12px rgba(11, 180, 255, 0.08);
    align-items: center;
    text-align: center;
  }
  
  .purchase-option .option-title {
    font-size: 0.75rem;
    min-height: auto;
    line-height: 1.3;
  }
  
  .purchase-option .catalog-product-price {
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    padding: 0.25rem 0;
  }
  
  .purchase-option .btn {
    padding: 0.65rem 0.7rem;
    font-size: 0.85rem;
    width: 100%;
    border-radius: 8px;
  }
  
  .gallery-prev,
  .gallery-next {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .gallery-dots {
    bottom: 8px;
    gap: 6px;
  }
  
  .dot {
    width: 7px;
    height: 7px;
    border-width: 1px;
  }
}

/* ==================== INFO SECTION ==================== */
.info-section {
  padding: 5rem 0;
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.info-card {
  background: var(--bg-color);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==================== LIGHTBOX (FULLSCREEN IMAGE) ==================== */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#lightbox.active {
  display: flex;
  opacity: 1;
}

#lightbox-content {
  position: relative;
  width: 100%;
  height: 80%; /* Space for thumbnails */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.15s ease;
  user-select: none;
  cursor: grab;
  transform-origin: center center;
}

#lightbox-img:active {
  cursor: grabbing;
}

/* Lightbox Controls */
.lightbox-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2020;
  pointer-events: none;
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 12px;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  pointer-events: auto;
}

.lightbox-close {
  position: relative; 
  top: auto; 
  right: auto;
  pointer-events: auto;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2010;
  border-radius: 50%;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Lightbox Thumbnails */
#lightbox-thumbnails {
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
  z-index: 2020;
  background: rgba(0,0,0,0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox-thumb {
  height: 60px;
  width: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.6;
  flex-shrink: 0;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb:hover {
  opacity: 1;
}

.lightbox-thumb.active {
  border-color: var(--accent-color);
  opacity: 1;
  transform: scale(1.1);
}


/* Update: Add cursor pointer to show interaction available */
.gallery-slide img {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.gallery-slide img:active {
  transform: scale(0.98);
}

/* ==================== HERO CATALOG LOGO ==================== */
.hero-logo-simple {
  width: auto;
  max-width: 400px; /* Reduced from overly large size */
  height: auto;
  display: block;
  margin: 0 auto; /* Center horizontally */
  transition: transform 0.3s ease;
}

.hero-logo-simple:hover {
  transform: scale(1.02);
}

@keyframes logoFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-logo-simple {
    max-width: 280px;
  }
}
