/* Ratneshwar Industries - Custom Light Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
  --primary-navy: #012E57;
  --primary-dark: #001f3b;
  --navy-slate: #012E57;
  --accent-green: #84B925;
  --accent-green-dark: #6fa01b;
  --primary-blue: #012E57;
  --accent-amber: #84B925;
}

html {
  max-width: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #334155;
  background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* Fluid Media Defaults */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Light Industrial Grid Pattern */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(2, 132, 199, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Sticky Glassmorphism Navigation */
.glass-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.glass-header.is-scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.09);
  background: rgba(255, 255, 255, 0.98);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Smooth Image Hover Zoom */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom-container:hover img {
  transform: scale(1.06);
}

/* Before / After Slider Styling */
.ba-slider-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  border-radius: 0.75rem;
}

.ba-slider-before,
.ba-slider-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-slider-before {
  z-index: 10;
  overflow: hidden;
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ffffff;
  z-index: 20;
  cursor: ew-resize;
  box-shadow: 0 0 10px rgba(0,0,0,0.35);
}

.ba-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0284c7;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* Gradient Text */
.text-gradient-blue {
  background: linear-gradient(135deg, #012E57 0%, #034b8c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #84B925 0%, #5b8514 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating animation */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.90);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hide scrollbar for Chrome, Safari, Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Touch Optimizations */
.ba-slider-container {
  touch-action: pan-y;
}

/* Accessible tap-targets for mobile buttons */
@media (max-width: 640px) {
  .tap-target-min {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ========================================================
   OFFICIAL RATNESHWAR COLOR THEME (#84B925 & #012E57)
   Brand Primary Navy: #012E57
   Brand Vibrant Eco-Green: #84B925
   ======================================================== */
:root {
  --primary-navy: #012E57;
  --primary-navy-dark: #001f3b;
  --primary-navy-light: #034b8c;
  --accent-green: #84B925;
  --accent-green-dark: #6fa01b;
  --accent-green-light: #9bd634;
  --accent-green-bg: rgba(132, 185, 37, 0.12);
  --accent-green-border: rgba(132, 185, 37, 0.35);
}

/* 1. Typography & Text Colors */
.text-sky-600,
.text-sky-700,
.text-sky-800 {
  color: #012E57 !important;
}

.text-amber-500,
.text-amber-600,
.text-amber-700 {
  color: #5b8514 !important;
}

.text-amber-800 {
  color: #012E57 !important;
}

.text-emerald-600,
.text-emerald-700 {
  color: #5b8514 !important;
}

/* Text on Dark Backgrounds */
.bg-slate-900 .text-amber-400,
.bg-slate-950 .text-amber-400,
.bg-slate-900 .text-amber-500,
.bg-slate-950 .text-amber-500,
footer .text-amber-400,
footer .text-amber-500,
.hero-slide .text-amber-400 {
  color: #84B925 !important;
}

/* Hover text links */
.hover\:text-sky-600:hover,
.hover\:text-sky-700:hover,
a:hover .text-sky-600 {
  color: #84B925 !important;
}

.hover\:text-amber-600:hover,
.hover\:text-amber-500:hover {
  color: #84B925 !important;
}

/* 2. Backgrounds */
.bg-sky-600 {
  background-color: #012E57 !important;
}

.bg-sky-700,
.hover\:bg-sky-700:hover {
  background-color: #001f3b !important;
}

.bg-sky-50 {
  background-color: rgba(1, 46, 87, 0.05) !important;
}

.bg-sky-100 {
  background-color: rgba(1, 46, 87, 0.10) !important;
}

.hover\:bg-sky-50:hover {
  background-color: rgba(1, 46, 87, 0.08) !important;
}

/* Primary CTA Buttons (formerly amber-500) */
.bg-amber-500,
.open-quote-modal,
button.bg-amber-500 {
  background-color: #84B925 !important;
  color: #012E57 !important;
  font-weight: 800 !important;
}

.bg-amber-500:hover,
.hover\:bg-amber-600:hover,
.open-quote-modal:hover,
button.bg-amber-500:hover {
  background-color: #012E57 !important;
  color: #ffffff !important;
}

.bg-amber-600 {
  background-color: #012E57 !important;
  color: #ffffff !important;
}

.bg-amber-400 {
  background-color: #84B925 !important;
}

.bg-amber-50 {
  background-color: rgba(132, 185, 37, 0.12) !important;
}

.bg-amber-100 {
  background-color: rgba(132, 185, 37, 0.20) !important;
}

/* 3. Borders */
.border-sky-600,
.border-sky-500 {
  border-color: #012E57 !important;
}

.border-sky-200 {
  border-color: rgba(1, 46, 87, 0.20) !important;
}

.border-sky-300 {
  border-color: rgba(1, 46, 87, 0.35) !important;
}

.border-amber-300,
.border-amber-400,
.border-amber-500 {
  border-color: #84B925 !important;
}

.border-amber-200 {
  border-color: rgba(132, 185, 37, 0.35) !important;
}

/* 4. Gradients & Patterns */
.text-gradient-blue {
  background: linear-gradient(135deg, #012E57 0%, #034b8c 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #84B925 0%, #5b8514 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.bg-grid-pattern {
  background-image: radial-gradient(rgba(1, 46, 87, 0.10) 1px, transparent 1px) !important;
}

.from-sky-600 {
  --tw-gradient-from: #012E57 var(--tw-gradient-from-position) !important;
}

.to-amber-500 {
  --tw-gradient-to: #84B925 var(--tw-gradient-to-position) !important;
}

.from-amber-500 {
  --tw-gradient-from: #84B925 var(--tw-gradient-from-position) !important;
}

.via-amber-400 {
  --tw-gradient-stops: var(--tw-gradient-from), #84B925 var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}

.to-amber-400 {
  --tw-gradient-to: #72a31d var(--tw-gradient-to-position) !important;
}

.from-sky-50 {
  --tw-gradient-from: #eef6e8 var(--tw-gradient-from-position) !important;
}

.from-sky-50\/70 {
  --tw-gradient-from: rgba(238, 246, 232, 0.75) var(--tw-gradient-from-position) !important;
}

.to-amber-50\/40 {
  --tw-gradient-to: rgba(132, 185, 37, 0.12) var(--tw-gradient-to-position) !important;
}

/* 5. Navigation & UI Elements */
nav a.text-sky-600.border-sky-600,
nav a.text-sky-600 {
  color: #012E57 !important;
  border-bottom-color: #84B925 !important;
}

nav a:hover {
  color: #84B925 !important;
}

/* Filter buttons (Projects & Clients, Gallery) */
.filter-tab-btn.active,
.filter-tab-btn.bg-sky-600 {
  background-color: #012E57 !important;
  color: #ffffff !important;
  border-color: #84B925 !important;
}

.filter-tab-btn:hover:not(.active) {
  color: #012E57 !important;
  border-color: #84B925 !important;
}

/* Hero Slider Pagination & Controls */
.hero-dot.bg-amber-500,
.hero-dot[aria-current="true"] {
  background-color: #84B925 !important;
}

#hero-slider-prev:hover,
#hero-slider-next:hover,
#hero-prev-slide:hover,
#hero-next-slide:hover {
  background-color: #84B925 !important;
  color: #012E57 !important;
  border-color: #84B925 !important;
}

/* Primary CTAs */
a.bg-sky-600,
button.bg-sky-600 {
  background-color: #012E57 !important;
  color: #ffffff !important;
}

a.bg-sky-600:hover,
button.bg-sky-600:hover {
  background-color: #84B925 !important;
  color: #012E57 !important;
}

/* Before / After Slider */
.ba-slider-button {
  background: #012E57 !important;
  color: #84B925 !important;
  border-color: #ffffff !important;
}

/* Go to Top Button Hover */
#go-to-top-btn:hover {
  background-color: #84B925 !important;
  color: #012E57 !important;
  border-color: #84B925 !important;
}

/* Focus Ring */
input:focus,
select:focus,
textarea:focus {
  border-color: #012E57 !important;
  --tw-ring-color: #012E57 !important;
}


