/* ===== Base & Variables – Professional theme ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* MintX logo theme – mint, teal & dark blue */
  --black-primary: #0f172a;
  --black-dark: #020617;
  --black-light: #1e293b;
  --cream-primary: #fafafa;
  --cream-light: #f1f5f9;
  --cream-dark: #e2e8f0;
  --accent: #14b8a6;
  --accent-light: #2dd4bf;
  --accent-dark: #0d9488;
  --cream-gold: #2dd4bf;
  --teal-green: #14b8a6;
  --teal-green-light: #2dd4bf;
  --cream-beige: #0d9488;
  --black-cream-gradient: linear-gradient(135deg, #fafafa, #f1f5f9, #e2e8f0);
  --cream-gradient: linear-gradient(135deg, #fafafa, #f1f5f9, #e2e8f0);
  --rich-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #2dd4bf 100%);
  --gold-gradient: linear-gradient(135deg, #0d9488, #14b8a6);
  --teal-gradient: linear-gradient(135deg, #0d9488, #2dd4bf);
  --dark-bg: #fafafa;
  --dark-bg-light: #f1f5f9;
  --dark-bg-lighter: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(20, 184, 166, 0.25);
  --section-padding: clamp(3rem, 6vw, 5rem);
  --container-padding: clamp(1rem, 4vw, 3.75rem);
  --touch-min: 44px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: clamp(15px, 2vw, 16px);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

::selection {
  background: rgba(20, 184, 166, 0.25);
  color: var(--black-primary);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--teal-gradient);
  border-radius: 5px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes float3d {
  0%, 100% {
    transform: translateY(0) translateZ(0) rotateY(0deg) rotateX(0deg);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  }
  25% {
    transform: translateY(-6px) translateZ(8px) rotateY(2deg) rotateX(-1deg);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
  }
  50% {
    transform: translateY(-4px) translateZ(4px) rotateY(-1deg) rotateX(1deg);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.14));
  }
  75% {
    transform: translateY(-8px) translateZ(10px) rotateY(1deg) rotateX(-0.5deg);
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.16));
  }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* High-speed animations */
@keyframes fastFadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fastScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fastPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.92; transform: scale(1.02); }
}

@keyframes quickShine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ===== App & Main (App.css) ===== */
.App,
body {
  min-height: 100vh;
  position: relative;
  background: var(--dark-bg);
}

.main-content {
  position: relative;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 12s infinite ease-in-out;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--cream-gold);
  top: -200px;
  left: -200px;
  filter: blur(80px);
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--cream-primary);
  bottom: -150px;
  right: -150px;
  animation-delay: 5s;
  filter: blur(80px);
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: var(--cream-beige);
  top: 50%;
  right: 10%;
  animation-delay: 10s;
  filter: blur(80px);
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cream-gold);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 10s infinite ease-in-out;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glow-mint,
.glow-teal {
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.2);
}

.glow-mint:hover,
.glow-teal:hover {
  box-shadow: 0 0 32px rgba(20, 184, 166, 0.35);
}

section {
  padding: var(--section-padding) 0;
  position: relative;
  z-index: 1;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.gradient-text {
  background: var(--teal-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 2s ease infinite;
}

.btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
}

.btn-primary {
  background: var(--teal-gradient);
  color: #fff;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--teal-green);
  border: 2px solid var(--teal-green);
}

.btn-secondary:hover {
  background: var(--teal-green);
  color: var(--black-primary);
  transform: translateY(-2px) scale(1.02);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

@media (min-width: 1440px) {
  .container { max-width: 1280px; padding: 0 2.5rem; }
}

/* ===== Navbar – Professional & mobile-first ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.25rem 0;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  transition: background 0.18s ease, box-shadow 0.18s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  overflow: visible;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(20, 184, 166, 0.35);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 60px;
  max-height: 60px;
  overflow: visible;
  gap: 1rem;
}

.navbar-logo {
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  margin-top: -8px;
  margin-right: 0;
  flex-shrink: 0;
  order: -1;
  perspective: 1200px;
}

.navbar-logo img {
  height: clamp(220px, 40vw, 350px);
  width: auto;
  object-fit: contain;
  max-width: 380px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  display: block;
  animation: float3d 4s ease-in-out infinite;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

@media (max-width: 767px) {
  .navbar-container {
    min-height: 56px;
    max-height: 56px;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .navbar-logo img {
    height: 220px;
    max-height: 220px;
    max-width: 520px;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: float3d 4s ease-in-out infinite;
  }
  .navbar-logo {
    margin-top: 8px;
    align-items: flex-end;
    perspective: 1200px;
  }
}

.navbar-menu {
  display: none;
  list-style: none;
  gap: clamp(1rem, 2.5vw, 1.875rem);
  align-items: center;
  margin-left: auto;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
}

.mobile-menu-toggle {
  margin-left: auto;
}

.nav-link {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
  text-decoration: none;
  font-family: inherit;
}

.nav-link:hover,
.nav-link-career:hover {
  color: var(--teal-green);
}

.nav-link.active,
.nav-link-career.active {
  color: var(--teal-green);
}

.hamburger-span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--teal-green);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  z-index: 1003;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle.open .hamburger-span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open .hamburger-span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open .hamburger-span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: calc(64px + env(safe-area-inset-top)) 1rem 2rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1002;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: left;
  padding: 1rem 1rem;
  min-height: 48px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 12px;
  width: 100%;
  font-family: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-link:last-of-type {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--teal-green);
  background: rgba(20, 184, 166, 0.08);
}

.mobile-nav-link:active {
  background: rgba(20, 184, 166, 0.12);
}

@media (max-width: 360px) {
  .mobile-nav-link { font-size: 1rem; padding: 0.875rem 1rem; min-height: 44px; }
}

/* ===== Hero – Responsive & professional ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: clamp(100px, 18vw, 140px);
  padding-bottom: 3rem;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  animation: fastFadeInUp 0.4s ease-out both;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  animation: fastFadeInUp 0.35s ease-out 0.1s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fastFadeInUp 0.35s ease-out 0.2s both;
}

.hero-cta .btn {
  min-height: var(--touch-min);
  padding: 0.75rem 1.5rem;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.scroll-indicator {
  position: absolute;
  bottom: clamp(1rem, 4vw, 2.5rem);
  bottom: calc(clamp(1rem, 4vw, 2.5rem) + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  color: var(--teal-green);
  z-index: 10;
  animation: float 1.2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; max-width: 320px; margin: 0 auto; }
}

/* ===== Products ===== */
.products {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.75rem);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  animation: fastFadeInUp 0.35s ease-out both;
}

.section-subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  animation: fastFadeInUp 0.35s ease-out 0.06s both;
}

.product-card,
.feature-item,
.service-card,
.project-card {
  animation: fastScaleIn 0.35s ease-out both;
}

.product-card { animation-delay: 0.05s; }
.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(1) { animation-delay: 0.08s; }
.service-card:nth-child(2) { animation-delay: 0.13s; }
.project-card:nth-child(1) { animation-delay: 0.05s; }
.project-card:nth-child(2) { animation-delay: 0.1s; }
.project-card:nth-child(3) { animation-delay: 0.15s; }
.project-card:nth-child(4) { animation-delay: 0.2s; }
.project-card:nth-child(5) { animation-delay: 0.25s; }
.project-card:nth-child(6) { animation-delay: 0.3s; }
.project-card:nth-child(7) { animation-delay: 0.35s; }
.project-card:nth-child(8) { animation-delay: 0.4s; }

.product-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.75rem);
}

.product-card {
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(20, 184, 166, 0.2);
}

.product-header {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.product-logo {
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.product-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

.product-description strong {
  color: var(--teal-green);
}

.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1.25rem;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  flex: 1;
  min-width: 200px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.highlight-item:hover {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.25);
}

.product-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 0.875rem 1.75rem;
  background: var(--teal-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

.product-link-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.features-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-primary);
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.feature-item {
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) {
  .feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(20, 184, 166, 0.2);
  }
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-flow {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.product-flow:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(20, 184, 166, 0.15);
}

.flow-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-primary);
  text-align: center;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 2rem);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  background: rgba(20, 184, 166, 0.04);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.step-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
}

.step-arrow {
  font-size: 2rem;
  color: var(--teal-green);
  margin: 10px 0;
}

@media (max-width: 480px) {
  .product-logo { max-width: 200px; }
  .flow-steps { padding: 1.5rem 1rem; }
  .product-flow { padding: 1.5rem 1rem; }
}

/* ===== Services ===== */
.services {
  padding: var(--section-padding) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.service-card {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 1.875rem);
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(20, 184, 166, 0.2);
  }
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .service-title { font-size: 1.1rem; }
  .service-icon { font-size: 2.5rem; }
}

/* ===== Testimonials / Projects ===== */
.testimonials {
  padding: var(--section-padding) 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.project-card {
  padding: clamp(1.25rem, 2.5vw, 1.875rem);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 220px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) {
  .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(20, 184, 166, 0.2);
  }
}

.project-logo-container {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.project-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-logo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: var(--teal-green);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem 1rem;
}

.projects-empty a {
  color: var(--teal-green);
  text-decoration: none;
}

.projects-empty a:hover {
  text-decoration: underline;
}

.project-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.project-card:hover .project-name {
  color: var(--teal-green);
}

.project-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-green);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: auto;
}

@media (max-width: 480px) {
  .project-card { min-height: 200px; }
  .project-logo-container { height: 72px; }
}

/* ===== Blog ===== */
.blog {
  padding: var(--section-padding) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.blog-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) {
  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(20, 184, 166, 0.2);
  }
}

.blog-card-placeholder {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.blog-card-icon {
  font-size: 2.5rem;
  opacity: 0.9;
  color: var(--teal-green);
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== About Us ===== */
.about-us {
  padding: var(--section-padding) 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.about-text {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-text:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(20, 184, 166, 0.15);
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-description:last-child {
  margin-bottom: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .contact-info-grid { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
}

.contact-info-card {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  text-align: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: block;
  min-height: var(--touch-min);
}

@media (hover: hover) {
  .contact-info-card.clickable:hover {
    background: rgba(20, 184, 166, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(20, 184, 166, 0.2);
  }
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--teal-green);
}

.contact-icon svg {
  width: 48px;
  height: 48px;
}

.contact-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-green);
  text-decoration: none;
  display: block;
}

@media (max-width: 480px) {
  .contact-info-card { padding: 1.25rem 1rem; }
  .contact-icon { font-size: 2.25rem; }
}

/* ===== Contact Form ===== */
.contact-us {
  padding: var(--section-padding) 0;
}

.contact-form-container {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.contact-form:focus-within {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(20, 184, 166, 0.2);
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  min-height: var(--touch-min);
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--teal-green);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form-input::placeholder {
  color: transparent;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--text-secondary);
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
  background: var(--dark-bg);
  padding: 0 8px;
}

.form-label.focused {
  top: -12px;
  left: 12px;
  font-size: 14px;
  color: var(--teal-green);
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1rem;
  padding: 1rem;
  min-height: var(--touch-min);
}

.home-arrow-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  padding-bottom: 20px;
}

.home-arrow-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  border: 2px solid var(--teal-green);
  border-radius: 50px;
  padding: 15px 25px;
  color: var(--teal-green);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s ease;
}

.home-arrow-btn:hover {
  background: rgba(20, 184, 166, 0.1);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.25);
}

@media (max-width: 480px) {
  .contact-form { padding: 1.5rem 1.25rem; }
  .form-group { margin-bottom: 1.25rem; }
}

/* ===== Footer – UI with icons ===== */
.footer {
  background: #fff;
  border-top: 1px solid rgba(20, 184, 166, 0.2);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.04);
  padding: clamp(2.25rem, 6vw, 3.5rem) 0 0;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  position: relative;
  z-index: 100;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 2.5rem);
  text-align: center;
  padding-bottom: clamp(2rem, 4vw, 2.5rem);
}

@media (min-width: 640px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .footer-top {
    grid-template-columns: 1.4fr 0.7fr 0.9fr 1.1fr 0.8fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-brand { align-items: flex-start; }
}

.footer-logo {
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.88;
}

.footer-logo:focus-visible {
  outline: 2px solid var(--teal-green);
  outline-offset: 4px;
}

.footer-logo img {
  height: clamp(88px, 20vw, 150px);
  width: auto;
  object-fit: contain;
  max-width: 260px;
  display: block;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: clamp(0.9375rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  max-width: 320px;
}

.footer-about {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.footer-nav,
.footer-services,
.footer-contact,
.footer-locations {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-nav,
  .footer-services,
  .footer-contact,
  .footer-locations {
    align-items: flex-start;
  }
}

.footer-services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-services-list li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.footer-nav-label {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.footer-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-nav-link:hover {
  color: var(--teal-green);
}

/* Get in touch – icon + text links */
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--teal-green);
}

@media (hover: hover) {
  .footer-contact-link:hover {
    background: rgba(20, 184, 166, 0.08);
  }
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-contact-link:hover .footer-contact-icon {
  color: var(--teal-green);
}

.footer-contact-icon-wa {
  color: #25d366;
}

.footer-contact-link:hover .footer-contact-icon-wa {
  color: #20bd5a;
}

.footer-contact-icon-ig {
  color: #e4405f;
}

.footer-contact-link:hover .footer-contact-icon-ig {
  color: #c13584;
}

.footer-location-item {
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0;
}

.footer-location-item .footer-contact-icon {
  color: var(--text-secondary);
}

.footer-bottom {
  padding: clamp(1rem, 2.5vw, 1.25rem) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8fafc;
  text-align: center;
}

.footer-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(0.8125rem, 1vw, 0.875rem);
  font-weight: 500;
}

/* ===== WhatsApp Button – Safe area & touch ===== */
.whatsapp-button {
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  right: calc(1.25rem + env(safe-area-inset-right));
  width: clamp(52px, 12vw, 56px);
  height: clamp(52px, 12vw, 56px);
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: white;
}

.whatsapp-button:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transform: scale(1.05);
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
}

@media (max-width: 480px) {
  .whatsapp-tooltip { display: none; }
}

/* ===== Mobile – Professional responsive UI ===== */
@media (max-width: 767px) {
  html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
  }

  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  section {
    padding-top: clamp(2.5rem, 8vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 8vw, 3.5rem);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .section-header {
    margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.9375rem;
    line-height: 1.6;
    padding: 0 0.5rem;
  }

  .hero {
    padding-top: calc(clamp(5rem, 20vw, 7rem) + env(safe-area-inset-top));
    padding-bottom: clamp(2rem, 6vw, 3rem);
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
  }

  .hero-cta {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta .btn {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .product-card,
  .service-card,
  .about-text,
  .contact-form {
    padding-left: max(1.25rem, calc(1rem + env(safe-area-inset-left)));
    padding-right: max(1.25rem, calc(1rem + env(safe-area-inset-right)));
  }

  .feature-item {
    padding: 1.5rem 1.25rem;
  }

  .product-flow {
    padding: 1.5rem 1.25rem;
  }

  .flow-steps {
    padding: 1.5rem 1rem;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .footer {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-top: clamp(1.5rem, 5vw, 2rem);
  }

  .footer-logo img {
    height: clamp(64px, 18vw, 96px);
    max-width: 200px;
  }

  .footer-tagline,
  .footer-contact-link,
  .footer-nav-link {
    font-size: 0.9375rem;
  }

  .footer-bottom {
    padding-top: 0.875rem;
  }

  .footer-copy {
    font-size: 0.8125rem;
  }

  .scroll-indicator {
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: max(0.875rem, env(safe-area-inset-left));
    padding-right: max(0.875rem, env(safe-area-inset-right));
  }

  .section-title {
    font-size: clamp(1.375rem, 6.5vw, 1.75rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .product-card {
    padding: 1.5rem 1rem;
  }

  .product-highlights {
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .highlight-item {
    min-width: 100%;
  }

  .service-card,
  .project-card {
    padding: 1.25rem 1rem;
  }

  .project-card {
    min-height: 200px;
  }

  .project-logo-container {
    height: 80px;
    margin-bottom: 1rem;
  }

  .contact-info-card {
    padding: 1.25rem 1rem;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .form-input {
    padding: 0.875rem 1rem;
    min-height: 48px;
  }

  .form-label {
    left: 1rem;
  }

  .home-arrow-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
  }

  .footer-top {
    gap: 1.5rem;
  }

  .footer-contact {
    gap: 0.5rem;
  }

  .footer-contact-link {
    padding: 0.35rem 0;
    min-height: 44px;
  }

  .whatsapp-button {
    bottom: calc(1rem + env(safe-area-inset-bottom));
    right: max(1rem, env(safe-area-inset-right));
  }
}

@media (max-width: 360px) {
  .section-title {
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: 1.375rem;
  }

  .product-card,
  .service-card,
  .contact-info-card {
    padding: 1.25rem 0.875rem;
  }
}
