:root {
  --color-primary: #00B4D8;
  --color-primary-dark: #0096C7;
  --color-secondary: #00D9FF;
  --color-tertiary: #FF006E;
  --color-accent: #FFB703;
  --color-accent-light: #FFD60A;
  --color-accent-vibrant: #8338EC;
  --color-dark: #001D3D;
  --color-muted: #495057;
  --color-bg: #ffffff;
  --color-white: #ffffff;
  --color-gray-light: #f0f9ff;
  --color-gray-medium: #cfe9f3;
  --shadow-soft: 0 8px 24px rgba(0, 180, 216, 0.08);
  --shadow-medium: 0 12px 32px rgba(0, 180, 216, 0.12);
  --shadow-lg: 0 20px 48px rgba(0, 180, 216, 0.15);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  
  /* Gradient backgrounds */
  --gradient-primary: linear-gradient(135deg, #00B4D8 0%, #00D9FF 100%);
  --gradient-vibrant: linear-gradient(135deg, #FF006E 0%, #8338EC 50%, #3A86FF 100%);
  --gradient-warm: linear-gradient(135deg, #FFB703 0%, #FF006E 100%);
  --gradient-cool: linear-gradient(135deg, #00B4D8 0%, #00D9FF 50%, #3A86FF 100%);
  --gradient-sunset: linear-gradient(135deg, #FF006E 0%, #FFB703 100%);
  
  /* Dark mode colors */
  --dm-bg: #0a0e27;
  --dm-bg-secondary: #1a1f3a;
  --dm-text: #e8f4f8;
  --dm-text-muted: #a0c4d4;
  --dm-border: #2d3f5e;
}

body.dark-mode {
  background-color: var(--dm-bg);
  color: var(--dm-text);
}

body.dark-mode .card,
body.dark-mode .contact-form,
body.dark-mode .contact-info {
  background: linear-gradient(135deg, var(--dm-bg-secondary) 0%, #1e2a45 100%);
  border-color: var(--dm-border);
  color: var(--dm-text);
}

body.dark-mode .section-alt {
  background: linear-gradient(135deg, #1a1f3a 0%, #0f1929 100%);
}

body.dark-mode .header {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.98) 0%, rgba(26, 31, 58, 0.98) 100%);
  border-bottom: 1px solid var(--dm-border);
}

body.dark-mode .nav-dropdown {
  background: linear-gradient(135deg, var(--dm-bg-secondary) 0%, #1e2a45 100%);
  color: var(--dm-text);
}

body.dark-mode .nav-dropdown li a {
  color: var(--dm-text-muted);
}

body.dark-mode .nav-dropdown li a:hover {
  background: rgba(0, 180, 216, 0.2);
  color: var(--dm-text);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
  color: var(--dm-text);
}

body.dark-mode p,
body.dark-mode .section-subtitle {
  color: var(--dm-text-muted);
}

body.dark-mode .solution-card {
  background: linear-gradient(135deg, var(--dm-bg-secondary) 0%, #1e2a45 100%);
  border: 1px solid var(--dm-border);
}

body.dark-mode .section-title {
  color: var(--dm-text);
}

body.dark-mode {
  background-color: var(--dm-bg);
  color: var(--dm-text);
}

body.dark-mode .card,
body.dark-mode .contact-form,
body.dark-mode .contact-info {
  background-color: var(--dm-bg-secondary);
  border-color: var(--dm-border);
  color: var(--dm-text);
}

body.dark-mode .section-alt {
  background-color: #1e293b;
}

body.dark-mode .header {
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom-color: var(--dm-border);
}

body.dark-mode .nav-dropdown {
  background: var(--dm-bg-secondary);
  color: var(--dm-text);
}

body.dark-mode .nav-dropdown li a {
  color: var(--dm-text-muted);
}

body.dark-mode .nav-dropdown li a:hover {
  background: #334155;
  color: var(--dm-text);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
  color: var(--dm-text);
}

body.dark-mode p,
body.dark-mode .section-subtitle {
  color: var(--dm-text-muted);
}

body.dark-mode .solution-card {
  background: var(--dm-bg-secondary);
  border: 1px solid var(--dm-border);
}

body.dark-mode .section-title {
  color: var(--dm-text);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--color-bg);
  color: var(--color-dark);
  text-align: justify;
}

body > * {
  text-align: justify;
}

/* Layout helpers */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(135deg, #f0f9ff 0%, #cfe9f3 100%);
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.75rem;
  background: var(--gradient-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .section-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: justify;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 0.98rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(224, 247, 255, 0.6));
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #e0f7ff;
}

/* Enhanced header visuals */
.header {
  transition: background-color 200ms ease, box-shadow 200ms ease, padding 180ms ease;
}

.header.scrolled {
  /* keep original header background; only add subtle shadow on scroll */
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.1);
}

.header-inner {
  transition: padding 180ms ease, transform 200ms ease;
}

.header.scrolled .header-inner {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.3rem 0; /* reduced vertical padding to lower header height */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-image,
.logo img {
  height: 56px; /* main logo height reduced */
  width: auto;
  display: block;
}

@media (max-width: 920px) {
  .logo-image,
  .logo img {
    height: 48px;
  }
}

@media (max-width: 720px) {
  .logo-image,
  .logo img {
    height: 40px;
  }
}

.logo-mark {
  background: linear-gradient(135deg, #0b73f0, #14b8a6);
  color: var(--color-white);
  padding: 0.4rem 0.7rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
}

.logo-text {
  color: var(--color-dark);
  font-size: 1rem;
}

.nav {
  display: flex;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--color-primary);
}

.nav a:hover::after {
  width: 100%;
}

/* New header layout helpers */
.nav-list {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-list li a {
  position: relative;
  padding: 0.35rem 0.2rem;
  color: var(--color-muted);
  transition: color 160ms ease;
}

.nav-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  width: 0;
  margin: 0 auto;
  background: var(--gradient-primary);
  border-radius: 0;
  transition: width 220ms cubic-bezier(.2,.9,.2,1);
}

.nav-list li a:hover,
.nav-list li a:focus {
  color: var(--color-primary);
}

.nav-list li a:hover::after,
.nav-list li a:focus::after,
.nav-list li a.active::after {
  width: 56%;
}

.nav-list li a {
  display: inline-block;
  padding: 0.4rem 0.2rem;
}

/* Products dropdown in header */
.nav-item-has-dropdown > .nav-link-with-caret::after {
  content: "\25BE"; /* small down arrow */
  margin-left: 0.25rem;
  font-size: 0.72rem;
}

.nav-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  min-width: 220px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(15,23,42,0.2);
  padding: 0.75rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s 250ms;
  transform: translateY(-4px);
  visibility: hidden;
  z-index: 160;
}

.nav-item-has-dropdown {
  position: relative;
}

.nav-item-has-dropdown::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -15px;
  right: -15px;
  height: 8px;
  background: transparent;
  z-index: 161;
}

.nav-dropdown li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-dark);
  font-size: 0.9rem;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-dropdown li a:hover {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 217, 255, 0.1));
  color: var(--color-primary);
  border-left: 3px solid var(--color-primary);
  padding-left: calc(1rem - 3px);
}

.nav-item-has-dropdown:hover > .nav-dropdown,
.nav-item-has-dropdown:focus-within > .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s;
}

@media (max-width: 720px) {
  .nav-item-has-dropdown {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    box-shadow: none;
    padding-left: 0.5rem;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.header-right,
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-cta {
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
}

.header-cta {
  background: #000000;
  color: white;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  background: #1a1a1a;
}

/* Header contact block (right) */
.header-contact {
  text-align: right;
  margin-right: 0.4rem;
}

.header-contact .phone-number {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
}

body.dark-mode .header-contact .phone-number {
  color: var(--color-secondary);
}

.header-contact .phone-sub {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

@media (max-width: 920px) {
  .header-contact .phone-number {
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .header-contact {
    display: none; /* hide phone on small screens */
  }
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Mobile: stack nav as a drawer */
@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(243, 244, 246, 0.98);
    flex-direction: column;
    padding: 0.8rem 1rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: none;
    z-index: 150;
  }

  .nav.show {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.6rem;
  }

  .header-right {
    gap: 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid #d1d5db;
  background: var(--color-white);
  padding: 0 0.5rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: var(--radius-sm);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-toggle span {
  transition: transform 200ms ease, opacity 160ms ease;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw + 1rem, 2.6rem);
  margin: 0 0 1rem;
  background: var(--gradient-vibrant);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.hero-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-icons img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.hero-icon-slot {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.hero-text p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: 0.98rem;
  max-width: 520px;
  text-align: justify;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero-highlights li::before {
  content: "•";
  color: #000000;
  margin-right: 0.4rem;
}

/* Hero media */
.hero-media {
  position: relative;
  min-height: 220px;
}

.hero-screen {
  position: absolute;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 55%);
  box-shadow: var(--shadow-soft);
  color: #e5e7eb;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
}

.hero-screen-main {
  inset: 0;
}

.hero-screen-secondary {
  width: 55%;
  height: 55%;
  right: -6%;
  bottom: -4%;
  transform: rotate(-4deg);
  opacity: 0.95;
}

.hero-screen span {
  z-index: 1;
}

/* Hero cards layout and animation */
.hero-cards {
  position: relative;
  width: 100%;
  /* Slightly taller aspect so images show more vertical area */
  aspect-ratio: 16 / 9;
  min-height: 260px;
  display: block;
}

.hero-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(96%, 1200px);
  height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform-origin: center center;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1), opacity 400ms ease, box-shadow 400ms ease;
  opacity: 0;
  display: block;
  background: #ffffff;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform-origin: center center;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1), opacity 600ms ease, filter 600ms ease;
  filter: grayscale(0%) contrast(1.05) brightness(1);
}

.hero-card[data-title]::after {
  content: attr(data-title);
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.9) 100%);
  padding: 1rem 1.75rem;
  padding-left: 2.5rem;
  border-radius: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 1rem;
  letter-spacing: 0.04em;
  z-index: 10;
  width: auto;
  max-width: 85%;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
  text-transform: uppercase;
  line-height: 1.3;
  clip-path: polygon(0 0, calc(100% - 30px) 0, calc(100% - 15px) 15px, calc(100% - 5px) 25px, 100% 30px, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, calc(100% - 30px) 0, calc(100% - 15px) 15px, calc(100% - 5px) 25px, 100% 30px, 100% 100%, 0 100%);
}

/* Front (center) card: larger, highest contrast */
.hero-card.pos-1 {
  transform: translateX(0) scale(1.05) rotate(0deg);
  opacity: 1;
  z-index: 5;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.hero-card.pos-1 img {
  filter: grayscale(0%) contrast(1.05) brightness(1);
}

/* Side cards: smaller, more translucent */
.hero-card.pos-0 {
  transform: translateX(-8%) scale(0.88) rotate(-2deg);
  opacity: 0.4;
  z-index: 1;
  filter: grayscale(30%) blur(1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-card.pos-0 img {
  filter: grayscale(40%) contrast(0.95) brightness(0.9);
}

.hero-card.pos-2 {
  transform: translateX(8%) scale(0.88) rotate(2deg);
  opacity: 0.4;
  z-index: 2;
  filter: grayscale(30%) blur(1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-card.pos-2 img {
  filter: grayscale(40%) contrast(0.95) brightness(0.9);
}
@media (max-width: 1200px) {
  .hero-card { width: min(96%, 980px); }
}

@media (max-width: 920px) {
  .hero-cards { aspect-ratio: 16 / 9; }
  .hero-card { width: min(96%, 760px); }
}

@media (max-width: 720px) {
  .hero-card { width: min(98%, 520px); }
  .hero-card[data-title]::after { 
    right: 0; 
    bottom: 0; 
    left: auto;
    font-size: 0.9rem; 
    padding: 0.75rem 1.25rem;
    padding-left: 1.75rem;
    max-width: 90%;
    clip-path: polygon(0 0, calc(100% - 25px) 0, calc(100% - 12px) 12px, calc(100% - 4px) 20px, 100% 25px, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, calc(100% - 25px) 0, calc(100% - 12px) 12px, calc(100% - 4px) 20px, 100% 25px, 100% 100%, 0 100%);
  }
}

/* Generic cards & grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.solutions-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.08);
  border: 1px solid #e0f7ff;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 180, 216, 0.15);
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #ffffff 0%, #e0f7ff 100%);
}

/* Products full-screen slideshow */
.section-products-full {
  padding-top: 3.5rem;
}

/* IFPD Special Features layout */
.ifpd-special-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 960px) {
  .ifpd-special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .ifpd-special-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

.ifpd-feature {
  text-align: left;
  padding: 2rem 1.75rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.ifpd-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #000000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ifpd-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #000000;
}

.ifpd-feature:hover::before {
  transform: scaleX(1);
}

.ifpd-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
  border: 1px solid #e0e0e0;
}

.ifpd-feature:hover .ifpd-icon {
  transform: scale(1.05);
  background: #000000;
  border-color: #000000;
}

.ifpd-icon img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  display: block;
}

.ifpd-feature h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.ifpd-feature p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--color-muted);
  line-height: 1.6;
  text-align: justify;
}

/* IFPD tabs (Features / Downloads) */
.ifpd-tabs {
  margin-top: 3rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.ifpd-tabs-header {
  display: flex;
  border-bottom: 2px solid #f3f4f6;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
  gap: 0.25rem;
  padding: 0.5rem;
}

.ifpd-tab {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  color: #4a4a4a;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.ifpd-tab:hover {
  color: #000000;
  background: #f5f5f5;
}

.ifpd-tab.active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.ifpd-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: #000000;
  border-radius: 0;
}

.ifpd-tabs-body {
  padding: 2rem 2rem 2.25rem;
  background: #ffffff;
}

.ifpd-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ifpd-tab-panel.active {
  display: block;
}

.ifpd-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.ifpd-downloads p {
  margin: 0 0 0.5rem;
  color: var(--color-muted);
  font-size: 0.94rem;
  text-align: justify;
}

@media (max-width: 600px) {
  .ifpd-downloads {
    flex-direction: column;
  }
}

/* Product Hero (for IFP and LED TV pages) */
.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.product-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-hero-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3vw + 1rem, 2.2rem);
}

.product-hero-lead {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.5;
}

.product-hero-body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
  text-align: justify;
}

.product-hero-highlights {
  margin-top: 0.5rem;
}

.product-hero-subtitle {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.94rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.product-feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000000;
  font-weight: bold;
  font-size: 1.2rem;
}

.product-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 300px;
}

.product-hero-card {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #ffffff;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.product-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.product-hero-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
  filter: grayscale(0%) contrast(1.05);
}

.product-hero-card:hover img {
  transform: scale(1.02);
  filter: grayscale(0%) contrast(1.1);
}

/* Hero cards in product pages */
.product-hero-media .hero-cards,
.kiosk-hero-media .hero-cards,
.videowall-hero-media .hero-cards,
.cctv-hero-media .hero-cards {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  display: block;
  background: transparent;
}

.product-hero-media .hero-card,
.kiosk-hero-media .hero-card,
.videowall-hero-media .hero-card,
.cctv-hero-media .hero-card {
  width: min(96%, 600px);
}

@media (max-width: 900px) {
  .product-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-hero-media {
    order: -1;
  }
}

/* ===== NEW PRODUCTS SECTION - Modern Card Grid ===== */
.section-products {
  padding: 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.section-products .container {
  width: min(1200px, 100% - 3rem);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 217, 255, 0.15));
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.products-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.product-card-new {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 180, 216, 0.15);
  border-color: var(--color-primary);
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.35rem 0.9rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4f8, #e0eaf0);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Make the entire image area clickable and preserve hover effects */
.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.product-image-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-new:hover .product-image {
  transform: scale(1.08);
}

.product-image-overlay {
  position: absolute;
  inset: 0;
  /* default (light mode) overlay: white background with dark text for legibility */
  background: rgba(255,255,255,0.95);
  color: #08121a;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem;
  text-align: center;
}

.product-card-new:hover .product-image-overlay {
  opacity: 1;
}

.product-overlay-content {
  color: #ffffff;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  width: 100%;
}

.product-card-new:hover .product-overlay-content {
  transform: translateY(0);
}

.product-overlay-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-overlay-desc {
  font-size: 0.82rem;
  margin: 0 0 0.75rem;
  line-height: 1.5;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* On hover: subtle thin border and gentle darken for legibility */
.product-card-new:hover .product-image-wrapper {
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.75);
}

.product-card-new:hover .product-image-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.22) 60%);
}

.product-overlay-content {
  color: inherit;
  transform: translateY(14px);
  transition: transform 0.35s ease, opacity 0.35s ease;
  width: 100%;
  opacity: 0;
}

.product-card-new:hover .product-overlay-content {
  transform: translateY(0);
  opacity: 1;
}

.product-overlay-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: inherit;
  margin: 0 0 0.25rem;
}

/* Minimal overlay styling to match provided reference image */
.product-overlay-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.product-overlay-desc {
  font-size: 0.85rem;
  margin-top: 0.25rem;
  color: inherit;
  max-width: 86%;
  margin-left: auto;
  margin-right: auto;
}

/* Product overlay features removed: keep selector hidden in case markup returns */
.product-overlay-features {
  display: none !important;
}

/* Make thin border stand out on hover like the image reference */
.product-card-new:hover .product-image-wrapper {
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}

.product-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 6px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.28s ease 0.08s;
  border: 1px solid rgba(0,0,0,0.08);
}

.product-card-new:hover .product-view-btn {
  transform: translateY(0);
  opacity: 1;
}

.product-view-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px) !important;
}

/* Dark mode: invert overlay colors */
body.dark-mode .product-image-overlay {
  background: rgba(0,0,0,0.85);
  color: #ffffff;
}

body.dark-mode .product-view-btn {
  border-color: rgba(255,255,255,0.12);
}

.product-view-btn svg {
  width: 14px;
  height: 14px;
}

.product-content {
  padding: 1.5rem;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 217, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.product-card-new:hover .product-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  transform: scale(1.1);
}

.product-icon svg {
  width: 24px;
  height: 24px;
}

.product-name {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.product-desc {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.product-features li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  padding: 0.5rem 0;
}

.product-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.product-link:hover {
  color: var(--color-primary-dark);
}

.product-link:hover svg {
  transform: translateX(4px);
}

/* Dark mode for new products section */
body.dark-mode .section-products {
  background: linear-gradient(180deg, var(--dm-bg) 0%, var(--dm-bg-secondary) 100%);
}

body.dark-mode .product-card-new {
  background: var(--dm-bg-secondary);
  border-color: var(--dm-border);
}

body.dark-mode .product-card-new:hover {
  border-color: var(--color-primary);
}

body.dark-mode .product-name {
  color: var(--dm-text);
}

body.dark-mode .product-desc,
body.dark-mode .product-features li {
  color: var(--dm-text-muted);
}

body.dark-mode .product-icon {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 217, 255, 0.15));
}

body.dark-mode .product-image-wrapper {
  background: linear-gradient(135deg, #1a2a3a, #0f1a25);
}

/* Responsive */
@media (max-width: 960px) {
  .products-grid-new {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .products-grid-new {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  
  .section-products {
    padding: 3.5rem 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
}

/* Keep old products showcase styles for backward compatibility but hide by default */
.products-showcase {
  display: none;
}

.products-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.products-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 600ms ease, transform 800ms cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}

.products-slide-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  top: auto;
  transform: none;
  max-width: 85%;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.9) 100%);
  color: #ffffff;
  padding: 1rem 1.75rem;
  padding-left: 2.5rem;
  border-radius: 0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  transition: opacity 420ms ease, transform 420ms ease;
  opacity: 1;
  z-index: 10;
  clip-path: polygon(0 0, calc(100% - 30px) 0, calc(100% - 15px) 15px, calc(100% - 5px) 25px, 100% 30px, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, calc(100% - 30px) 0, calc(100% - 15px) 15px, calc(100% - 5px) 25px, 100% 30px, 100% 100%, 0 100%);
}

.products-slide-info h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.products-slide-info p {
  margin: 0;
  font-size: 0.85rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  opacity: 0.95;
  text-align: justify;
}

.products-slide-info ul {
  margin: 0;
  padding-left: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  list-style: none;
}

.products-slide-info:hover ul {
  max-height: 8rem;
  opacity: 1;
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.products-slide-info ul li {
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.products-queue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.products-queue-item {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(148, 163, 184, 0.7);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

.products-queue-item:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.9);
}

.products-queue-item.active {
  background: #f9fafb;
  color: #111827;
  border-color: transparent;
}

.products-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  display: none; /* hide arrow buttons, use dots only */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.products-nav:hover {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.7);
  transform: translateY(-50%) translateY(-1px);
}

.products-nav-prev {
  left: 1rem;
}

.products-nav-next {
  right: 1rem;
}

@media (max-width: 840px) {
  .products-slide-info {
    right: 0;
    bottom: 0;
    left: auto;
    top: auto;
    transform: none;
    max-width: 90%;
    padding: 0.85rem 1.5rem;
    padding-left: 2rem;
    clip-path: polygon(0 0, calc(100% - 25px) 0, calc(100% - 12px) 12px, calc(100% - 4px) 20px, 100% 25px, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, calc(100% - 25px) 0, calc(100% - 12px) 12px, calc(100% - 4px) 20px, 100% 25px, 100% 100%, 0 100%);
  }

  .products-slide-info h3 {
    font-size: 1.2rem;
  }

  .products-queue {
    bottom: 1.2rem;
    width: 100%;
    padding-inline: 1rem;
  }

  .products-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .products-slide-info {
    right: 0;
    bottom: 0;
    max-width: 95%;
    padding: 0.75rem 1.25rem;
    padding-left: 1.75rem;
    clip-path: polygon(0 0, calc(100% - 20px) 0, calc(100% - 10px) 10px, calc(100% - 3px) 18px, 100% 20px, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, calc(100% - 20px) 0, calc(100% - 10px) 10px, calc(100% - 3px) 18px, 100% 20px, 100% 100%, 0 100%);
  }

  .products-slide-info h3 {
    font-size: 1rem;
  }
}

.product-card h3,
.solution-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.product-card p,
.solution-card p {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  text-align: justify;
}

.solution-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
  padding: 1rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
  filter: grayscale(0%) contrast(1.05);
}

.solution-card:hover .solution-image {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.1);
}

.icon-container {
  font-size: 4rem;
  color: #000000 !important;
  margin-bottom: 1rem;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.icon-container i {
  color: #000000 !important;
  display: block;
}

.solution-card:hover .icon-container {
  transform: scale(1.1);
}

.solution-card:hover .icon-container i {
  color: #000000 !important;
}

.product-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-dark);
}

/* Kiosk page specific layout */
.kiosk-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.kiosk-hero-media {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 300px;
}

.kiosk-hero-title {
  font-size: clamp(1.7rem, 3vw + 1rem, 2.2rem);
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.kiosk-hero-body {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--color-muted);
  line-height: 1.7;
  text-align: justify;
}


.kiosk-solutions-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.kiosk-solutions-title {
  font-size: clamp(1.4rem, 2.5vw + 0.5rem, 1.8rem);
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.kiosk-solutions-text p {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  color: var(--color-muted);
  line-height: 1.7;
  text-align: justify;
}

.kiosk-solutions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kiosk-solutions-list li {
  font-size: 0.96rem;
  color: var(--color-dark);
  margin-bottom: 0.6rem;
  padding-left: 0.5rem;
  line-height: 1.6;
  transition: transform 0.2s ease, color 0.2s ease;
}

.kiosk-solutions-list li:hover {
  transform: translateX(4px);
  color: #000000;
}

.kiosk-bullet {
  color: #000000;
  margin-right: 0.5rem;
  font-weight: bold;
  font-size: 1.1rem;
}

.kiosk-solutions-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kiosk-solutions-image:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.kiosk-solutions-media {
  display: flex;
  justify-content: center;
}

.kiosk-solutions-image {
  max-width: 360px;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, filter 0.3s ease;
  filter: grayscale(0%) contrast(1.05);
}

.kiosk-solutions-image:hover {
  filter: grayscale(0%) contrast(1.1);
}

.kiosk-special-heading {
  text-align: center;
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.5vw + 0.5rem, 1.8rem);
  font-weight: 600;
  color: var(--color-dark);
}

.kiosk-special-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}

.kiosk-special-item {
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.kiosk-special-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #000000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kiosk-special-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #000000;
}

.kiosk-special-item:hover::before {
  transform: scaleX(1);
}

.kiosk-special-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 1px solid #e0e0e0;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  background: #f5f5f5;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
}

.kiosk-special-icon::before {
  content: "";
  display: none;
}

.kiosk-special-icon * {
  color: #000000 !important;
}

.kiosk-special-icon i {
  font-size: 2rem;
  color: #000000 !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  display: block;
}

.kiosk-special-item:hover .kiosk-special-icon {
  transform: scale(1.1);
  background: #000000;
  border-color: #000000;
}

.kiosk-special-item:hover .kiosk-special-icon i {
  transform: scale(1.1);
  color: #ffffff !important;
}

.kiosk-special-label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.5;
}

.kiosk-downloads-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

.kiosk-downloads-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.kiosk-downloads-header {
  background: #000000;
  color: #ffffff;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.kiosk-downloads-body {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.kiosk-download-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 1rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.kiosk-download-row:hover {
  background-color: #f9fafb;
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateX(4px);
}

.kiosk-download-row:last-child {
  border-bottom: none;
}

.kiosk-download-link {
  font-size: 0.98rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.kiosk-download-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.kiosk-download-sub {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.kiosk-download-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kiosk-download-row:hover .kiosk-download-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

@media (max-width: 900px) {
  .kiosk-hero-inner,
  .kiosk-solutions-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .kiosk-solutions-media {
    order: -1;
  }

  .kiosk-special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .kiosk-special-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* LED Video Wall page specific layout */
.videowall-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}


.videowall-hero-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.2rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.videowall-hero-available {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #000000;
  font-weight: 500;
}

.videowall-hero-body {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--color-muted);
  line-height: 1.7;
  text-align: justify;
}

.videowall-hero-media {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 300px;
}

.videowall-promo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.videowall-promo-title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 1.9rem);
  margin: 0 0 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.videowall-promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.videowall-promo-list li {
  font-size: 0.96rem;
  color: var(--color-dark);
  margin-bottom: 0.6rem;
  padding-left: 0.5rem;
  line-height: 1.6;
  transition: transform 0.2s ease, color 0.2s ease;
}

.videowall-promo-list li:hover {
  transform: translateX(4px);
  color: #000000;
}

.videowall-promo-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.videowall-promo-media:hover .videowall-promo-image {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.videowall-promo-media {
  display: flex;
  justify-content: center;
}

.videowall-promo-image {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, filter 0.3s ease;
  filter: grayscale(0%) contrast(1.05);
}

.videowall-promo-image:hover {
  filter: grayscale(0%) contrast(1.1);
}

.videowall-special-heading {
  text-align: center;
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.5vw + 0.5rem, 1.8rem);
  font-weight: 600;
  color: var(--color-dark);
}

.videowall-special-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}

.videowall-special-item {
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.videowall-special-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #000000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.videowall-special-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #000000;
}

.videowall-special-item:hover::before {
  transform: scaleX(1);
}

.videowall-special-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 1px solid #e0e0e0;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  background: #f5f5f5;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
}

.videowall-special-icon * {
  color: #000000 !important;
}

.videowall-special-icon i {
  font-size: 2rem;
  color: #000000 !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  display: block;
}

.videowall-special-item:hover .videowall-special-icon {
  transform: scale(1.1);
  background: #000000;
  border-color: #000000;
}

.videowall-special-item:hover .videowall-special-icon i {
  transform: scale(1.1);
  color: #ffffff !important;
}

.videowall-special-label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .videowall-hero-inner,
  .videowall-promo-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .videowall-promo-media {
    order: -1;
  }

  .videowall-special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .videowall-special-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* CCTV page specific layout */
.cctv-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.cctv-hero-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.2rem);
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.cctv-hero-body {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--color-muted);
  line-height: 1.7;
  text-align: justify;
}

.cctv-hero-media {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 300px;
}

.cctv-overview-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.cctv-section-title {
  font-size: clamp(1.3rem, 2.5vw + 0.5rem, 1.7rem);
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.cctv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cctv-list li {
  font-size: 0.96rem;
  color: var(--color-dark);
  margin-bottom: 0.6rem;
  padding-left: 0.5rem;
  line-height: 1.6;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cctv-list li:hover {
  transform: translateX(4px);
  color: #000000;
}

.cctv-benefits-heading {
  text-align: center;
  margin-bottom: 1rem;
}

.cctv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.cctv-benefit-item {
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cctv-benefit-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #000000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cctv-benefit-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #000000;
}

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

.cctv-benefit-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 1px solid #e0e0e0;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
}

.cctv-benefit-icon * {
  color: #000000 !important;
}

.cctv-benefit-icon i {
  font-size: 2rem;
  color: #000000 !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  display: block;
}

.cctv-benefit-item:hover .cctv-benefit-icon {
  transform: scale(1.1);
  background: #000000;
  border-color: #000000;
}

.cctv-benefit-item:hover .cctv-benefit-icon i {
  transform: scale(1.1);
  color: #ffffff !important;
}

.cctv-benefit-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.cctv-benefit-text {
  margin: 0;
  font-size: 0.94rem;
  color: var(--color-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .cctv-hero-inner,
  .cctv-overview-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cctv-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cctv-benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* About section */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.9rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  filter: grayscale(0%) contrast(1.05);
}

.about-highlights:hover .about-image {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

.about-layout p {
  font-size: 0.96rem;
  color: var(--color-muted);
  text-align: justify;
}

.about-layout p + p {
  margin-top: 0.5rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: flex-start;
}

.highlight {
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
}

.highlight-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
}

.highlight-label {
  font-size: 0.85rem;
  color: #9ca3af;
}

.about-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.55rem;
}

.form-row label {
  font-size: 0.86rem;
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-error {
  font-size: 0.8rem;
  color: #b91c1c;
  min-height: 0;
  margin: 0;
}

.form-row.invalid input,
.form-row.invalid select,
.form-row.invalid textarea {
  border-color: #b91c1c;
}

.btn-block {
  width: 100%;
  margin-top: 0.25rem;
}

.form-note {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.contact-info p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  text-align: justify;
}

.contact-map {
  margin-top: 1rem;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 230px;
  border: 0;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  font-size: 1.6rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.map-overlay-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid #000000;
  color: #000000;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.map-overlay-btn:hover {
  background-color: #000000;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
  border-color: transparent;
}

.btn-primary:hover {
  background: var(--gradient-cool);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 180, 216, 0.4);
  border-color: transparent;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

.btn-secondary {
  background-color: var(--color-gray-100);
  color: var(--color-text);
  border-color: var(--color-gray-300);
}

.btn-secondary:hover {
  background-color: var(--color-gray-200);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #001a2e 0%, #003f5c 100%);
  color: #e0f7ff;
}

.footer-top {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
}

.footer-col h4 {
  margin: 0 0 0.8rem;
  color: #00D9FF;
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-col h4 {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-about p {
  color: #b0b0b0;
  max-width: 320px;
  line-height: 1.6;
  text-align: justify;
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 0.9rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-links-list a {
  color: #cfe9f3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links-list a:hover {
  color: #00D9FF;
}

.footer-contact p {
  margin: 0 0 0.6rem;
  color: #b0b0b0;
}

.footer-social .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 217, 255, 0.15);
  color: #00D9FF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  gap: 0.35rem;
}

.social-link:hover {
  background: rgba(0, 217, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link--whatsapp:hover {
  color: #25d366;
}

.social-link--facebook:hover {
  color: #1877f2;
}

.social-link--instagram:hover {
  color: #e1306c;
}

.social-link--linkedin:hover {
  color: #0a66c2;
}

.social-link--youtube:hover {
  color: #ff0000;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 0.9rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright {
  color: #b0b0b0;
  font-size: 0.92rem;
}

.back-to-top {
  background: var(--gradient-primary);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.2rem;
}

.back-to-top:hover {
  background: var(--gradient-cool);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.4);
}

.back-to-top:active {
  transform: translateY(0);
}

@media (max-width: 840px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.6rem;
  }
}

/* Responsive */
@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-block: 0.4rem;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(243, 244, 246, 0.98);
    flex-direction: column;
    padding: 0.8rem 1.2rem 1.1rem;
    border-bottom: 1px solid #e5e7eb;
    display: none;
  }

  .nav.show {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-media {
    min-height: 190px;
  }

  .hero-actions {
    flex-direction: row;
  }

  .section {
    padding: 3.2rem 0;
  }

  .about-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.8rem, 100%);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-media {
    display: none;
  }

  .about-highlights {
    grid-template-columns: minmax(0, 1fr);
  }
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ===== DARK MODE TOGGLE BUTTON ===== */
.dark-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.dark-mode-toggle:hover {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(20deg);
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.4);
}

body.dark-mode .dark-mode-toggle {
  color: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

body.dark-mode .dark-mode-toggle:hover {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 183, 3, 0.4);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: linear-gradient(135deg, #e0f7ff 0%, #cfe9f3 100%);
  padding: 4.5rem 0;
}

body.dark-mode .testimonials-section {
  background: linear-gradient(135deg, #1a2a45 0%, #0f4c75 100%);
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.15);
  border-left: 4px solid var(--color-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

body.dark-mode .testimonial-card {
  background: linear-gradient(135deg, var(--dm-bg-secondary) 0%, #1e2a45 100%);
  border-color: var(--color-secondary);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.1;
  line-height: 1;
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 180, 216, 0.25);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

body.dark-mode .testimonial-text {
  color: var(--dm-text-muted);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.testimonial-info h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

body.dark-mode .testimonial-info h4 {
  color: var(--dm-text);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0.25rem 0 0;
}

body.dark-mode .testimonial-role {
  color: var(--dm-text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* ===== SERVICE TIMELINE ===== */
.timeline-section {
  padding: 4.5rem 0;
}

.timeline-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.5);
}

.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: auto;
  width: 48%;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  width: 48%;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border: 3px solid white;
  border-radius: 50%;
  top: 0;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.6);
}

body.dark-mode .timeline-marker {
  background: var(--gradient-primary);
  border-color: var(--dm-bg);
}

.timeline-item:hover .timeline-marker {
  width: 40px;
  height: 40px;
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.8);
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e0f7ff;
}

body.dark-mode .timeline-content {
  background: linear-gradient(135deg, var(--dm-bg-secondary) 0%, #1e2a45 100%);
  border: 1px solid var(--dm-border);
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 12px 32px rgba(0, 180, 216, 0.2);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.timeline-number {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.timeline-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

body.dark-mode .timeline-content h3 {
  color: var(--dm-text);
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

body.dark-mode .timeline-content p {
  color: var(--dm-text-muted);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 10px;
  }
  
  .timeline-marker {
    left: 10px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: 100%;
    margin-left: 50px;
    text-align: left;
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #cfe9f3 100%);
  padding: 4.5rem 0;
}

body.dark-mode .faq-section {
  background: linear-gradient(135deg, #1a2a45 0%, #0a1929 100%);
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-container {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 2px solid #e0f7ff;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .faq-item {
  background: linear-gradient(135deg, var(--dm-bg-secondary) 0%, #1e2a45 100%);
  border-color: var(--dm-border);
}

.faq-item.active {
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.2);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(224, 247, 255, 0.3));
}

body.dark-mode .faq-question {
  background: rgba(0, 180, 216, 0.1);
}

.faq-item:hover .faq-question {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.05), rgba(0, 217, 255, 0.1));
}

body.dark-mode .faq-item:hover .faq-question {
  background: rgba(0, 180, 216, 0.15);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f7ff 100%);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

body.dark-mode .faq-answer {
  background: rgba(0, 180, 216, 0.05);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 1rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

body.dark-mode .faq-answer p {
  color: var(--dm-text-muted);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  background: var(--gradient-vibrant);
  padding: 3.5rem 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-sunset);
  opacity: 0.3;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

@keyframes gradientShift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(50px, 50px); }
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.newsletter-subtitle {
  font-size: 1rem;
  margin-bottom: 1.75rem;
  opacity: 0.95;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 0.95rem;
  flex: 1;
  min-width: 200px;
  max-width: 350px;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
  padding: 0.75rem 2rem;
  background: white;
  color: var(--color-primary);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  background: var(--color-accent);
  color: white;
}

@media (max-width: 640px) {
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    max-width: 100%;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-up {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 84px;
  height: 84px;
  background: transparent; /* show only the image itself */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  box-shadow: none; /* remove outer shadow/boundary */
  transition: transform 180ms ease;
  animation: none;
  padding: 0; /* let the image fill the anchor */
  cursor: pointer;
}

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

.floating-whatsapp:hover {
  transform: scale(1.05);
}

.floating-whatsapp:active {
  transform: scale(0.95);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* If the floating button uses an <img> tag, size it here */
.floating-whatsapp .whatsapp-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  transform: translateY(6px) scale(0.98);
  backdrop-filter: blur(8px);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive adjustments for floating button */
@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }

  .floating-whatsapp .whatsapp-icon {
    width: 44px;
    height: 44px;
  }

  .whatsapp-tooltip {
    bottom: 65px;
  }
}

/* ------------------------------------------------------------------ */
/* Tweak: selectively apply radius where it improves aesthetics.      */
/* Keep product feature badges circular; restore rounded accents for */
/* cards, buttons and floating actions for a balanced professional   */
/* appearance.                                                       */
/* ------------------------------------------------------------------ */

/* Product feature badges stay circular */
.product-overlay-features li {
  border-radius: 50% !important;
}

/* Make floating whatsapp round and prominent */
.floating-whatsapp {
  border-radius: 50% !important;
  padding: 0 !important; /* ensure image fills the circle */
}

/* Tighten Products section spacing and force one-line subtitle */
.section.section-products {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section.section-products .section-subtitle {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 auto 1rem;
  text-align: center;
  font-size: 1rem;
}

/* Tooltip styling */
.whatsapp-tooltip {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Restore soft radius for cards and interactive elements */
.product-card-new,
.product-image-wrapper,
.hero-card,
.product-view-btn,
.card {
  border-radius: 10px;
}

/* Buttons slightly pill-shaped */
.btn,
.btn-primary,
.btn-outline {
  border-radius: 6px;
}

/* -------------------------- */
/* Disable text selection site-wide
   Keeps form controls and contenteditable areas selectable
   Add class `selectable` to any element that should remain selectable.
*/
html, body, :root {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow selection inside form controls, links, buttons and editable regions */
input, textarea, select, button, a, .selectable {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

[contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* If you ever need to re-enable selection globally, remove these rules or set `html,body { user-select: auto; }` */

