/* ==========================================================================
   SPLITROCK ENERGY - MODERN INDUSTRIAL STYLESHEET
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-dark: #070a12;
  --bg-surface: #0e1626;
  --bg-card: rgba(17, 27, 46, 0.75);
  --bg-card-hover: rgba(26, 40, 68, 0.85);
  --bg-glass: rgba(14, 22, 38, 0.65);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  
  /* Brand Accent Colors */
  --brand-red: #ef4444;
  --brand-red-glow: rgba(239, 68, 68, 0.35);
  --brand-red-dark: #b91c1c;
  --brand-green: #22c55e;
  --brand-green-glow: rgba(34, 197, 94, 0.35);
  --brand-green-light: #4ade80;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #ef4444 0%, #ff5252 50%, #22c55e 100%);
  --grad-red: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  --grad-green: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(20, 31, 53, 0.8) 0%, rgba(11, 18, 31, 0.95) 100%);
  
  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #070a12;
  
  /* Font Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow-red: 0 0 25px rgba(239, 68, 68, 0.3);
  --shadow-glow-green: 0 0 25px rgba(34, 197, 94, 0.3);
  
  /* Layout Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Grid & Glows */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(34, 197, 94, 0.07) 0%, transparent 45%),
    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: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
  z-index: -1;
}

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

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   TYPOGRAPHY & SECTION HEADERS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(239, 68, 68, 0.12);
  color: var(--brand-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
  margin-bottom: 16px;
}

.badge-pill.badge-green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--brand-green-light);
  border-color: rgba(34, 197, 94, 0.3);
}

.section-title-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-title-wrap.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS & CALL TO ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: var(--grad-red);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.55);
}

.btn-green {
  background: var(--grad-green);
  color: #061c0e;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--bg-glass-border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Theme Switcher Button */
.theme-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-switch-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
/* Top Information Bar */
.top-bar {
  background: rgba(6, 10, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.top-bar-item:hover {
  color: var(--brand-green-light);
}

.top-bar-item i {
  color: var(--brand-red);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  color: var(--brand-green-light);
  font-weight: 600;
  font-size: 0.75rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-green);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.social-link:hover {
  background: var(--brand-red);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: padding var(--transition-normal), background var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 10, 18, 0.96);
  box-shadow: var(--shadow-md);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 52px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.drawer-header,
.drawer-footer {
  display: none;
}

.drawer-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.drawer-links .nav-link i {
  display: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-red);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1060;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile Drawer Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1040;
  pointer-events: none;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 100px 0 80px;
  min-height: calc(100vh - 125px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/image-1.png') center center/cover no-repeat;
  opacity: 0.18;
  filter: saturate(1.4) brightness(0.9);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.4) 0%, rgba(7, 10, 18, 0.95) 100%),
              radial-gradient(circle at 75% 30%, rgba(239, 68, 68, 0.15) 0%, transparent 60%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--brand-green-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .highlight-red {
  color: var(--brand-red);
}

.hero-title .highlight-green {
  color: var(--brand-green-light);
  background: linear-gradient(135deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 48px;
}

.btn-video-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  background: transparent;
  border: none;
}

.play-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
  transition: var(--transition-fast);
}

.play-icon-wrap::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(239, 68, 68, 0.5);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.btn-video-play:hover .play-icon-wrap {
  transform: scale(1.08);
  background: #ff4d4d;
}

/* Hero Right Card / Image Showcase */
.hero-visual {
  position: relative;
}

.hero-card-glass {
  background: var(--grad-dark-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-primary);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-card-img-wrap:hover img {
  transform: scale(1.04);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.stat-box .stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-green-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-box .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   CLIENT & PARTNERS SECTION (USER REQUESTED)
   ========================================================================== */
.partners-section {
  padding: 45px 0;
  background: rgba(11, 17, 30, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.partners-intro {
  text-align: center;
  margin-bottom: 24px;
}

.partners-intro p {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-card {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.partner-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.partner-card img {
  height: 48px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.partner-card:hover img {
  opacity: 1;
}

/* ==========================================================================
   ABOUT US SECTION (USER REQUESTED)
   ========================================================================== */
.about-section {
  padding: 110px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
  height: 540px;
}

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

.about-main-img:hover img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(14, 22, 38, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.about-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--brand-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.about-badge-text h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.about-badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-content .section-desc {
  margin-bottom: 20px;
}

.section-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 20px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.pillar-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.pillar-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PARTNERSHIPS & CORPORATE UMBRELLA (RINCHEM)
   ========================================================================== */
.partnerships-section {
  padding: 110px 0;
  background: radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 60%),
              rgba(10, 16, 28, 0.4);
  position: relative;
  overflow: hidden;
}

.compliance-banner-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 24px 30px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.compliance-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.compliance-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--brand-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
}

.rinchem-badge-logo {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rinchem-main-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.compliance-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compliance-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-green-light);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.compliance-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.compliance-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.compliance-right {
  flex-shrink: 0;
}

.dot-badge-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dot-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 125px;
}

.dot-badge .dot-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.dot-badge .dot-value {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--brand-red);
}

.dot-badge.status-active-badge .dot-value {
  color: var(--brand-green-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Rinchem Feature Slide Canvas */
.rinchem-feature-canvas {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.85) 0%, rgba(10, 16, 28, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 44px 36px 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.canvas-header-text {
  max-width: 960px;
  margin: 0 auto 32px;
  text-align: center;
}

.canvas-main-title {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 18px;
}

.canvas-main-title .highlight-brand {
  color: var(--brand-red);
  font-weight: 800;
}

.canvas-main-title .highlight-green {
  color: var(--brand-green-light);
  font-weight: 800;
}

.canvas-lead-text {
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.canvas-connect-link {
  color: var(--brand-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition-fast);
  display: inline-block;
}

.canvas-connect-link:hover {
  color: var(--brand-green-light);
  transform: translateX(3px);
}

.canvas-truck-stage {
  position: relative;
  padding: 24px 0 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.canvas-glow-backdrop {
  position: absolute;
  width: 580px;
  max-width: 90%;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.14) 0%, rgba(34, 197, 94, 0.06) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.canvas-truck-img {
  position: relative;
  z-index: 2;
  max-width: 580px;
  width: 92%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.65));
  transition: transform 0.4s ease;
}

.canvas-truck-stage:hover .canvas-truck-img {
  transform: translateY(-8px) scale(1.02);
}

.canvas-partners-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 10px;
  align-items: stretch;
}

.partner-brand-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 16px;
  transition: var(--transition-normal);
}

.partner-brand-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.partner-brand-item.highlight-splitrock {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.3);
}

.partner-brand-item.highlight-splitrock:hover {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.1);
}

.brand-item-logo {
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item-logo.logo-bg-white {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.brand-item-logo img {
  max-height: 56px;
  max-width: 92%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.brand-item-logo.logo-bg-white img {
  max-height: 48px;
  max-width: 100%;
  filter: none;
}

.brand-item-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-item-caption strong {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
}

.brand-item-caption span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION (8 DEDICATED SERVICES)
   ========================================================================== */
.services-section {
  padding: 110px 0;
  background: rgba(10, 16, 28, 0.6);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  background: var(--grad-primary);
}

.service-header {
  margin-bottom: 20px;
}

.service-icon-wrap img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.service-card:nth-child(even) .service-icon-wrap {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
  color: var(--brand-green-light);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.service-card:nth-child(even):hover .service-icon-wrap {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-red);
}

.service-card:nth-child(even) .service-link {
  color: var(--brand-green-light);
}

.service-link i {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   24/7 SUPPORT CALLOUT BANNER
   ========================================================================== */
.support-banner-section {
  padding: 60px 0;
  position: relative;
}

.support-banner-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(14, 22, 38, 0.95) 50%, rgba(34, 197, 94, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  box-shadow: var(--shadow-lg);
}

.support-banner-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.support-banner-text p {
  color: #cbd5e1;
  font-size: 1.1rem;
}

.support-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-us-section {
  padding: 110px 0;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.why-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 1.8rem;
  color: var(--brand-green-light);
  margin-bottom: 12px;
}

.why-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.why-visual {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 540px;
}

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

.why-img-box:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   INDUSTRIAL GALLERY SECTION (WITH FILTER TABS & LIGHTBOX)
   ========================================================================== */
.gallery-section {
  padding: 110px 0;
  background: rgba(10, 16, 28, 0.6);
  position: relative;
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: all var(--transition-normal);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 10, 18, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

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

.gallery-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.gallery-info p {
  font-size: 0.8rem;
  color: var(--brand-green-light);
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   CONTACT US SECTION & DISPATCH FORM
   ========================================================================== */
.contact-section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-fast);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.contact-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card:nth-child(2) .contact-icon {
  background: rgba(34, 197, 94, 0.12);
  color: var(--brand-green-light);
}

.contact-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.contact-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  display: inline-block;
}

.contact-text a:hover {
  color: #ffffff;
}

.map-wrapper {
  margin-top: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  min-height: 180px;
  height: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  box-sizing: border-box;
}

.map-wrapper iframe {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
  flex: 1;
  filter: invert(90%) hue-rotate(180deg) contrast(1.2);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  box-sizing: border-box;
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  word-break: break-word;
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

#dispatch-form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.form-group.full-width {
  grid-column: span 2;
  width: 100%;
  max-width: 100%;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-overflow: ellipsis;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
  background: rgba(7, 10, 18, 0.9);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #04070d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 20px 0 24px;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brand-red);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Footer Compliance Row */
.footer-compliance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
}

.footer-umbrella-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-umbrella-note i {
  color: var(--brand-red);
  font-size: 1.1rem;
}

.footer-umbrella-note strong {
  color: #ffffff;
}

.footer-dot-credentials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-green-light);
  letter-spacing: 0.5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ==========================================================================
   MODALS (VIDEO & LIGHTBOX & TOAST)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  max-width: 850px;
  width: 100%;
  margin: auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.85);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  z-index: 20;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.modal-close:hover {
  background: var(--brand-red);
  transform: scale(1.08);
}

/* Lightbox Specifics */
.lightbox-modal-content {
  max-width: 850px;
  width: 100%;
  padding: 24px 20px 20px;
  background: rgba(12, 18, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
}

#lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

#lightbox-caption {
  margin-top: 14px;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  width: 100%;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(30px);
  opacity: 0;
  animation: slideToast 0.3s forwards;
}

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

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 990;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: #ff4d4d;
}

/* Backdrop for Mobile Menu Drawer */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

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

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
  /* Hide top bar on mobile/tablet as requested */
  .top-bar {
    display: none !important;
  }
  
  .nav-container {
    height: 72px;
  }
  
  .brand-logo-img {
    height: 44px;
  }
  
  .nav-actions #btn-header-quote {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  /* Mobile Slide-in Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    background: #090e1a;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 24px 20px;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.85);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    z-index: 1060;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
    flex-shrink: 0;
  }
  
  .drawer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
  }
  
  .drawer-close {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    padding: 0;
  }
  
  .drawer-close i {
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .drawer-close:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff;
  }
  
  .drawer-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
  }
  
  .drawer-links .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: #cbd5e1;
    font-size: 0.98rem;
    font-weight: 600;
    transition: all 0.2s;
    border-bottom: none;
    text-decoration: none;
  }
  
  .drawer-links .nav-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    font-size: 1.05rem;
    color: var(--brand-red);
    flex-shrink: 0;
    text-align: center;
  }
  
  .drawer-links .nav-link span {
    text-align: left;
    flex: 1;
  }
  
  .drawer-links .nav-link:hover,
  .drawer-links .nav-link.active {
    background: rgba(239, 68, 68, 0.12);
    color: #ffffff;
  }
  
  .drawer-links .nav-link::after {
    display: none;
  }
  
  .drawer-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 14px;
    flex-shrink: 0;
  }
  
  .drawer-contact-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 16px;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
  }
  
  .drawer-contact-btn i {
    width: 22px;
    text-align: center;
    color: var(--brand-green-light);
    flex-shrink: 0;
  }
  
  .drawer-contact-btn span {
    text-align: left;
  }
  
  .drawer-quote-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    justify-content: center;
  }

  .hero-grid, .about-grid, .why-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    width: 100%;
    max-width: 100%;
  }
  
  .about-main-img, .why-img-box {
    height: 400px;
  }

  .canvas-partners-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .compliance-banner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 24px;
  }

  .compliance-left {
    flex-direction: row;
    width: 100%;
  }

  .compliance-right {
    width: 100%;
  }

  .dot-badge-box {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .dot-badge {
    min-width: 0;
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0 30px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 30px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .hero-card-glass {
    padding: 20px 16px;
  }

  .hero-card-img-wrap {
    height: 200px;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
  }

  .stat-box {
    padding: 12px 10px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }
  
  .about-section, .partnerships-section, .services-section, .why-us-section, .gallery-section, .contact-section {
    padding: 48px 0;
  }
  
  .section-title {
    font-size: 1.85rem;
  }

  .section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .about-main-img, .why-img-box {
    height: 260px;
    border-radius: var(--radius-md);
  }
  
  .about-floating-badge {
    position: static;
    margin-top: 14px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  .about-pillars, .why-features, .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pillar-item, .why-feature-item {
    padding: 16px 14px;
  }

  /* Partnerships Mobile */
  .compliance-banner-card {
    padding: 20px 16px;
    gap: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
  }

  .compliance-left {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    width: 100%;
  }

  .compliance-icon-badge {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .rinchem-badge-logo {
    padding: 5px 10px;
  }

  .rinchem-main-logo {
    max-height: 34px;
  }

  .compliance-title {
    font-size: 1.15rem;
  }

  .compliance-sub {
    font-size: 0.82rem;
  }

  .dot-badge-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }

  .dot-badge {
    padding: 8px 10px;
    min-width: 0;
    width: 100%;
  }

  .dot-badge .dot-value {
    font-size: 1rem;
  }

  .dot-badge.status-active-badge {
    grid-column: span 2;
    justify-content: center;
  }

  .rinchem-feature-canvas {
    padding: 26px 16px 20px;
    border-radius: var(--radius-md);
  }

  .canvas-header-text {
    margin-bottom: 20px;
  }

  .canvas-main-title {
    font-size: 1.25rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .canvas-lead-text {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .canvas-truck-stage {
    min-height: 180px;
    padding: 10px 0 20px;
  }

  .canvas-truck-img {
    max-height: 200px;
    width: 100%;
  }

  .canvas-partners-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 22px;
  }

  .partner-brand-item {
    padding: 16px 14px;
    gap: 12px;
  }

  .brand-item-logo {
    height: 52px;
  }

  .brand-item-logo img {
    max-height: 46px;
  }

  /* Services Mobile */
  .service-card {
    padding: 24px 20px;
  }

  .service-title {
    font-size: 1.15rem;
  }

  /* Gallery Mobile */
  .gallery-filters {
    gap: 8px;
    margin-bottom: 24px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.82rem;
  }

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

  .gallery-item {
    height: 240px;
  }
  
  /* Contact Section & Form Mobile Precision */
  .contact-section {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    max-width: 100%;
  }

  .contact-info-col {
    gap: 14px;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .contact-card {
    padding: 16px 14px;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .contact-icon {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  .contact-text h4 {
    font-size: 0.95rem;
  }

  .contact-text p, .contact-text a {
    font-size: 0.88rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .map-wrapper {
    width: 100%;
    max-width: 100%;
    height: 220px;
    min-height: 220px;
    flex: initial;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .contact-form-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
  }
  
  .contact-form-card h3 {
    font-size: 1.35rem;
    word-break: break-word;
  }
  
  .contact-form-card p {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
  }
  
  .form-group {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-group.full-width {
    grid-column: span 1;
    width: 100%;
    max-width: 100%;
  }
  
  .form-control {
    font-size: 16px; /* Prevents auto zoom on mobile iOS */
    padding: 12px 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .support-banner-card {
    padding: 28px 18px;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
  }
  
  .support-banner-actions {
    width: 100%;
    justify-content: center;
  }
  
  .support-banner-actions .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-compliance-row {
    padding: 16px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-dot-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

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

  /* Modal responsiveness on mobile */
  .modal-overlay {
    padding: 12px;
  }
  
  .lightbox-modal-content {
    padding: 18px 12px 14px;
    max-width: 95vw;
  }
  
  .lightbox-img-wrap {
    max-height: 55vh;
  }
  
  #lightbox-img {
    max-height: 55vh;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .compliance-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dot-badge-box {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .dot-badge.status-active-badge {
    grid-column: span 1;
  }
  
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .stat-box {
    padding: 12px;
  }
  
  .about-main-img, .why-img-box {
    height: 220px;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-desc {
    font-size: 0.92rem;
  }

  .contact-card {
    padding: 14px 12px;
    gap: 12px;
  }

  .contact-form-card {
    padding: 18px 14px;
  }
}
