/* Main Content Layout - Simple Professional Design */
#mainContent {
  background-color: #0b1220;
}

/* Keep footer pinned to bottom in normal document flow on Home page */
html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#mainContent {
  flex: 1 0 auto;
}

.site-footer {
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 680px;
  margin: 0;
  padding: 60px 60px 90px 60px;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  z-index: 1;
  border-radius: 0;

  /* Simple shadow */
  box-shadow: none;
  
  /* Clean border */
  border: none;
  
  /* Add subtle transition effect */
  transition: all 0.5s ease-in-out;
}

/* Readability overlay (background slideshow is handled by index.html JS on a fixed full-viewport layer) */
.main-content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0.28) 100%
  );
}

/* Keep actual content above the readability overlay */
.main-content > * {
  position: relative;
  z-index: 1;
}

/* Background slideshow indicators (home page) */
.kps-bg-indicators {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  top: auto;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1000;
  padding: 10px 12px;
  background: transparent; /* remove blurred/gray pill background */
  border: none;
  border-radius: 999px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  pointer-events: auto; /* ensure dots remain clickable */
}

@media (max-width: 900px) {
  .kps-bg-indicators {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 72px); /* lift above floating contact/chat buttons */
  }
}

.kps-bg-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.kps-bg-indicator:hover {
  transform: scale(1.12);
  opacity: 0.92;
}

.kps-bg-indicator.is-active {
  background: #ffc107; /* orange for active */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  transform: scale(1.22);
}

/* Override inline style in index.html so dots stay above footer */
#kpsBgIndicators {
  bottom: 88px !important;
  z-index: 1200 !important;
}

@media (max-width: 900px) {
  #kpsBgIndicators {
    bottom: 104px !important;
  }
}

.kps-bg-indicator:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.6);
  outline-offset: 3px;
}

/* Header Section - Top Center */
.headline-section {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 15px;
  z-index: 2;
  position: relative;

  /* Disable hero animations/parallax: keep text static */
  opacity: 1;
  transform: none;
  animation: none;
  will-change: auto;
}

.headline-section::after {
  /* Remove the decorative underline line */
  display: none;
  content: none;
}

/* "THE LEADER IN" - Top Line */
.headline {
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  font-size: 3.8rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #ffffff;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  
  /* 3D Embossed Effect */
  text-shadow: 
    0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 0 rgba(255, 255, 255, 0.6),
    0 3px 0 rgba(255, 255, 255, 0.4),
    0 4px 0 rgba(255, 255, 255, 0.2),
    0 5px 0 rgba(255, 255, 255, 0.1),
    0 6px 12px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.2);

  /* Keep static (no wipe reveal) */
  clip-path: none;
  animation: none;

}

.headline::after {
  /* Remove shimmer animation layer */
  display: none;
  content: none;
}

/* "PERSONAL PROTECTIVE EQUIPMENT" - Second Line */
.ppe-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 3.2rem;
  font-weight: 600;
  font-family: 'Prompt', sans-serif;
  color: #1e293b;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
  
  /* Enhanced 3D effect for the container */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));

  opacity: 1;
  transform: none;
  animation: none;

}

.ppe-line {
  display: inline-block;
  line-height: 1.1;
  white-space: nowrap;

  position: relative;
  overflow: visible;
  clip-path: none;
  opacity: 1;
  animation: none;
}

.ppe-main .ppe-line:nth-child(1) { animation-delay: 420ms; }
.ppe-main .ppe-line:nth-child(2) { animation-delay: 560ms; }
.ppe-main .ppe-line:nth-child(3) { animation-delay: 700ms; }

/* P and E with orange color */
.ppe-highlight {
  display: inline-block;
  font-weight: 400;
  color: #db7c00;
  margin: 0;
  
  /* 3D Embossed Effect for Orange Letters */
  text-shadow: 
    0 1px 0 rgba(255, 200, 100, 0.9),
    0 2px 0 rgba(255, 180, 80, 0.7),
    0 3px 0 rgba(255, 160, 60, 0.5),
    0 4px 0 rgba(255, 140, 40, 0.3),
    0 5px 0 rgba(255, 120, 20, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.2);

  /* Keep it clean: no pulsing glow in this style */
}

/* Other letters with white color */
.ppe-normal {
  display: inline-block;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  
  /* 3D Embossed Effect for White Letters */
  text-shadow: 
    0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 0 rgba(255, 255, 255, 0.6),
    0 3px 0 rgba(255, 255, 255, 0.4),
    0 4px 0 rgba(255, 255, 255, 0.2),
    0 5px 0 rgba(255, 255, 255, 0.1),
    0 6px 12px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Subtle interactivity (desktop) */
@media (hover: hover) and (pointer: fine) {
  .headline-section:hover {
    transform: none;
    filter: none;
    transition: none;
  }
}

@keyframes heroUnderlineIn {
  from { opacity: 0; transform: translateY(10px) scaleX(0.92); }
  to { opacity: 1; transform: translateY(0) scaleX(1); }
}

@keyframes heroPopIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.995);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroWipeIn {
  from {
    clip-path: inset(0 100% 0 0);
    filter: blur(1px);
  }
  to {
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}

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

@keyframes heroShimmer {
  0% { transform: translateX(-120%); opacity: 0; }
  25% { opacity: 0.9; }
  55% { opacity: 0.9; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes heroUnderlineShine {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .headline-section,
  .headline-section::after,
  .headline,
  .headline::after,
  .ppe-main,
  .ppe-line,
  .ppe-highlight {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    filter: none !important;
  }

  :root {
    --kps-parallax-x: 0 !important;
    --kps-parallax-y: 0 !important;
  }
}

/* Disable parallax on coarse pointers (touch) */
@media (hover: none), (pointer: coarse) {
  .headline-section,
  .headline,
  .ppe-main {
    transform: none !important;
  }
}

/* Remove gallery container and related styles */
.gallery-container,
.gallery-item,
.gallery-indicators,
.indicator {
  display: none;
}

/* Menu Toggle Button Container - Inside navibar */
.navibar .menu-toggle-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 201;
}

.navibar .menu-toggle {
  width: 65px;
  height: 65px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  
  /* Beautiful gradient background */
  background: linear-gradient(135deg, #00A651, #0077ff, #ff9800);
  background-size: 300% 300%;
  animation: menuButtonGradient 4s ease-in-out infinite;
  
  /* Glass morphism effect */
  backdrop-filter: blur(15px) saturate(150%);
  box-shadow: 
    0 8px 25px rgba(0, 166, 81, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  
  /* Smooth transitions */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Floating animation */
  animation: 
    menuButtonGradient 4s ease-in-out infinite,
    menuButtonFloat 3s ease-in-out infinite;
}

.navibar .menu-toggle:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 
    0 12px 35px rgba(0, 166, 81, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation-play-state: paused;
}

.navibar .menu-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.navibar .menu-toggle .menu-icon,
.navibar .menu-toggle .close-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 20px;
  color: #ffffff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navibar .menu-toggle .menu-text {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 600;
  font-family: 'Prompt', sans-serif;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navibar .menu-toggle .close-icon {
  opacity: 0;
  transform: translate(-50%, -60%) rotate(180deg) scale(0.5);
}

.navibar .menu-toggle.active .menu-icon {
  opacity: 0;
  transform: translate(-50%, -60%) rotate(-180deg) scale(0.5);
}

.navibar .menu-toggle.active .close-icon {
  opacity: 1;
  transform: translate(-50%, -60%) rotate(0deg) scale(1);
}

.navibar .menu-toggle.active .menu-text {
  opacity: 0.7;
  transform: translateX(-50%) scale(0.9);
}

/* Navigation Bar - with integrated menu button */
.navibar {
  position: absolute;
  bottom: 50px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  max-width: 750px;
  z-index: 100;
  
  /* Enhanced Glass morphism background like navbar */
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.15) 0%,
      rgba(245, 245, 245, 0.10) 100%);
  backdrop-filter: blur(25px) saturate(150%);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 60px rgba(255, 255, 255, 0.1);
  
  /* Smooth transitions */
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Show state - always visible now */
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Menu Toggle Button Block */
.menu-toggle-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  min-width: 75px;
}

/* Navigation Links Block */
.navibar-links-block {
  display: flex;
  gap: 15px;
  padding: 8px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  flex: 1;
  min-width: 500px;
  max-width: 100%;
  overflow: hidden;
}

.navibar-links-block a {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  color: #2c3e50;
  font-weight: 500;
  font-family: 'Prompt', sans-serif;
  padding: 15px 10px;
  border-radius: 20px;
  text-align: center;
  min-height: 80px;
  max-height: 80px;
  letter-spacing: 1.2px;
  width: 0; /* Equal width distribution */
  min-width: 0; /* Allow shrinking */
  overflow: hidden; /* Prevent overflow */
  box-sizing: border-box; /* Include padding in width calculation */
  
  /* White Background like navbar */
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.9) 0%,
      rgba(245, 245, 245, 0.8) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 20px rgba(0, 166, 81, 0.05);
  
  /* 3D Transform */
  transform-style: preserve-3d;
  perspective: 1000px;
  
  /* Animation Properties */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Collapsed state - show only menu button */
.navibar.collapsed {
  max-width: 85px;
  padding: 20px;
}

.navibar.collapsed .navibar-links-block {
  display: none;
}

/* Expanded state - show all items but smaller */
.navibar.expanded {
  max-width: 650px;
  gap: 15px;
  padding: 18px;
}

.navibar.expanded .navibar-links-block {
  display: flex;
  gap: 12px;
}

.navibar.expanded .navibar-links-block a {
  font-size: 13px;
  padding: 12px 20px;
  min-height: 70px;
  max-height: 70px;
}

.navibar.expanded .navibar-links-block a .navibar-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

/* Adjust menu button position when navibar is shown */
.navibar.show + .menu-toggle-container,
.menu-toggle-container:has(+ .navibar.show) {
  transform: translateX(0) scale(1);
  z-index: 201;
}

/* Enhanced menu button visibility */
.menu-toggle-container.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.menu-toggle-container.hide {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navibar a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  color: #2c3e50;
  font-weight: 500;
  font-family: 'Prompt', sans-serif;
  padding: 15px 25px;
  border-radius: 20px;
  text-align: center;
  min-height: 80px;
  letter-spacing: 1.2px;
  
  /* White Background like navbar */
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.9) 0%,
      rgba(245, 245, 245, 0.8) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 20px rgba(0, 166, 81, 0.05);
  
  /* 3D Transform */
  transform-style: preserve-3d;
  perspective: 1000px;
  
  /* Animation Properties */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.navibar-links-block a:hover {
  /* 3D Transform Effect */
  transform: 
    translateY(-3px) 
    rotateX(-5deg) 
    rotateY(2deg) 
    scale(1.05);
  
  /* Enhanced Glow like navbar */
  box-shadow: 
    0 8px 25px rgba(0, 166, 81, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 30px rgba(0, 166, 81, 0.2);
  
  /* Animated Background like navbar */
  background: 
    linear-gradient(135deg, 
      rgba(0, 166, 81, 0.1) 0%,
      rgba(0, 119, 255, 0.1) 50%,
      rgba(255, 152, 0, 0.1) 100%);
  background-size: 200% 200%;
  animation: linkGradient 0.5s ease;
  
  color: #00A651;
  letter-spacing: 1.5px;
}

/* Shimmer Effect for Navibar Links */
.navibar-links-block a::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(0, 166, 81, 0.2) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.8s;
}

.navibar-links-block a:hover::after {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Bottom Border Effect */
.navibar-links-block a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00A651, #0077ff, #ff9800);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: right;
  border-radius: 0 0 18px 18px;
}

.navibar-links-block a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Icon Animation - Enhanced */
.navibar-links-block a .navibar-icon {
  font-size: 24px;
  margin-bottom: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: iconFloat 3s ease-in-out infinite;
  color: #2c3e50;
}

.navibar-links-block a:hover .navibar-icon {
  animation: iconBounce 0.6s ease;
  transform: scale(1.3) rotate(5deg);
  color: #00A651;
}

/* Legacy Icon Animations */

/* Menu Button Animations */
@keyframes menuButtonGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes menuButtonFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
  }
  50% { 
    transform: translateY(-5px) rotate(2deg);
  }
}

@keyframes navibarSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8) rotateX(-15deg);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-5px) scale(1.02) rotateX(5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

/* Enhanced Navibar Animation Keyframes */
@keyframes linkGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes navibarFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
  }
  50% { 
    transform: translateY(-2px) scale(1.02);
  }
}

@keyframes navibarPulse {
  0%, 100% { 
    box-shadow: 
      0 4px 15px rgba(0, 0, 0, 0.1),
      0 0 20px rgba(255, 255, 255, 0.05);
  }
  50% { 
    box-shadow: 
      0 8px 25px rgba(0, 0, 0, 0.15),
      0 0 30px rgba(255, 255, 255, 0.1);
  }
}


@keyframes iconFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  33% { 
    transform: translateY(-3px) rotate(2deg);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  66% { 
    transform: translateY(1px) rotate(-2deg);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  }
}

@keyframes iconBounce {
  0% { 
    transform: translateY(0px) scale(1) rotate(0deg);
  }
  30% { 
    transform: translateY(-8px) scale(1.4) rotate(5deg);
  }
  60% { 
    transform: translateY(-4px) scale(1.2) rotate(-3deg);
  }
  100% { 
    transform: translateY(0px) scale(1.3) rotate(5deg);
  }
}

/* Pause animation on hover for better UX */
.main-content:hover {
  animation-play-state: paused;
}

/* Contact Icon - Bottom Right Fixed Position */
.contact-icon-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  pointer-events: all;
}

.contact-icon-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icon {
  position: relative;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Primary blue gradient background */
  background: linear-gradient(135deg, #1178f6, #0f69d9, #0b56b3);
  background-size: 300% 300%;
  animation: contactGradient 4s ease-in-out infinite;
  
  /* Glass morphism effect */
  backdrop-filter: blur(15px) saturate(150%);
  box-shadow: 
    0 8px 25px rgba(17, 120, 246, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  
  /* Smooth transitions */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Floating animation */
  animation: 
    contactGradient 4s ease-in-out infinite,
    contactFloat 3s ease-in-out infinite;
  
  /* Hover prevention for child elements */
  cursor: pointer;
}

.contact-icon:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 
    0 15px 35px rgba(17, 120, 246, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation-play-state: paused;
}

.contact-main-icon {
  font-size: 28px;
  color: #ffffff;
  z-index: 2;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: iconPulse 2s ease-in-out infinite;
}

.contact-icon:hover .contact-main-icon {
  transform: scale(1.1) rotate(-5deg);
  animation: iconBounceContact 0.6s ease;
}

/* Pulse ring effect */
.contact-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  border: 2px solid rgba(17, 120, 246, 0.6);
  border-radius: 50%;
  animation: pulseRing 2s ease-out infinite;
  pointer-events: none;
}

/* Notification dot */
.contact-notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #ff4757, #ff3838);
  border-radius: 50%;
  border: 2px solid #ffffff;
  animation: notificationPulse 1.5s ease-in-out infinite;
  box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
}

/* Tooltip */
.contact-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Prompt', sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.tooltip-text {
  position: relative;
  z-index: 2;
}

.tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.9);
}

.contact-icon-link:hover .contact-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-20px);
}

/* Animations */
@keyframes contactGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes contactFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
  }
  33% { 
    transform: translateY(-3px) rotate(1deg);
  }
  66% { 
    transform: translateY(-1px) rotate(-1deg);
  }
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes notificationPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes iconBounceContact {
  0% { 
    transform: scale(1) rotate(0deg);
  }
  30% { 
    transform: scale(1.3) rotate(-8deg);
  }
  60% { 
    transform: scale(1.1) rotate(4deg);
  }
  100% { 
    transform: scale(1.1) rotate(-5deg);
  }
}

/* Responsive adjustments for contact icon */
@media (max-width: 768px) {
  .contact-icon-wrapper {
    bottom: 20px;
    right: 20px;
  }
  
  .contact-icon {
    width: 55px;
    height: 55px;
  }
  
  .contact-main-icon {
    font-size: 24px;
  }
  
  .contact-pulse-ring {
    width: 55px;
    height: 55px;
  }
  
  .contact-notification-dot {
    width: 10px;
    height: 10px;
    top: 6px;
    right: 6px;
  }
  
  .contact-tooltip {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* Hide contact icon on mobile devices */
@media (max-width: 768px) {
  .contact-icon-wrapper {
    display: none !important;
  }
  
  /* Hide navibar on mobile devices */
  .navibar {
    display: none !important;
  }
}

/* Mobile Navigation System — sidebar styles now live in navbar.css.
   Only index-specific overrides remain here. */

/* Responsive adjustments for main-content */
@media (max-width: 1200px) {
  .main-content {
    min-height: 650px;
    padding: 50px 50px 80px 50px;
  }
}

@media (max-width: 992px) {
  .main-content {
    min-height: 620px;
    padding: 45px 40px 75px 40px;
  }
}

@media (max-width: 768px) {
  .main-content {
    min-height: 580px;
    padding: 40px 30px 70px 30px;
  }
}

@media (max-width: 480px) {
  .main-content {
    min-height: 550px;
    padding: 35px 20px 65px 20px;
  }
}



/* --- Contact icon visual refinements (overrides) --- */
.contact-icon {
  width: 66px !important;
  height: 66px !important;
  background: radial-gradient(120% 120% at 10% 20%, #1178f6 0%, #0f69d9 50%, #0b56b3 100%) !important;
  box-shadow: 0 10px 30px rgba(17,120,246,0.18) !important, inset 0 1px 0 rgba(255,255,255,0.25) !important;
  transition: transform .22s cubic-bezier(.2,.9,.2,1), box-shadow .22s !important;
}

.contact-icon:hover {
  transform: translateY(-6px) scale(1.06) !important;
}
.contact-main-icon { font-size: 22px !important; }
.contact-pulse-ring { width: 84px !important; height: 84px !important; background: radial-gradient(circle at center, rgba(17,120,246,0.09), rgba(17,120,246,0.02)) !important; filter: blur(8px) !important; }
.contact-notification-dot { box-shadow: 0 6px 16px rgba(255,100,100,0.18) !important; }

/* Ensure tooltip shows on hover with slight delay */
.contact-icon-link:hover .contact-tooltip { opacity: 1 !important; visibility: visible !important; transform: translateX(-50%) translateY(-22px) !important; transition-delay: 0.06s; }

/* --- Coverflow carousel (Home) --- */
.cf-wrap {
  position: relative;
  max-width: 1150px;
  margin: 22px auto 0;
  padding: 24px 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.cf-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: min(82%, 900px);
  height: 46px;
  transform: translateX(-50%);
  filter: blur(12px);
  background: radial-gradient(60% 100% at 50% 0%, rgba(0,0,0,.18), rgba(0,0,0,0));
  pointer-events: none;
}
.cf-track {
  position: relative;
  display: flex;
  gap: 18px;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.cf-card {
  width: clamp(180px, 20vw, 260px);
  height: clamp(240px, 28vw, 340px);
  border-radius: 20px;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  background: #000;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  transition: transform .35s cubic-bezier(.2,.9,.2,1), opacity .25s, box-shadow .35s;
}
.cf-card.is-active { box-shadow: 0 22px 56px rgba(0,0,0,.30); }
.cf-cover { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cf-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.08)); }
.cf-label { position: absolute; left: 14px; bottom: 14px; padding: 8px 10px; border-radius: 12px; font-weight: 700; font-size: 0.95rem; color: #fff; background: rgba(0,0,0,.32); backdrop-filter: blur(6px); }

.cf-controls {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}
.cf-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cf-btn:hover { transform: scale(1.08); background: rgba(255,255,255,.18); box-shadow: 0 12px 26px rgba(0,0,0,.26); }
.cf-btn i { font-size: 16px; }

.cf-counter {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
  letter-spacing: 1px;
  z-index: 4;
}

@media (max-width: 900px) {
  .cf-wrap { margin: 10px auto 0; padding: 12px 10px 28px; }
  .cf-track { gap: 12px; }
  .cf-card { width: 40vw; height: 52vw; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
  .cf-controls { bottom: 6px; }
  .cf-btn { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce){
  .cf-card { transition: none; }
}

/* ============================================================
   MOBILE-FIRST RESPONSIVE DESIGN — Index / Home page
   ============================================================ */

/* --- Prevent horizontal overflow on all screens --- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ---------- 768px and below (tablets & phones) ---------- */
@media (max-width: 768px) {

  /* --- Kill all horizontal overflow sources --- */
  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
  }

  /* --- Navbar on mobile --- */
  .navbar {
    box-shadow:
      0 2px 8px rgba(0,0,0,.1),
      inset 0 1px 0 rgba(255,255,255,.4) !important;
    animation: none !important;
  }

  .nav-links a {
    border-radius: 0 !important;
  }

  /* --- Hero fullscreen layout --- */
  .main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100svh;          /* fill the viewport height */
    padding: 80px 20px 100px;
    text-align: center;
  }

  /* --- Headline section vertical centering --- */
  .headline-section {
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 8px;
  }

  /* --- "THE LEADER IN" text --- */
  .headline {
    font-size: 2rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-shadow:
      0 1px 0 rgba(255,255,255,.6),
      0 2px 0 rgba(255,255,255,.4),
      0 3px 8px rgba(0,0,0,.35);
  }

  /* --- PPE text: stack vertically --- */
  .ppe-main {
    flex-direction: column;
    gap: 0;
    font-size: 2.2rem;
  }

  .ppe-line {
    line-height: 1.25;
  }

  .ppe-highlight,
  .ppe-normal {
    text-shadow:
      0 1px 0 rgba(255,255,255,.5),
      0 2px 6px rgba(0,0,0,.3);
  }

  /* --- Mobile CTA row below hero text --- */
  .mobile-cta-row {
    display: flex !important;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
  }

  .mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 50px;
    font-family: 'Prompt', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .5px;
    transition: transform .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-cta-btn--primary {
    background: linear-gradient(135deg, #00A651, #0077ff);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,166,81,.35);
  }

  .mobile-cta-btn--secondary {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
  }

  .mobile-cta-btn:active {
    transform: scale(.96);
  }

  /* --- Background indicators: lift above FAB --- */
  .kps-bg-indicators,
  #kpsBgIndicators {
    bottom: 100px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .kps-bg-indicator {
    width: 10px;
    height: 10px;
  }

  /* --- Floating contact FAB: bigger touch target & contain within viewport --- */
  .kps-contact-fab {
    right: 14px !important;
    bottom: 14px !important;
  }

  .kps-contact-fab__bubble {
    width: 58px;
    height: 58px;
  }

  .kps-contact-fab__bubble i {
    font-size: 24px;
  }

  /* --- Mobile drawer polish --- */
  .mobile-nav-menu {
    width: min(320px, 85vw);
  }

  .mobile-nav-header {
    padding: 18px 16px;
  }

  .mobile-nav-link {
    padding: 16px 14px;
    font-size: 15px;
    border-radius: 14px;
    transition: background .25s ease;
  }

  .mobile-nav-link:active {
    background: rgba(0,166,81,.12);
  }

  /* --- Footer compact on mobile --- */
  .site-footer {
    padding: 24px 16px 14px;
    border-radius: 0 !important;
  }

  .footer-bottom {
    font-size: 11px;
    margin-top: 14px;
    padding-bottom: 8px;
  }

  /* --- Contain all direct body children --- */
  body > * {
    max-width: 100%;
    overflow-x: hidden;
  }

  #mainContent {
    overflow-x: hidden;
    max-width: 100%;
  }
}

/* ---------- 480px and below (small phones) ---------- */
@media (max-width: 480px) {

  .main-content {
    padding: 70px 14px 90px;
  }

  .headline {
    font-size: 1.55rem;
    letter-spacing: 1px;
  }

  .ppe-main {
    font-size: 1.75rem;
  }

  .mobile-cta-btn {
    padding: 12px 22px;
    font-size: 0.88rem;
  }

  .mobile-nav-menu {
    width: min(280px, 88vw);
  }

  .kps-bg-indicators,
  #kpsBgIndicators {
    bottom: 88px !important;
  }

  .kps-bg-indicator {
    width: 9px;
    height: 9px;
  }
}

/* ---------- 360px and below (very small phones) ---------- */
@media (max-width: 360px) {

  .main-content {
    padding: 60px 10px 80px;
  }

  .headline {
    font-size: 1.3rem;
  }

  .ppe-main {
    font-size: 1.45rem;
  }

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

  .mobile-cta-btn {
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.85rem;
  }
}

/* ---------- Landscape phones ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .main-content {
    min-height: 100svh;
    padding: 50px 30px 60px;
  }

  .headline-section {
    margin-bottom: 10px;
  }

  .headline {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .ppe-main {
    flex-direction: row;
    font-size: 1.4rem;
    gap: .35rem;
  }

  .kps-bg-indicators,
  #kpsBgIndicators {
    bottom: 10px !important;
  }
}

/* --- Hide CTA row on desktop (added via JS/HTML) --- */
.mobile-cta-row {
  display: none;
}

