/* ========================================
   VALLABH PREFAB - PREMIUM UI OVERHAUL
   Modern, animated, crazy-attractive design
   ======================================== */

/* === CUSTOM PROPERTIES === */
:root {
  /* Colors - Vibrant industrial palette */
  --accent: #0a5f7a;
  --accent-bright: #0d7ea8;
  --accent-2: #ffc107;
  --accent-2-bright: #ffca28;
  --muted: #546e7a;
  --bg: #f5f8fa;
  --card: #ffffff;
  --dark: #0d1b2a;
  --success: #00c853;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0a5f7a 0%, #0d7ea8 50%, #14a0d6 100%);
  --gradient-accent: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  --gradient-hero: linear-gradient(160deg, #0d1b2a 0%, #1b3a4b 40%, #0a5f7a 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.24);
  
  /* Typography */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Poppins', sans-serif;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

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

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: translateX(4px);
}

.logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(10, 95, 122, 0.2));
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--accent-bright);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: #fff;
  padding: 5rem 2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  min-height: 600px;
  z-index: 1;
  margin-bottom: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(3deg); }
  66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

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

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6) rotateY(180deg);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

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

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

.btn.primary {
  background: var(--gradient-accent);
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.3);
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 193, 7, 0.4);
}

.btn.primary-cta {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 95, 122, 0.3);
}

.btn.primary-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(10, 95, 122, 0.4);
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/* === HERO GALLERY === */
.hero-gallery {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

.hero-gallery .slide {
  width: 280px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-gallery .slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-gallery .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 15s ease-out;
}

.hero-gallery .slide.active img {
  transform: scale(1.1);
}

/* === TOP INTERIORS STRIP === */
.top-interiors {
  padding: 0;
  margin: 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--bg) 100%);
  position: relative;
  z-index: 3;
}

.interiors-inner {
  display: flex;
  gap: 1rem;
  padding: 2rem 1.5rem 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: 1200px;
  margin: 0 auto;
}

.interior {
  flex: 0 0 auto;
  width: clamp(280px, 33vw, 400px);
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  scroll-snap-align: center;
  animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i) * 0.1s) backwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.interior:hover img {
  transform: scale(1.08);
}

.interior::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.interior:hover::after {
  opacity: 1;
}

/* === STATS SECTION === */
.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro h2 {
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.intro p {
  font-size: 1.2rem;
  color: var(--dark);
  line-height: 1.8;
  font-weight: 500;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat:hover::before {
  transform: scaleX(1);
}

.stat:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

/* === PRODUCTS CAROUSEL (CIRCULAR ROTATION) === */
.products-preview {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.products-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 95, 122, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.products-preview h2 {
  color: var(--accent);
  margin-bottom: 4rem;
  text-align: center;
  font-size: 2.5rem;
  position: relative;
}

.products-list {
  padding: 3rem 0;
}

.products-carousel {
  position: relative;
  height: 500px;
  margin: 0 auto 3rem;
  max-width: 1100px;
  perspective: 1400px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card {
  position: absolute;
  width: 340px;
  height: 450px;
  background: linear-gradient(135deg, #fff 0%, #f8fbfd 100%);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  left: 50%;
  top: 50%;
  overflow-y: auto;
  overflow-x: hidden;
  pointer-events: none;
  border: 1px solid rgba(10, 95, 122, 0.1);
}

.product-card::-webkit-scrollbar {
  width: 4px;
}

.product-card::-webkit-scrollbar-track {
  background: transparent;
}

.product-card::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card.active::before {
  opacity: 1;
}

.product-card.active {
  z-index: 10;
  filter: blur(0) brightness(1);
  opacity: 1;
  box-shadow: 0 30px 80px rgba(10, 95, 122, 0.35), 0 0 0 1px rgba(10, 95, 122, 0.1);
  pointer-events: auto;
  background: linear-gradient(135deg, #fff 0%, #ffffff 100%);
}

.product-card:not(.active) {
  z-index: 5;
  filter: blur(3px) brightness(0.6);
  opacity: 0.7;
}

/* Carousel navigation arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.98));
  border: 2px solid var(--accent);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(10, 95, 122, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.carousel-nav:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 32px rgba(10, 95, 122, 0.4), 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-bright);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav:hover svg {
  stroke: #fff;
  transform: scale(1.1);
}

.carousel-nav.prev {
  left: -70px;
}

.carousel-nav.next {
  right: -70px;
}

.carousel-nav svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  stroke-width: 3;
  transition: all 0.3s ease;
}

.card-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 24px rgba(10, 95, 122, 0.12);
  position: relative;
}

.card-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 95, 122, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card.active .card-image-wrapper::after {
  opacity: 1;
}

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

.product-card.active:hover .card-image-wrapper img {
  transform: scale(1.08);
}

.product-card h3 {
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 700;
}

.product-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.card-features li {
  padding: 0.5rem 0;
  color: var(--dark);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1.8rem;
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--accent);
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

/* === ADDITIONAL SOLUTIONS SECTION === */
.more-products {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.more-products h2 {
  text-align: center;
  color: var(--accent);
  margin-bottom: 3rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-bright);
}

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

.solution-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.solution-card:hover .solution-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--accent-bright);
}

.solution-card:hover .solution-icon svg {
  stroke: var(--accent-bright);
}

.solution-card h3 {
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.solution-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === REASONS SECTION === */
.reasons {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.reasons h2 {
  text-align: center;
  color: var(--accent);
  margin-bottom: 3rem;
}

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

.reasons-grid li {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.reasons-grid li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reasons-grid li:hover::before {
  transform: scaleX(1);
}

.reasons-grid li:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.reasons-grid strong {
  display: block;
  color: var(--accent-bright);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.reasons-grid span {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

/* === CAROUSEL / GALLERY === */
.carousel {
  padding: 5rem 2rem;
  background: var(--bg);
}

.carousel h2 {
  text-align: center;
  color: var(--accent);
  margin-bottom: 3rem;
}

.carousel-inner {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-2) var(--bg);
}

.carousel-inner::-webkit-scrollbar {
  height: 8px;
}

.carousel-inner::-webkit-scrollbar-track {
  background: var(--bg);
}

.carousel-inner::-webkit-scrollbar-thumb {
  background: var(--gradient-accent);
  border-radius: 10px;
}

.carousel-inner img {
  width: 380px;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  scroll-snap-align: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-inner img:hover {
  transform: scale(1.05);
}

/* === INQUIRY STRIP === */
.inquiry-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--gradient-primary);
  color: #fff;
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 1100px;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  flex-wrap: wrap;
}

.inquiry-strip p {
  margin: 0;
  font-size: 1.2rem;
}

.inquiry-strip strong {
  font-weight: 700;
  font-size: 1.4rem;
}

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* === FOOTER === */
.site-footer {
  background: var(--gradient-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-grid h3 {
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-grid a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* === WHATSAPP FAB === */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: bounce 2s infinite;
}

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

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  
  .hero-gallery {
    display: none;
  }
  
  .intro-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  /* Mobile carousel improvements */
  .products-preview {
    padding: 3rem 0.5rem;
  }
  
  .products-preview h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .products-carousel {
    height: 560px;
    perspective: 800px;
    padding: 0 10px;
    max-width: 100%;
  }
  
  .product-card {
    width: calc(100vw - 100px);
    max-width: 360px;
    height: 500px;
    padding: 1.5rem;
    border-radius: 20px;
  }
  
  /* Hide side cards completely on mobile for better focus */
  .product-card:not(.active) {
    opacity: 0 !important;
    pointer-events: none;
  }
  
  .card-image-wrapper {
    margin-bottom: 1rem;
  }
  
  .card-image-wrapper img {
    height: 160px;
  }
  
  .product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
  }
  
  .product-card p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }
  
  .card-features li {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    align-items: flex-start;
  }
  
  .card-features li::before {
    top: 0.5rem;
  }
  
  .carousel-nav {
    width: 50px;
    height: 50px;
    border-width: 2px;
    box-shadow: 0 4px 16px rgba(10, 95, 122, 0.25);
  }
  
  .carousel-nav.prev {
    left: 10px;
  }
  
  .carousel-nav.next {
    right: 10px;
  }
  
  .carousel-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 80px);
    background: var(--gradient-dark);
    flex-direction: column;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.2);
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-links a {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .inquiry-strip {
    flex-direction: column;
    text-align: center;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .products-carousel {
    max-width: 900px;
    padding: 0 80px;
    height: 480px;
  }
  
  .product-card {
    width: 320px;
    height: 430px;
  }
  
  .carousel-nav.prev {
    left: -50px;
  }
  
  .carousel-nav.next {
    right: -50px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .products-carousel {
    height: 580px;
    padding: 0 5px;
  }
  
  .product-card {
    width: calc(100vw - 80px);
    max-width: 340px;
    height: 520px;
    padding: 1.2rem;
  }
  
  .card-image-wrapper img {
    height: 150px;
  }
  
  .product-card h3 {
    font-size: 1.2rem;
  }
  
  .product-card p {
    font-size: 0.88rem;
  }
  
  .carousel-nav {
    width: 46px;
    height: 46px;
  }
  
  .carousel-nav.prev {
    left: 8px;
  }
  
  .carousel-nav.next {
    right: 8px;
  }
  
  .carousel-nav svg {
    width: 22px;
    height: 22px;
  }
}

/* === UTILITY === */
.center {
  text-align: center;
}

/* === CONTACT FORMS === */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.contact-form label {
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(10, 95, 122, 0.1);
}

.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.contact-info h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.contact-info a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--accent-2);
}

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

/* === GALLERY PAGE === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid figure:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid figure:hover img {
  transform: scale(1.1);
}
/* ========================================
   ABOUT PAGE - STUNNING DESIGN
   ======================================== */

/* About Hero */
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 4rem 2rem;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.about-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
}

.hero-shape {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s ease-in-out infinite;
}

/* Section Layouts */
.about-section {
  padding: 5rem 2rem;
}

.about-section.dark {
  background: var(--gradient-dark);
  color: #fff;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
}

.label {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.label.light {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

/* Mission Cards */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.mission-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.mission-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
  transition: all 0.4s ease;
}

.mission-card:hover .icon-box {
  transform: rotate(360deg) scale(1.1);
}

.mission-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.mission-card p {
  color: var(--muted);
  line-height: 1.7;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.feature-item {
  position: relative;
  padding-left: 5rem;
}

.feature-number {
  position: absolute;
  left: 0;
  top: -0.25rem;
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  line-height: 1;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #fff;
  position: relative;
  padding-top: 0.25rem;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* Stats Showcase */
.stats-showcase {
  background: var(--gradient-primary);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.stats-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.stat-mega {
  text-align: center;
}

.stat-value {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Split Content */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.split-text .lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--dark);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.split-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  background: var(--gradient-primary);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.visual-card:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.sustainability-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

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

.visual-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.visual-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* Vision Section */
.vision-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
  padding: 6rem 2rem;
  text-align: center;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
}

.vision-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.vision-content p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

.fade-in-up.delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

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

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, -30px) rotate(180deg);
  }
}

/* Responsive About Page */
@media (max-width: 768px) {
  .split-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .visual-card {
    transform: perspective(1000px) rotateY(0deg);
  }
  
  .feature-grid {
    gap: 2rem;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ====================
   OVERRIDES - FIX VISIBILITY & NON-INTERFERENCE
   These rules are deliberately specific and loaded last to
   restore visibility after optional animation bundles.
   ==================== */

/* Ensure headings in light sections remain visible (no white-on-white) */
.products-preview h2,
.carousel h2,
.more-products h2,
.reasons h2,
.solutions-grid h2,
.intro h2 {
  background: none !important;
  -webkit-text-fill-color: unset !important;
  color: var(--accent) !important;
}

/* Ensure hero title stays bold and visible on top of animated layers */
.hero-title {
  z-index: 5 !important;
  position: relative !important;
  color: #fff !important;
  -webkit-text-fill-color: unset !important;
  background: none !important;
}

/* Restore cursor if any stylesheet hid it */
@media (min-width: 769px) {
  body, body * { cursor: auto !important; }
}

/* Make carousel navigation plainly visible and inside container */
.carousel-nav {
  left: 12px !important;
  right: 12px !important;
}
.carousel-nav.prev { left: 12px !important; right: auto !important; }
.carousel-nav.next { right: 12px !important; left: auto !important; }
.carousel-nav { z-index: 60 !important; }

/* Make sure intro paragraph is readable */
.intro p { color: var(--dark) !important; }

/* Disable any heavy page-wide opacity hiding that some animation bundles add */
body.page-hidden, body[data-page-hidden] { opacity: 1 !important; visibility: visible !important; }

/* Limit any site-global animation intensity on mobile */
@media (max-width: 768px) {
  .hero, .intro-stats, .products-preview, .carousel { animation: none !important; }
  .hero::before, .hero::after { animation: none !important; }
}

