/* ========================================
   KINTECH COIL NAILS — STYLES
   ======================================== */

/* ---------- CSS RESET & VARIABLES ---------- */
:root {
  /* Brand Colors */
  --color-primary: #1E3A8A;
  --color-primary-light: #1E40AF;
  --color-secondary: #DC2626;
  --color-secondary-hover: #B91C1C;
  --color-secondary-light: rgba(220, 38, 38, 0.12);
  --color-accent: #EF4444;
  --color-accent-light: rgba(239, 68, 68, 0.1);

  /* Neutral Palette */
  --color-white: #FFFFFF;
  --color-gray-50: #F8F9FB;
  --color-gray-100: #F0F2F5;
  --color-gray-200: #E2E5EA;
  --color-gray-300: #C8CDD5;
  --color-gray-400: #9BA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;

  /* Text */
  --text-primary: #1A1A2E;
  --text-secondary: #4B5563;
  --text-light: #9BA3AF;
  --text-white: #FFFFFF;
  --text-on-dark: #C8CDD5;

  /* Layout */
  --max-width: 1280px;
  --section-padding: 100px 0;
  --container-padding: 0 24px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 30px rgba(220, 38, 38, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

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

/* ---------- SECTION LABEL ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.8;
}

/* ---------- ALTERNATING SECTION BACKGROUNDS ---------- */
.section-white {
  background: var(--color-white);
}

.section-gray {
  background: var(--color-gray-50);
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-white);
  flex-shrink: 0;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-hover));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-on-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: var(--color-secondary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-hover)) !important;
  color: var(--text-white) !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.nav-cta:hover {
  box-shadow: 0 6px 25px rgba(220, 38, 38, 0.5) !important;
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--color-secondary-hover), var(--color-secondary)) !important;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-on-dark) !important;
  font-size: 0.85rem !important;
  margin-left: 8px;
}

.nav-phone svg {
  width: 14px;
  height: 14px;
  fill: var(--color-secondary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(27, 141, 214, 0.08), transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(232, 116, 12, 0.06), transparent 50%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: block; /* Removed 2-column grid */
}

.hero-content {
  padding: 40px 0;
  max-width: 650px; /* Constrain text width so it doesn't stretch too far */
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 116, 12, 0.1);
  border: 1px solid rgba(232, 116, 12, 0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-label svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-on-dark);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-hover));
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.stat-item {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-on-dark);
  letter-spacing: 0.3px;
}

/* Hero Video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
  /* Adjust opacity to ensure text remains readable */
}

/* ---------- APPLICATIONS SECTION ---------- */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.app-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.app-card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-secondary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.app-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.app-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- NAIL ANATOMY (TABS) ---------- */
.anatomy-tabs {
  display: flex;
  gap: 4px;
  margin-top: 40px;
  margin-bottom: 0;
  background: var(--color-gray-100);
  padding: 6px;
  border-radius: var(--radius-md);
  width: fit-content;
}

.anatomy-tab {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 28px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.anatomy-tab:hover {
  color: var(--text-primary);
}

.anatomy-tab.active {
  background: var(--color-white);
  color: var(--color-secondary);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.tab-panels {
  margin-top: 36px;
}

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

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

.anatomy-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

.anatomy-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-gray-300);
}

.anatomy-item h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.anatomy-item h4 .item-badge {
  background: var(--color-secondary-light);
  color: var(--color-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.anatomy-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.anatomy-item .recommended {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-top: 4px;
}

.anatomy-item .recommended svg {
  width: 14px;
  height: 14px;
}

/* Anatomy Grid (Cards) */
.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.anatomy-card {
  position: relative;
  /*border-radius: var(--radius-lg);*/
  overflow: hidden;
  height: 340px;
  background: var(--color-gray-800);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.anatomy-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  
}
/*.anatomy-card:hover .anatomy-card-content h4{*/
/*    color:black;*/
/*}*/
/*.anatomy-card:hover .anatomy-card-content .anatomy-card-desc p{*/
/*    color:black;*/
/*}*/

.anatomy-card:hover .anatomy-card-content {
    background: linear-gradient(to top, rgb(10 22 40 / 86%) 0%, rgb(10 22 40 / 58%) 50%, transparent 100%);
}

.anatomy-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-slow);
}

.anatomy-card:hover .anatomy-card-bg {
  transform: scale(1.05);
}

.anatomy-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top,
      rgba(10, 22, 40, 0.55) 0%,
      rgba(10, 22, 40, 0.20) 50%,
      transparent 100%);
}

.anatomy-card-content h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  transition: transform 0.3s ease;
}

.anatomy-card-content h4 .item-badge {
  background: var(--color-secondary);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
}

.anatomy-card-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  margin-top: 0;
}

.anatomy-card:hover .anatomy-card-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}

.anatomy-card-desc p {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  line-height: 1.6;
  margin-bottom: 12px;
}

.anatomy-card-desc .recommended {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27, 141, 214, 0.15);
  color: #60A5FA;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.anatomy-card-desc .recommended svg {
  width: 12px;
  height: 12px;
}

/* Point Geometries — circular icon caption cards */
.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.point-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition-base);
}

.point-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.point-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border:1px solid var(--color-gray-100);
  background: white;
  
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.point-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.point-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.point-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

@media (max-width: 992px) {
  .point-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .point-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .point-card {
    padding: 32px 24px;
  }
}

/* Anatomy comparison table */
.anatomy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.anatomy-table thead th {
  background: var(--color-primary);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  text-align: left;
}

.anatomy-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-gray-200);
  color: var(--text-secondary);
}

.anatomy-table tbody tr:hover {
  background: var(--color-gray-50);
}

.anatomy-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.performance-note {
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-accent-light));
  border-left: 4px solid var(--color-secondary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.performance-note strong {
  color: var(--text-primary);
}

/* ---------- SIZE CHART ---------- */
.size-chart-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  margin-bottom: 28px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 20px;
  border: 1px solid var(--color-gray-300);
  border-radius: 50px;
  background: var(--color-white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.filter-btn.active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--text-white);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 900px;
}

.spec-table thead th {
  background: var(--color-primary);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  position: sticky;
  top: 0;
}

.spec-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--text-secondary);
  white-space: nowrap;
}

.spec-table tbody tr {
  transition: background var(--transition-fast);
}

.spec-table tbody tr:hover {
  background: var(--color-secondary-light);
}

.spec-table tbody tr.hidden {
  display: none;
}

.spec-table tbody td:first-child,
.spec-table tbody td:nth-child(2) {
  font-weight: 600;
  color: var(--text-primary);
}

.size-chart-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ---------- TRANSITION BANNER ---------- */
.transition-banner {
  background: linear-gradient(135deg, var(--color-primary), #1a2d4d);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.transition-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(232, 116, 12, 0.08), transparent 60%);
}

.transition-banner .container {
  position: relative;
  z-index: 1;
}

.transition-banner blockquote {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 28px;
  line-height: 1.4;
}

.transition-banner blockquote em {
  font-style: normal;
  color: var(--color-secondary);
}

/* ---------- INDUSTRIES ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.industry-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.industry-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-secondary-light), rgba(27, 141, 214, 0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
}

.industry-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.industry-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- NAIL GUNS TABLE ---------- */
.nailgun-table-wrapper {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.nailgun-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.nailgun-table thead th {
  background: var(--color-primary);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 20px;
  text-align: left;
}

.nailgun-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--text-secondary);
}

.nailgun-table tbody td:first-child {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.nailgun-table tbody tr {
  transition: background var(--transition-fast);
}

.nailgun-table tbody tr:hover {
  background: var(--color-secondary-light);
}

.nailgun-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ---------- WHY KINTECH ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.why-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why-card-icon {
  width: 50px;
  height: 50px;
  background: var(--color-secondary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.why-card h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.why-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Trust Indicators */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-gray-200);
}

.trust-item {
  text-align: center;
  padding: 20px;
}

.trust-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.gallery-overlay span {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  text-align: center;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-top: 16px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  margin-top: 48px;
  max-width: 880px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-gray-300);
}

.faq-item.active {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 20px rgba(232, 116, 12, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question:hover {
  color: var(--color-secondary);
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.faq-item.active .faq-icon {
  background: var(--color-secondary);
  color: var(--text-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- QUOTE FORM ---------- */
.quote-section {
  background: var(--color-gray-50);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  margin-top: 48px;
}

.quote-form {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-secondary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group-title svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-field label .required {
  color: #EF4444;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--color-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-gray-400);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px var(--color-secondary-light);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field .helper-text {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
}

.form-submit {
  margin-top: 24px;
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

/* Quote Sidebar */
.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-base);
}

.sidebar-card:hover {
  box-shadow: var(--shadow-md);
}

.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--color-secondary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-secondary);
}

.contact-info-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-info-value a {
  color: var(--color-secondary);
}

.contact-info-value a:hover {
  text-decoration: underline;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-primary);
  color: var(--text-on-dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-top: 16px;
  margin-bottom: 20px;
}

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

.footer-social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--text-white);
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-secondary);
}

.footer-contact-item a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-light);
}

.footer-legal a:hover {
  color: var(--color-secondary);
}

/* ---------- WHATSAPP BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all var(--transition-base);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SVG PLACEHOLDER IMAGES ---------- */
.placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-gray-200), var(--color-gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  section {
    padding: 70px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 40px;
    gap: 4px;
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    text-align: center;
    margin-top: 12px;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

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

  .section-title {
    font-size: 1.7rem;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

  .anatomy-grid {
    grid-template-columns: 1fr;
  }

  .anatomy-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 8px;
  }

  .anatomy-tab {
    padding: 10px 18px;
    font-size: 0.82rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .anatomy-item {
    padding: 20px;
  }

  .anatomy-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: -44px;
    right: 0;
  }

  .transition-banner blockquote {
    font-size: 1.3rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 450px;
  width: 90%;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-xl);
  border-top: 6px solid var(--color-secondary);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-secondary);
}

.modal h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.modal p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.visible {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-success-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}


/* ============================================================
   THE KINTECH ADVANTAGE — redesigned "Why Kintech" section
   All rules are scoped under .advantage-section so they can't
   leak into other sections (the old unscoped .section-title
   rule was centering every heading site-wide).
   ============================================================ */

.advantage-section {
  background: #f7f8fb;
}

/* --- Centered section header --- */
.advantage-section .section-title {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 70px;
}

.advantage-section .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Red slash marks (////) on both sides of the label */
.advantage-section .subtitle::before,
.advantage-section .subtitle::after {
  content: '';
  width: 42px;
  height: 13px;
  flex-shrink: 0;
  background: repeating-linear-gradient(
    115deg,
    var(--color-secondary) 0 5px,
    transparent 5px 11px
  );
}

.advantage-section .section-title h2 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
  margin-bottom: 20px;
}

.advantage-section .section-title h2 span {
  color: var(--color-secondary);
}

.advantage-section .section-title p {
  font-size: 1.25rem;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
}

/* Short red divider bar under the tagline */
.advantage-section .section-title::after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-secondary);
  margin: 26px auto 0;
}

/* --- Cards grid --- */
.advantage-section .advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.advantage-section .advantage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.advantage-section .advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.12);
}

/* Folded / clipped bottom-right corner */
.advantage-section .advantage-card::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  border-bottom-right-radius: 14px;
  background: linear-gradient(135deg, transparent 49.5%, #f7f8fb 50%);
}

.advantage-section .card-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 30px 18px;
}

.advantage-section .icon-box {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.1);
}

.advantage-section .icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Red vertical divider between icon and heading */
.advantage-section .card-heading {
  border-left: 3px solid var(--color-secondary);
  padding-left: 16px;
}

.advantage-section .card-heading h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.advantage-section .card-content {
  padding: 0 30px 24px;
}

.advantage-section .card-content p {
  color: #5f6675;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* Big light number + thin line, pinned to the card bottom */
.advantage-section .card-footer {
  display: flex;
  align-items: center;
  padding: 0 30px 24px;
  margin-top: auto;
}

.advantage-section .card-footer span {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: #dfe3e9;
}

.advantage-section .card-footer::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ececec;
  margin-left: 18px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .advantage-section .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .advantage-section .advantage-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .advantage-section .section-title {
    margin-bottom: 48px;
  }

  .advantage-section .section-title p {
    font-size: 1.05rem;
  }

  .advantage-section .card-heading h3 {
    font-size: 1.15rem;
  }
}


.cms-fancy-box.layout3 {
    text-align: center;
    padding: 45px 30px 28px;
    position: relative;
}

@media screen and (max-width: 767px) {
    .cms-fancy-box.layout3 {
        padding: 45px 20px 28px;
    }
}

.cms-fancy-box.layout3 .item-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: -webkit-gradient(linear, top bottom, from(#cd0001), to(#810001));
    background-image: -webkit-linear-gradient(top, #cd0001 25%, #810001 100%);
    background-image: -moz-linear-gradient(top, #cd0001 25%, #810001 100%);
    background-image: -ms-linear-gradient(top, #cd0001 25%, #810001 100%);
    background-image: -o-linear-gradient(top, #cd0001 25%, #810001 100%);
    background-image: linear-gradient(top, #cd0001 25%, #810001 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#cd0001', endColorStr='#810001');
    -webkit-transition: all 200ms linear 0s;
    -khtml-transition: all 200ms linear 0s;
    -moz-transition: all 200ms linear 0s;
    -ms-transition: all 200ms linear 0s;
    -o-transition: all 200ms linear 0s;
    transition: all 200ms linear 0s;
    opacity: 0;
    visibility: hidden;
}

.cms-fancy-box.layout3 .item-overlay .item-button {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    transition: all 250ms linear 0s;
}

.cms-fancy-box.layout3 .item-overlay .item-button a:after {
    content: none;
}

.cms-fancy-box.layout3 .item-overlay .item-button a:hover i {
    -webkit-animation: flyLeftToRight 0.3s forwards;
    -khtml-animation: flyLeftToRight 0.3s forwards;
    -moz-animation: flyLeftToRight 0.3s forwards;
    -ms-animation: flyLeftToRight 0.3s forwards;
    -o-animation: flyLeftToRight 0.3s forwards;
    animation: flyLeftToRight 0.3s forwards;
}

.cms-fancy-box.layout3 .item-overlay .item-button i {
    margin-left: 7px;
}

.cms-fancy-box.layout3 .cms-fancy-box-icon {
    position: relative;
    z-index: 1;
}

.cms-fancy-box.layout3 .cms-fancy-box-icon .elementor-icon {
    font-size: 50px;
    color: #cd0001;
    transition: all 300ms ease 0s;
}

.cms-fancy-box.layout3 .cms-fancy-box-icon svg {
    fill: #cd0001;
    transition: all 300ms ease 0s;
}

.cms-fancy-box.layout3 .cms-fancy-box-content {
    position: relative;
    z-index: 1;
    margin-top: 14px;
}

.cms-fancy-box.layout3 .cms-fancy-box-title {
    font-size: 20px;
    transition: all 200ms ease 0s;
}

.cms-fancy-box.layout3 .cms-fancy-box-title a {
    color: inherit;
    transition: all 200ms ease 0s;
}

.cms-fancy-box.layout3 .cms-fancy-box-title a:hover {
    color: #cd0001;
}

.cms-fancy-box.layout3 .cms-fancy-box-description {
    padding-top: 14px;
    transition: all 300ms ease 0s;
}

.cms-fancy-box.layout3:hover .item-overlay {
    opacity: 1;
    visibility: visible;
    top: -24px;
    bottom: -24px;
}

.cms-fancy-box.layout3:hover .cms-fancy-box-icon .elementor-icon {
    color: #fff !important;
}

.cms-fancy-box.layout3:hover .cms-fancy-box-icon svg {
    fill: #fff !important;
}

.cms-fancy-box.layout3:hover .cms-fancy-box-title, .cms-fancy-box.layout3:hover .cms-fancy-box-title a, .cms-fancy-box.layout3:hover .cms-fancy-box-description {
    color: #fff !important;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.product-image{
    height:240px;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
    background:#fff;
}

.product-image img{
    max-width:100%;
    max-height:190px;
    width:auto;
    height:auto;
    object-fit:contain;
    transition:.4s;
}