@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-primary: 'Outfit', sans-serif;
  
  /* Color Palette matching screenshot */
  --color-primary: #133b62;
  --color-primary-light: #1e4f7e;
  --color-primary-dark: #091724;
  --color-secondary: #149a00;
  --color-secondary-hover: #009d68;
  --color-accent-orange: #149a00;
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  --color-text-dark: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Global Section Spacing */
section {
  padding: 80px 24px;
}

h1, h2, h3, h4 {
  color: var(--color-primary);
  font-weight: 700;
}

p {
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   PERFECTLY ALIGNED NAVBAR WITH HOVER, CLICK & ACTIVE ANIMATIONS
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(11, 42, 74, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo Alignment & Animations */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.logo:hover {
  transform: scale(1.04);
}

.logo:active {
  transform: scale(0.96);
}

.logo span {
  color: var(--color-secondary);
}

/* Menu Items Alignment */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Link Animations & Alignment */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

/* Dynamic Hover Underline Bar */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: #149a00;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover State */
.nav-link:hover {
  color: #149a00;
  background: rgba(20, 154, 0, 0.05);
  transform: translateY(-1.5px);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Click / Active Animation (Tap / Press) */
.nav-link:active {
  transform: scale(0.94);
  transition: transform 0.08s ease;
}

/* ACTIVE STATE (bold wohi ho jis per click jay / active page) */
.nav-link.active,
.nav-item.active > .nav-link {
  font-weight: 700 !important;
  color: #0b2a4a !important;
  background: rgba(11, 42, 74, 0.04);
}

.nav-link.active::after,
.nav-item.active > .nav-link::after {
  transform: scaleX(1);
  background: #0b2a4a;
  height: 2.5px;
}

/* Dropdown Caret Animation */
.nav-caret,
.nav-link span {
  display: inline-block;
  font-size: 10px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.nav-item:hover .nav-caret,
.nav-item:hover .nav-link span {
  transform: rotate(180deg);
  color: #149a00;
}

/* Action Buttons Alignment & Animations */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
}

.btn-login {
  color: #149a00;
  border: 1.5px solid #149a00;
  background: transparent;
}

.btn-login:hover {
  background: #149a00;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 154, 0, 0.3);
  transform: translateY(-1.5px);
}

.btn-login:active {
  transform: scale(0.95);
}

.btn-demo {
  background: #0b2a4a;
  color: #ffffff;
  border: 1.5px solid #0b2a4a;
  box-shadow: 0 4px 12px rgba(11, 42, 74, 0.2);
}

.btn-demo:hover {
  background: #133b62;
  border-color: #133b62;
  box-shadow: 0 6px 18px rgba(11, 42, 74, 0.35);
  transform: translateY(-1.5px);
}

.btn-demo:active {
  transform: scale(0.95);
}

/* Mega Menu Dropdown Style */
.mega-menu {
  position: fixed;
  top: 74px;
  left: 50vw;
  transform: translateX(-50%) translateY(15px);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  border-radius: 12px;
  padding: 28px 32px;
  min-width: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
}

/* Wide 3-column mega menu for Solutions */
.mega-menu-wide {
  min-width: 980px;
  grid-template-columns: 1fr 1fr 1fr;
}

.nav-item:hover .mega-menu,
.nav-item.open .mega-menu,
.nav-item.nav-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-item {
  display: flex;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 8px;
  transition: var(--transition-normal);
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}

.mega-item:hover {
  background: var(--color-bg-light);
}

.mega-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mega-icon-green  { background: radial-gradient(circle, #149a0022, #149a0044); }
.mega-icon-orange { background: radial-gradient(circle, #149a0022, #149a0044); }
.mega-icon-blue   { background: radial-gradient(circle, #3b82f622, #3b82f644); }
.mega-icon-teal   { background: radial-gradient(circle, #0ea5e922, #0ea5e944); }
.mega-icon-purple { background: radial-gradient(circle, #8b5cf622, #8b5cf644); }
.mega-icon-dark   { background: radial-gradient(circle, #133b6222, #133b6244); }

.mega-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.mega-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  background: radial-gradient(circle at 80% 20%, rgba(243, 244, 246, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 580px;
}

.btn-orange {
  background: var(--color-accent-orange);
  color: #fff;
  border-radius: 24px;
  padding: 12px 28px;
  font-size: 15px;
}

.btn-orange:hover {
  background: #e0531f;
}

/* Tabs Section */
.tabs-section {
  text-align: center;
  background: var(--color-bg-light);
}

.tabs-container {
  max-width: 1280px;
  margin: 0 auto;
}

.tabs-header h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.tabs-header p {
  max-width: 800px;
  margin: 0 auto 40px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: var(--transition-normal);
}

.tab-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-panel.active {
  display: block;
}

/* Logos Banner */
.logos-section {
  padding: 40px 24px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.logos-title {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.logos-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.logo-item {
  font-size: 20px;
  font-weight: 800;
  color: #cbd5e1;
}

/* Roles Grid */
.roles-section {
  background: #fff;
}

.roles-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.role-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  padding: 16px 20px;
  background: var(--color-bg-light);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  color: var(--color-text-muted);
}

.accordion-item.active .accordion-body {
  padding: 16px 20px;
  max-height: 200px;
}

/* BPS Compliance Callout */
.bps-banner {
  background: #f1f5f9;
}

.bps-banner-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.bps-banner h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* Industry Grid Section */
.industry-section {
  background: #eef2f6;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.industry-card {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  position: relative;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-lg);
}

.arrow-diag {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--color-secondary);
}

/* Blog Section */
.blog-section {
  background: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.blog-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-img {
  width: 100%;
  height: 220px;
  background: #e2e8f0;
  object-fit: cover;
}

.blog-body {
  padding: 24px;
}

.blog-tag {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* Erase Waste CTA Banner */
.erase-waste {
  background: linear-gradient(135deg, #091724 0%, #133b62 100%);
  color: #fff;
  text-align: center;
  padding: 100px 24px;
}

.erase-waste h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 32px;
}

.btn-gradient {
  background: linear-gradient(90deg, var(--color-secondary) 0%, #0ea5e9 100%);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
}

.btn-gradient-green {
  background: #149a00;
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
}

/* Footer structure matching screenshot details */
.main-footer {
  background: #fff;
  padding: 60px 24px 30px;
  border-top: 1px solid var(--color-border);
}

.footer-top-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 40px;
}

.footer-title {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-col ul a:hover {
  color: var(--color-secondary);
}

.footer-bottom-row {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .hero-container, .roles-container, .bps-banner-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .grid-6, .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* Card left border highlights matching screenshot */
.border-left-green {
  border-left: 3px solid #149a00 !important;
}
.border-left-orange {
  border-left: 3px solid #149a00 !important;
}
.border-left-purple {
  border-left: 3px solid #9333ea !important;
}


/* Simple Mega Menu Items (Industries) */
.mega-item-simple {
  display: flex;
  gap: 12px;
  padding: 16px 8px;
  align-items: center;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-normal);
}
.mega-item-simple:hover {
  background: var(--color-bg-light);
  border-radius: 6px;
}
.mega-title-simple {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
}






/* ============================================================
   ZERO BOTTOM GAP ENERSENX FOOTER
   ============================================================ */
.enersenx-footer {
    background-color: #fafafc !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    padding: 16px 0 6px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.footer-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* Top Grid: 4 columns */
.footer-top-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 28px !important;
    margin-bottom: 4px !important;
}

.footer-brand-col .footer-tagline {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: #64748b !important;
    margin-top: 6px !important;
    max-width: 320px !important;
}

.footer-heading {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 3px !important;
}

.footer-links li:last-child {
    margin-bottom: 0 !important;
}

.footer-links a {
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    transition: color 0.2s ease !important;
    line-height: 1.3 !important;
    display: inline-block !important;
}

.footer-links a:hover {
    color: #0b2a4a !important;
}

/* Contact Bar - Attached closely to grid bottom */
.footer-contact-bar {
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 6px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}

.contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.85rem !important;
}

.contact-icon {
    font-size: 0.9rem !important;
    display: inline-flex !important;
}

.contact-text {
    color: #1e293b !important;
}

.contact-text.bold {
    font-weight: 600 !important;
}

.contact-text.link {
    text-decoration: none !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.contact-text.link:hover {
    color: #0284c7 !important;
}

/* Social Buttons */
.footer-social-links {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.social-btn {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.social-btn:hover {
    transform: translateY(-2px) !important;
    opacity: 0.9 !important;
}

.social-btn.facebook {
    background-color: #1877f2 !important;
    color: #ffffff !important;
}

.social-btn.twitter-x {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

.social-btn.linkedin {
    background-color: #0A66C2 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

/* Copyright Bar */
.footer-copyright-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding-top: 2px !important;
}

.copyright-left a {
    color: #94a3b8 !important;
    text-decoration: none !important;
}

.copyright-left a:hover {
    color: #475569 !important;
}

.copyright-right {
    display: flex !important;
    gap: 14px !important;
}

.copyright-right a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.copyright-right a:hover {
    color: #475569 !important;
}

@media (max-width: 991px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    .footer-contact-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 576px) {
    .footer-top-grid {
        grid-template-columns: 1fr !important;
    }
    .footer-copyright-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}
