@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --primary: #ffffff;
  --accent: #ff7315;
  /* Premium Brand Orange */
  --accent-vibrant: #ff9447;
  /* Sunset Orange */
  --accent-gold: #e05600;
  /* Deep Orange */
  --accent-light: #fff0e5;
  /* Soft Warm Orange Cream */
  --text-main: #1f2937;
  /* Charcoal */
  --text-sub: #4b5563;
  /* Slate */
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 115, 21, 0.12);
  --grad-premium: linear-gradient(135deg, #ff7315 0%, #ff9447 50%, #e05600 100%);
  --shadow-color: rgba(255, 115, 21, 0.1);
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: #ffffff;
  color: var(--text-main);
  overflow-x: hidden;
}

h1,
h2,
h3,
.heading-font {
  font-family: 'Outfit', sans-serif;
  /* Cleaner modern font for the vibrant orange theme */
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Modern Glassmorphism 2.0 */
.glass {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px -15px var(--shadow-color);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
  box-shadow: 0 30px 60px -20px rgba(255, 102, 0, 0.18);
  border-color: rgba(255, 102, 0, 0.25);
}

/* Vibrant Gradient Text */
.text-gradient {
  background: var(--grad-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: grad-flow 8s linear infinite;
}

@keyframes grad-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Modern Buttons */
.btn-primary {
  background: var(--grad-premium);
  color: #ffffff !important;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px -5px rgba(255, 102, 0, 0.35);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 35px -10px rgba(255, 102, 0, 0.45);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(45deg);
  transition: 0.6s;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-outline {
  background: transparent;
  color: var(--accent) !important;
  border: 2px solid var(--accent);
  padding: 0.9rem 2.4rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.4s ease;
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 10px 20px -5px rgba(255, 102, 0, 0.3);
}

/* Premium Orange Navbar global overrides */
#navbar {
  background: var(--accent) !important; /* Brand orange for header background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px -10px rgba(255, 102, 0, 0.2) !important;
}

#navbar a {
  color: #ffffff !important;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); /* Keep white text readable on light orange background */
}

#navbar a:hover,
#navbar a.text-\[var\(--gold\)\] {
  color: #ffffff !important;
}

#navbar a::after {
  background: #ffffff !important;
}

#navbar .btn-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

#navbar .btn-outline:hover {
  background: #ffffff !important;
  color: var(--accent) !important;
  box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.2);
}

/* Modern Card Layouts */
.product-card {
  border-radius: 2rem;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  overflow: hidden;
  transition: all 0.5s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px -20px rgba(255, 102, 0, 0.15);
  border-color: rgba(255, 102, 0, 0.2);
}

/* Alternate Backgrounds for Products Page */
.bg-alternate-grey {
  background-color: #f1f5f9 !important;
}

/* Section Decorative Elements */
.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
  border-radius: 50%;
}

/* 3D Canvas Background */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  /* Stays strictly behind all text, images, and other canvases */
  pointer-events: none;
  opacity: 0.85;
  /* Beautiful visibility of floating elements */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #fff5eb;
}

::-webkit-scrollbar-thumb {
  background: var(--grad-premium);
  border-radius: 10px;
}

/* Modern Navbar Links */
nav a {
  position: relative;
  overflow: hidden;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-premium);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after {
  transform: translateX(0);
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}

.bento-item {
  border-radius: 2.5rem;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 102, 0, 0.08);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-item:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 40px 100px -20px rgba(255, 102, 0, 0.22);
}

/* Premium Orange Footer Styling */
footer {
  background: var(--accent) !important; /* Brand orange for footer background */
  color: #ffffff !important;
  border-top: 5px solid var(--accent-gold);
}

footer a {
  color: #ffffff !important;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); /* Keep white text readable on light orange background */
}

footer a:hover {
  color: #ffffff !important;
  padding-left: 4px;
}

footer .border-t {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Colorful Section Title */
.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
}

/* Glass Floating Effect */
.glass-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Navbar Transition */
.nav-scrolled {
  padding: 0.75rem 0 !important;
}

/* Image Hover Zoom */
.img-zoom-container {
  overflow: hidden;
}

.img-zoom-container img {
  transition: transform 0.7s ease;
}

.img-zoom-container:hover img {
  transform: scale(1.1);
}


/* ----------------------------------------------------
   Mobile Overflow & Invisible Contact Text Fixes
   ---------------------------------------------------- */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* Ensure the fixed navbar is exactly aligned and won't get cut off */
#navbar {
  width: 100%;
  left: 0;
  right: 0;
}

/* Force mobile menu contact text to be brand orange against the white button background */
#mobile-menu a.bg-white {
  color: var(--accent) !important;
}

#mobile-menu {
  background: var(--accent) !important; /* Match the header brand background */
}

#mobile-menu a {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); /* Keep white text readable on mobile */
}

/* Ensure full width and performance on WebGL background canvas */
#webgl-canvas {
  width: 100% !important;
}

/* ----------------------------------------------------
   Global Paragraph & Text Styling Overrides
   ---------------------------------------------------- */
/* Force all body paragraphs to black for high readability */
p {
  color: #000000 !important;
}

/* Ensure footer and explicitly styled white-text paragraphs remain readable */
footer p,
.text-white p,
p.text-white,
p[class*="text-white"],
footer span,
footer li,
footer h4 {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); /* Subtle text shadow for readability */
}

/* ----------------------------------------------------
   Clients & Partners Infinite Logo Slider
   ---------------------------------------------------- */
.logo-slider {
  overflow: hidden;
  padding: 3rem 0;
  background: #ffffff;
  position: relative;
  width: 100%;
}

/* Gradient fades on left and right edges for depth */
.logo-slider::before,
.logo-slider::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 150px;
  z-index: 2;
  pointer-events: none;
  top: 0;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-track {
  display: flex;
  width: calc(250px * 16);
  /* 8 logos duplicated = 16 slides */
  animation: logoScroll 25s linear infinite;
}

.logo-slide {
  height: 90px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.5rem;
  flex-shrink: 0;
}

.logo-slide img {
  max-height: 60px;
  max-width: 180px;
  object-fit: contain;
  opacity: 1;
  filter: none !important;
  -webkit-filter: grayscale(0%) !important;
  filter: grayscale(0%) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-slide img:hover {
  transform: scale(1.08);
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 8));
    /* width of one set of logos */
  }
}

/* Pause scroll animation on hover to allow inspection */
.logo-track:hover {
  animation-play-state: paused;
}

.logo-track:hover {
  animation-play-state: paused;
}