
:root {
  --primary: #0f172a;
  --accent: #E8501A;
  --accent-light: #FFF3EF;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  --white: #ffffff;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header & Nav */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--accent);
}

.btn-contact {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s, background-color 0.2s;
}

.btn-contact:hover {
  background: #c43d0e;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Cards & Sections */
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-img {
  width: 100%;
  aspect-ratio: 1.2;
  background: #f8fafc;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* Footer */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
  color: var(--white);
  text-decoration: none;
}

@media(max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 32px;
  }
}

/* Footer Styling */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 60px 20px 30px;
  font-size: 14px;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

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

.footer-col ul a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-col.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col.contact-info i {
  color: var(--accent);
  width: 16px;
}

/* Social Media Circular Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.2s, background-color 0.2s;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.social-fb { background-color: #1877f2; }
.social-in { background-color: #0a66c2; }
.social-x { background-color: #14171a; }
.social-yt { background-color: #ff0000; }
.social-ig { background-color: #e1306c; }

/* Footer Bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: #64748b;
  font-size: 13px;
}

.footer-bottom a {
  color: #64748b;
  text-decoration: none;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: transform 0.2s, background-color 0.2s;
}

.whatsapp-widget:hover {
  background-color: #128c7e;
  transform: scale(1.1);
}

.whatsapp-widget i {
  color: var(--white);
  font-size: 32px;
}

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

/* Boldus-style Product Hover Cards */
.boldus-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.boldus-card {
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
}

.boldus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.85));
  transition: background 0.4s ease;
  z-index: 1;
}

.boldus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.boldus-card:hover::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.95));
}

.boldus-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: var(--white);
}

.boldus-icon {
  width: 60px;
  height: 60px;
  background: rgba(232, 80, 26, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 20px;
  transition: transform 0.4s ease, background 0.4s ease;
}

.boldus-card:hover .boldus-icon {
  transform: scale(1.1);
  background: rgba(232, 80, 26, 1);
}

.boldus-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.boldus-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* Make in India Badge */
.make-in-india-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid #ff9933;
}

.make-in-india-badge span {
  color: #ff9933; /* Saffron */
}
.make-in-india-badge span.white {
  color: #ffffff; /* White */
}
.make-in-india-badge span.green {
  color: #128807; /* Green */
}

@media(max-width: 992px) {
  .boldus-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width: 768px) {
  .boldus-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog Page Styling */
.blog-header-section {
  text-align: center;
  margin-bottom: 50px;
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag {
  align-self: flex-start;
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.blog-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-meta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 15px;
}

@media(max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Centered Logo & Rounded Pill Navigation */
.logo-header {
  background: var(--white);
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.logo-header img {
  max-height: 50px;
  width: auto;
}

header {
  background: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

header nav {
  background: #1a1a1a;
  border-radius: 50px;
  padding: 4px 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

header nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

header nav ul li {
  position: relative;
}

header nav ul li a {
  color: #cccccc !important;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  display: block;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}

header nav ul li a:hover {
  color: var(--white) !important;
  background-color: rgba(255, 255, 255, 0.1);
}

header nav ul li a.active {
  color: var(--white) !important;
  background-color: rgba(255, 255, 255, 0.18);
}

/* Align quote button out of the nav container or remove to match clean Boldus pill view */
.btn-contact-nav {
  display: none;
}

/* Vincita Corporate Brand Colors */
:root {
  --primary: #0f5298; /* Vincita Corporate Blue */
  --primary-dark: #0b3c70;
  --accent: #44862c; /* Vincita Corporate Green */
  --accent-light: rgba(68, 134, 44, 0.1);
  --text-dark: #0f172a;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* Logo Color Override */
.logo {
  color: #44862c !important; /* Green */
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.logo span {
  color: #0f5298 !important; /* Blue */
}

.logo-header .logo {
  color: #44862c !important;
}

.logo-header .logo span {
  color: #0f5298 !important;
}

/* Brand Text styling for name mentions */
.brand-vincita {
  color: #44862c !important;
  font-weight: 700;
}
.brand-tech {
  color: #0f5298 !important;
  font-weight: 700;
}

/* Vincita Typography & 3D Layering Theme overrides */
:root {
  --primary: #0f5298; /* Vincita Corporate Blue */
  --primary-dark: #0a3d73;
  --accent: #44862c; /* Vincita Corporate Green */
  --accent-light: rgba(68, 134, 44, 0.1);
  --white: #ffffff;
}

/* 3D Styled Headings and Logos */
.logo {
  font-family: 'Outfit', sans-serif;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.05), 2px 2px 2px rgba(0,0,0,0.1);
}

.hero-content h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 0px var(--primary-dark), 4px 4px 8px rgba(0,0,0,0.3);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.05);
}

/* Balanced Colors: Blue for Primary Actions, Green for Accent Icons/Highlights */
.btn-contact {
  background: var(--primary) !important;
  color: var(--white) !important;
  border: 1px solid var(--primary-dark);
  box-shadow: 0 4px 10px rgba(15, 82, 152, 0.25);
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.btn-contact:hover {
  background: var(--accent) !important; /* Green on Hover */
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(68, 134, 44, 0.35);
  transform: translateY(-2px);
}

/* Custom list bullet items */
ul li i {
  color: var(--accent) !important; /* Green for icons / checks */
}

.card h3 {
  color: var(--primary) !important; /* Blue for titles */
}

.boldus-icon {
  background: var(--primary) !important; /* Blue icon circle */
}

.boldus-card:hover .boldus-icon {
  background: var(--accent) !important; /* Green icon circle on Hover */
}

/* Contact Form Layout styles matching screenshot */
.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group-full {
  grid-column: span 2;
  margin-bottom: 20px;
}

.form-group-half {
  margin-bottom: 20px;
}

.contact-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.contact-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: var(--white);
}

.contact-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 82, 152, 0.15);
}

@media(max-width: 768px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
}

/* Make Logo Header and Navigation Menu Sticky together */
.logo-header {
  background: var(--white);
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1002;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.logo-header img {
  height: 55px; /* Slightly more compact for sticky scroll */
  width: auto;
}

header {
  background: var(--white);
  padding: 8px 0;
  position: sticky;
  top: 72px; /* Height of sticky logo header (55px logo + 16px padding + border) */
  z-index: 1001;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

/* Ensure smooth scrolling behavior and layout spacing below sticky headers */
body {
  scroll-padding-top: 140px; /* Offset for internal anchor links */
}

/* Strict Solid Black Background and All White Text Footer */
.site-footer {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-top: 1px solid #111111;
  padding: 60px 0 30px;
}

.site-footer * {
  color: #ffffff !important;
}

.site-footer h3 {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: none !important;
}

.site-footer p, 
.site-footer li, 
.site-footer span, 
.site-footer a, 
.site-footer i {
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer a {
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.site-footer .brand-vincita, 
.site-footer .brand-tech {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: none !important;
}

.site-footer .social-links a {
  background: #222222 !important;
  border: 1px solid #333333;
}

.site-footer .social-links a:hover {
  background: #ffffff !important;
}

.site-footer .social-links a:hover i {
  color: #000000 !important;
}

.footer-bottom {
  border-top: 1px solid #222222;
  margin-top: 40px;
  padding-top: 20px;
}

/* Single Integrated Sticky Header with Logos on Left/Right and Menu in Middle */
.logo-header {
  display: none !important; /* Remove stacked logo header */
}

header {
  background: var(--white) !important;
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

header nav {
  background: #1a1a1a;
  border-radius: 50px;
  padding: 2px 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

header nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

header nav ul li a {
  color: #cccccc !important;
  font-size: 12.5px;
  padding: 8px 14px;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: var(--white) !important;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Adjust scroll padding for single header */
body {
  scroll-padding-top: 85px;
}

@media(max-width: 992px) {
  .nav-container {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  header nav {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 8px;
    padding: 10px;
  }
  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* Premium Homepage Animations and CSS Layouts */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 5px 15px rgba(15, 82, 152, 0.15);
  }
  50% {
    box-shadow: 0 10px 25px rgba(15, 82, 152, 0.35);
  }
}

.animate-fade-in {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stats-counter-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 60px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(15, 82, 152, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.stats-counter-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.stat-item h4 {
  font-size: 36px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 5px;
  color: var(--white) !important;
  text-shadow: 1px 1px 0px var(--primary-dark), 2px 2px 0px rgba(0,0,0,0.15);
}

.stat-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500;
}

.interactive-hover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.interactive-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.interactive-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.interactive-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

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

.scroll-gallery-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery-item {
  flex: 0 0 350px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

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

.gallery-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.gallery-desc {
  padding: 20px;
}

.gallery-desc h4 {
  color: var(--primary) !important;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.gallery-desc p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
}

@media(max-width: 992px) {
  .stats-counter-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .interactive-hover-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Background Auto Carousel & Ken Burns Animation */
.hero {
  position: relative;
  overflow: hidden;
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out, transform 6s linear;
  transform: scale(1.02);
}

.hero-slide.active {
  opacity: 0.35; /* Dark overlay mix to ensure text legibility */
  z-index: 2;
  transform: scale(1.08); /* Slow zoom zoom zoom */
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 82, 152, 0.85));
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

/* Footer Social Media Icon Custom Coloring as per official brand logos */
.site-footer .social-links a.social-fb {
  background-color: #1877f2 !important;
  color: #ffffff !important;
}
.site-footer .social-links a.social-in {
  background-color: #0077b5 !important;
  color: #ffffff !important;
}
.site-footer .social-links a.social-x {
  background-color: #1da1f2 !important;
  color: #ffffff !important;
}
.site-footer .social-links a.social-yt {
  background-color: #ff0000 !important;
  color: #ffffff !important;
}
.site-footer .social-links a.social-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
}

/* Force social icon symbols to be strictly white inside the colored backgrounds */
.site-footer .social-links a i {
  color: #ffffff !important;
}

/* WhatsApp float layout fix - ensure no link underlines or focus outlines */
.whatsapp-widget, 
.whatsapp-widget i,
.whatsapp-widget:hover,
.whatsapp-widget:focus,
.whatsapp-widget:active {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

/* Moving clouds in sky background */
.clouds-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1513002749550-c59d786b8e6c?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 1;
  animation: moveClouds 60s linear infinite;
  pointer-events: none;
}

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

.hero-aeline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.15) 80%);
  z-index: 2;
  pointer-events: none;
}

.hero-aeline-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
  color: var(--white);
}

.hero-aeline-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hero-aeline-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 35px;
  line-height: 1.6;
}

/* 3D Curved Carousel Ring */
.carousel-viewport {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 320px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  pointer-events: none;
}

.slider-ring {
  position: relative;
  width: 200px;
  height: 250px;
  transform-style: preserve-3d;
  transform: rotateX(-5deg) rotateY(0deg);
  animation: spinRing 35s linear infinite;
}

@keyframes spinRing {
  from { transform: rotateX(-5deg) rotateY(0deg); }
  to { transform: rotateX(-5deg) rotateY(360deg); }
}

/* 3D curved cards */
.curved-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 210px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  transform-style: preserve-3d;
  backface-visibility: visible;
  pointer-events: auto;
  transition: transform 0.3s;
}

.curved-card:hover {
  transform: translateZ(20px) !important;
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(15, 82, 152, 0.25);
  cursor: pointer;
}

/* Card content mockup styles */
.card-header-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-title-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.card-mockup-graphic {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.card-footer-stats {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  border-top: 1px solid #eee;
  padding-top: 8px;
  text-align: right;
}

/* 3D transforms for 10 cards forming a cylinder of radius 400px */
.card-1 { transform: rotateY(0deg) translateZ(420px); }
.card-2 { transform: rotateY(36deg) translateZ(420px); }
.card-3 { transform: rotateY(72deg) translateZ(420px); }
.card-4 { transform: rotateY(108deg) translateZ(420px); }
.card-5 { transform: rotateY(144deg) translateZ(420px); }
.card-6 { transform: rotateY(180deg) translateZ(420px); }
.card-7 { transform: rotateY(216deg) translateZ(420px); }
.card-8 { transform: rotateY(252deg) translateZ(420px); }
.card-9 { transform: rotateY(288deg) translateZ(420px); }
.card-10 { transform: rotateY(324deg) translateZ(420px); }

/* Aeline 3D Card Overlay & Gradient Typography */
.curved-card-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.85)) !important;
  color: var(--white) !important;
}
.curved-card-overlay .card-header-tag {
  color: #ffb74d !important; /* Gold/Amber tag */
}
.curved-card-overlay .card-title-text {
  color: var(--white) !important;
}
.curved-card-overlay .card-footer-stats {
  color: #e2e8f0 !important;
  border-top-color: rgba(255,255,255,0.15);
}

/* Interactive Carousel Hover Pausing & Image Vibrancy Enhancements */
.carousel-viewport:hover .slider-ring {
  animation-play-state: paused; /* Freeze animation on hover so visitor can read/click */
}

/* Lighter overlay to let the background product images show clearly */
.curved-card-overlay {
  /* background gradient handled inline to support images */
  text-decoration: none !important;
}

/* Base anchor reset for curved cards */
a.curved-card {
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

a.curved-card:hover {
  transform: translateZ(50px) scale(1.08) !important; /* Popup effect */
  z-index: 1000 !important;
}

/* Deep space black */
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.space-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
}

.earth-sphere {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  /* High-resolution satellite map texture that repeats seamlessly */
  background: url('https://images.unsplash.com/photo-1614730321146-b6fa6a46bcb4?w=800&auto=format&fit=crop&q=80') repeat-x;
  background-size: auto 100%;
  box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.95), 
              inset 10px 10px 30px rgba(255, 255, 255, 0.1),
              0 0 40px rgba(15, 82, 152, 0.35);
  animation: spinEarth 30s linear infinite;
  opacity: 0.55;
  z-index: 2;
  pointer-events: none;
}

@keyframes spinEarth {
  0% { background-position: 0 0; }
  100% { background-position: 640px 0; } /* Matches repeat width */
}

.earth-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  color: var(--white);
}

.earth-hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  font-family: 'Outfit', sans-serif;
}

.earth-hero-content p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Exact Setrex-Style B&W Giant Bottom-Centered Earth */
.earth-hero {
  position: relative;
  background: #000000; /* Deep space black */
  height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.space-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
}

.earth-sphere {
  position: absolute;
  bottom: -500px; /* Half-buried below the container bottom to form a rising horizon */
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background-image: url('https://images.unsplash.com/photo-1614730321146-b6fa6a46bcb4?w=1200&auto=format&fit=crop&q=80');
  background-repeat: repeat-x;
  background-size: auto 100%;
  /* Convert to black-and-white high-contrast matching Setrex template */
  filter: grayscale(100%) contrast(135%) brightness(85%);
  box-shadow: inset -60px -60px 120px rgba(0, 0, 0, 0.98), 
              inset 60px 60px 120px rgba(255, 255, 255, 0.05),
              0 -20px 60px rgba(255, 255, 255, 0.08);
  animation: spinEarth 45s linear infinite;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
}

@keyframes spinEarth {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 0; }
}

.earth-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  color: var(--white);
}

.earth-hero-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -1px;
}

.earth-hero-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Setrex-Style Rotating Earth Hero Section for Contact Us */
.earth-hero {
  position: relative;
  background: #000000; /* Deep space black */
  height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 110px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.space-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
}

.earth-sphere {
  position: absolute;
  bottom: -480px; /* Positions the center point below the banner to show the curved top half */
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 960px;
  border-radius: 50%;
  /* Using a detailed world satellite projection map for realistic 3D rotation */
  background-image: url('./images/earth-map.jpg');
  background-repeat: repeat-x;
  background-size: auto 100%;
  /* Gray/white high contrast filter matching the Setrex screenshot */
  filter: grayscale(100%) contrast(145%) brightness(80%);
  box-shadow: inset -60px -60px 120px rgba(0, 0, 0, 0.98), 
              inset 60px 60px 120px rgba(255, 255, 255, 0.05),
              0 -20px 60px rgba(255, 255, 255, 0.06);
  animation: spinEarth 45s linear infinite;
  opacity: 0.9;
  z-index: 2;
  pointer-events: none;
}

@keyframes spinEarth {
  0% { background-position: 0 0; }
  100% { background-position: 1024px 0; } /* Animates background X-axis on its center axis */
}

.earth-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  color: var(--white);
}

.earth-hero-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -1px;
}

.earth-hero-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Premium SaaS Navigation Bar */
.saas-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  width: 100%;
}

.saas-nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.saas-nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s;
}

.saas-nav-links a:hover {
  color: var(--white);
}

.saas-nav-links a.active {
  color: #a3e635 !important; /* Lime green active state */
}

.saas-nav-cta {
  background: #a3e635;
  color: #020617 !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(163, 230, 53, 0.25);
  transition: all 0.3s ease;
}

.saas-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(163, 230, 53, 0.4);
}

/* Premium SaaS Hero with 3D Horizontal Card Scene */
.hero-aeline {
  position: relative;
  height: 95vh;
  min-height: 800px;
  background: linear-gradient(135deg, #093c75 0%, #1562ad 50%, #469ad6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
  overflow: hidden;
  perspective: 1500px;
}

/* Sky clouds overlay at lower portion */
.clouds-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to top, rgba(255,255,255,1) 15%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-aeline-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  color: var(--white);
  padding: 0 20px;
}

.hero-aeline-content h1 {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -2px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-aeline-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 35px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 3D Floating Scene Container */
.cards-3d-scene {
  position: absolute;
  bottom: 30px;
  width: 100%;
  height: 380px;
  z-index: 5;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

/* Generic Floating Card Styles */
.float-card {
  position: absolute;
  width: 170px;
  height: 190px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, opacity 0.4s;
  will-change: transform;
}

.float-card:hover {
  transform: translateY(-15px) translateZ(60px) scale(1.05) !important;
  box-shadow: 0 25px 45px rgba(15, 82, 152, 0.2);
  z-index: 100 !important;
}

/* 3D Horizontal Arc Positions (Center cards larger, left/right smaller & rotated) */
.f-card-1 {
  left: 6%;
  transform: rotateY(28deg) rotateZ(-3deg) scale(0.72) translateZ(-150px);
  opacity: 0.65;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('./images/solar-street.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.f-card-2 {
  left: 17%;
  transform: rotateY(20deg) rotateZ(-2deg) scale(0.8) translateZ(-80px);
  opacity: 0.8;
  background: linear-gradient(135deg, #0f5298 0%, #0a2d54 100%);
  color: var(--white);
}

.f-card-3 {
  left: 28%;
  transform: rotateY(12deg) rotateZ(-1deg) scale(0.9) translateZ(-20px);
  opacity: 0.92;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.85)), url('./images/shunt-wibt.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

/* Center Visual Focus Cards (Larger, sharper, readable) */
.f-card-4 {
  left: 40%;
  transform: scale(1.05) translateZ(40px);
  z-index: 10;
  background: var(--white);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.f-card-5 {
  left: 52%;
  transform: scale(1.05) translateZ(40px);
  z-index: 10;
  background: #0f172a;
  color: var(--white);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.f-card-6 {
  right: 28%;
  transform: rotateY(-12deg) rotateZ(1deg) scale(0.9) translateZ(-20px);
  opacity: 0.92;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.85)), url('./images/apu-cube.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.f-card-7 {
  right: 17%;
  transform: rotateY(-20deg) rotateZ(2deg) scale(0.8) translateZ(-80px);
  opacity: 0.8;
  background: linear-gradient(135deg, #0097a7 0%, #006064 100%);
  color: var(--white);
}

.f-card-8 {
  right: 6%;
  transform: rotateY(-28deg) rotateZ(3deg) scale(0.72) translateZ(-150px);
  opacity: 0.65;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.85)), url('./images/dtc-controller.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

/* Gentle idle floating drift */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-card-container {
  animation: cardFloat 6s ease-in-out infinite;
}

@media(max-width: 1024px) {
  .hero-aeline-content h1 { font-size: 3.2rem; }
  .float-card { scale: 0.85; }
  .f-card-1, .f-card-8 { display: none; }
}

@media(max-width: 768px) {
  .saas-nav-links { display: none; }
  .hero-aeline-content h1 { font-size: 2.5rem; }
  .f-card-2, .f-card-7 { display: none; }
}

/* Premium Art-Directed SaaS Hero with Overlapping 3D Cluster */
.hero-aeline {
  position: relative;
  height: 98vh;
  min-height: 850px;
  background: linear-gradient(to bottom, #073873 0%, #1c6ab0 40%, #52a7df 75%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 100px;
  overflow: hidden;
  perspective: 2000px;
}

/* Sky clouds overlay at lower portion - smooth atmosphere */
.clouds-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background: linear-gradient(to top, rgba(255,255,255,1) 30%, rgba(255,255,255,0.7) 65%, rgba(255,255,255,0) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-aeline-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  color: var(--white);
  padding: 0 20px;
  margin-bottom: 50px;
}

.hero-aeline-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -2.5px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-aeline-content p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 680px;
  margin: 0 auto 35px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* 3D Curved/Overlapping Scene Container */
.cards-3d-scene {
  position: absolute;
  bottom: -20px;
  width: 100%;
  max-width: 1300px;
  height: 420px;
  z-index: 5;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

/* Floating Card Styles with Glassmorphism and shadows */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: auto;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s, opacity 0.5s;
  will-change: transform;
}

/* Paired transformations for distinct visual weights and levels */

/* Peripheral Left: Very small, high rotation, fades into edge */
.f-card-1 {
  width: 140px;
  height: 160px;
  left: -20px;
  bottom: 120px;
  transform: rotateY(38deg) rotateX(10deg) rotateZ(-6deg) scale(0.6) translateZ(-200px);
  opacity: 0.4;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.75)), url('./images/solar-street.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  z-index: 3;
}

/* Supporting Left: Rotated, slightly smaller, offsets vertically */
.f-card-2 {
  width: 170px;
  height: 190px;
  left: 140px;
  bottom: 80px;
  transform: rotateY(24deg) rotateX(5deg) rotateZ(-3deg) scale(0.8) translateZ(-80px);
  opacity: 0.75;
  background: linear-gradient(135deg, #0f5298 0%, #0a2d54 100%);
  color: var(--white);
  z-index: 5;
}

/* Center Left: Overlaps behind the main center card */
.f-card-3 {
  width: 180px;
  height: 200px;
  left: 310px;
  bottom: 40px;
  transform: rotateY(12deg) scale(0.92) translateZ(-20px);
  opacity: 0.9;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.7)), url('./images/shunt-wibt.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  z-index: 7;
}

/* MAIN FOCUS CENTER CARD: Largest, front-most, crisp white */
.f-card-4 {
  width: 230px;
  height: 250px;
  left: 50%;
  margin-left: -240px;
  bottom: 60px;
  transform: scale(1.1) translateZ(80px) rotateX(2deg);
  z-index: 10;
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 30px 60px rgba(15, 82, 152, 0.18);
}

/* SECONDARY CENTER CARD: Dark background, slightly overlaps center-right */
.f-card-5 {
  width: 210px;
  height: 230px;
  left: 50%;
  margin-left: 20px;
  bottom: 30px;
  transform: scale(1.02) translateZ(40px) rotateX(1deg);
  z-index: 9;
  background: #090d16;
  color: var(--white);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.22);
}

/* Center Right: Supporting behind the secondary card */
.f-card-6 {
  width: 180px;
  height: 200px;
  right: 310px;
  bottom: 50px;
  transform: rotateY(-12deg) scale(0.92) translateZ(-20px);
  opacity: 0.9;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.7)), url('./images/apu-cube.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  z-index: 7;
}

/* Supporting Right: Rotated, offsets vertically */
.f-card-7 {
  width: 170px;
  height: 190px;
  right: 140px;
  bottom: 90px;
  transform: rotateY(-24deg) rotateX(5deg) rotateZ(3deg) scale(0.8) translateZ(-80px);
  opacity: 0.75;
  background: linear-gradient(135deg, #0097a7 0%, #006064 100%);
  color: var(--white);
  z-index: 5;
}

/* Peripheral Right: Very small, high rotation, fades into edge */
.f-card-8 {
  width: 140px;
  height: 160px;
  right: -20px;
  bottom: 130px;
  transform: rotateY(-38deg) rotateX(10deg) rotateZ(6deg) scale(0.6) translateZ(-200px);
  opacity: 0.4;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.7)), url('./images/dtc-controller.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  z-index: 3;
}

/* Individual card hover offsets */
.float-card:hover {
  transform: translateY(-20px) translateZ(120px) scale(1.08) rotateY(0deg) rotateX(0deg) !important;
  box-shadow: 0 40px 80px rgba(15, 82, 152, 0.28);
  z-index: 100 !important;
  opacity: 1 !important;
}

/* Subtle continuous vertical float drift cycle */
@keyframes floatDrift {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.float-card-container {
  animation: floatDrift 5s ease-in-out infinite;
}

/* Victron-Inspired Premium Category Grid */
.victron-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.victron-cat-card {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 20px 12px 12px;
  text-decoration: none !important;
  color: #0f172a !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.victron-cat-card:hover {
  background: #ffffff;
  border-color: #0264b3;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 100, 179, 0.08);
}

.victron-cat-img-box {
  width: 64px;
  height: 64px;
  background: #eff6ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  transition: background-color 0.3s;
}

.victron-cat-card:hover .victron-cat-img-box {
  background: #0264b3;
}

.victron-cat-img-box i {
  font-size: 24px;
  color: #0264b3;
  transition: color 0.3s;
}

.victron-cat-card:hover .victron-cat-img-box i {
  color: #ffffff;
}

.victron-cat-info {
  flex-grow: 1;
}

.victron-cat-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

.victron-cat-arrow {
  color: #94a3b8;
  transition: transform 0.3s, color 0.3s;
}

.victron-cat-card:hover .victron-cat-arrow {
  color: #0264b3;
  transform: translateX(4px);
}

/*


/* Product Submenu Popup Styles */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
}

.product-popup-menu {
  position: absolute;
  top: 100%;
  left: 0 !important;
  transform: translateY(10px) !important;
  width: 580px;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15) !important;
  padding: 20px !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10002;
}

.nav-dropdown-wrapper:hover .product-popup-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) !important;
}

.product-popup-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  transition: all 0.2s !important;
  text-decoration: none !important;
  color: #0f172a !important;
}

.product-popup-item:hover {
  background: #eff6ff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 16px rgba(12, 77, 136, 0.05) !important;
}

.product-popup-item i {
  font-size: 20px !important;
  color: #0c4d88 !important;
  width: 24px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

.product-popup-item div b {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-bottom: 2px !important;
  font-family: 'Outfit', sans-serif !important;
}

.product-popup-item div span {
  display: block !important;
  font-size: 11px !important;
  color: #64748b !important;
  line-height: 1.3 !important;
}

/* Mobile responsive popup menu overrides */
@media (max-width: 1000px) {
  .product-popup-menu {
    position: static !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 10px 0 0 10px !important;
    display: none !important;
  }
  .nav-dropdown-wrapper:hover .product-popup-menu {
    display: grid !important;
  }
}

/* Floating Chatbot styles */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 120px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #0264b3;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(2, 100, 179, 0.3);
  z-index: 9999;
  transition: transform 0.2s, background-color 0.2s;
}
.chatbot-toggle:hover {
  transform: scale(1.08);
  background: #0b73b8;
}
.chatbot-window {
  position: fixed;
  bottom: 105px;
  right: 24px;
  width: 370px;
  height: 500px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.chatbot-header {
  background: #071b33;
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-header h4 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.chatbot-close {
  background: none;
  border: none;
  color: #a9bdcf;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.chatbot-messages {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
}
.chatbot-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}
.chatbot-msg.bot {
  background: #ffffff;
  color: #0f172a;
  align-self: flex-start;
  border: 1px solid #e2e8f0;
}
.chatbot-msg.user {
  background: #0264b3;
  color: #ffffff;
  align-self: flex-end;
}
.chatbot-input-area {
  display: flex;
  border-top: 1px solid #e2e8f0;
  padding: 8px;
  background: #fff;
}
.chatbot-input {
  flex-grow: 1;
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}
.chatbot-send {
  background: #0264b3;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

/* Phone Connect Popup Styles */
.phone-trigger {
  cursor: pointer;
  color: #0c4d88;
  font-weight: 700;
  text-decoration: underline;
  position: relative;
  display: inline-block;
}

.phone-popup-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15) !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  z-index: 10005;
  width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  top: 100%;
}

.phone-popup-container.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.phone-popup-btn {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  text-decoration: none !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  transition: background-color 0.2s !important;
  font-weight: 600 !important;
}

.phone-popup-btn:hover {
  background: #eff6ff !important;
}

.phone-popup-btn i {
  font-size: 14px !important;
}

/* Nested Product Submenu Styles */
.has-submenu:hover .product-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.product-submenu {
  position: absolute;
  top: -10px;
  left: 100%;
  margin-left: 10px;
  width: 290px;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15) !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.2s ease;
  z-index: 10005;
}

.product-submenu .product-popup-item {
  box-shadow: none !important;
}

@media (max-width: 1000px) {
  .product-submenu {
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 5px 0 0 10px !important;
    display: none !important;
  }
  .has-submenu:hover .product-submenu {
    display: flex !important;
  }
}

/* Header & Footer Layout Reset for Container Class conflicts */
.nav-inner.container, .nav .container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.vincita-footer .footer-container {
  display: grid !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.vincita-footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.vincita-footer li {
  list-style: none !important;
  margin-bottom: 19px !important;
}

/* NAVIGATION & HEADER (UNIFIED OVERRIDES FOR LEGACY PAGES) */
.nav {
    height: 76px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5edf3 !important;
    display: flex !important;
    align-items: center !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}
.nav-inner {
    height: 78px !important;
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    width: 100% !important;
    justify-content: space-between !important;
}
.logo img {
    height: 52px !important;
    width: auto !important;
}
.nav-links {
    display: flex !important;
    gap: 26px !important;
    margin-left: auto !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #617285 !important;
    background: none !important; /* Reset legacy black pill background */
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}
.nav-links a {
    position: relative !important;
    padding: 29px 0 !important;
    color: #617285 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: none !important;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a.on {
    color: #0c4d88 !important;
}
.nav-links a.active:after,
.nav-links a.on:after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 17px !important;
    height: 3px !important;
    border-radius: 4px !important;
    background: #a3e635 !important;
}
.quote-btn {
    background: #a3e635 !important;
    color: #0a1504 !important;
    padding: 13px 21px !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-block !important;
}
.mobile-menu {
    display: none !important;
    margin-left: auto !important;
    background: none !important;
    border: 0 !important;
    font-size: 23px !important;
}

/* UNIFIED FOOTER STYLES */
.vincita-footer {
    background: #000 !important;
    color: #fff !important;
    padding: 78px 0 0 !important;
    font-family: "DM Sans", sans-serif !important;
}
.footer-container {
    width: min(1500px, calc(100% - 80px)) !important;
    margin: auto !important;
    display: grid !important;
    grid-template-columns: 1.45fr 1fr 1fr 1.45fr !important;
    gap: 70px !important;
}
.footer-column h3 {
    color: #fff !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    margin: 0 0 30px !important;
}
.footer-brand p {
    max-width: 330px !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
    color: #f1f1f1 !important;
    margin: 0 0 26px !important;
}
.make-india {
    margin: 24px 0 !important;
}
.make-india img {
    width: auto !important;
    height: 55px !important;
    object-fit: contain !important;
    background: #fff !important;
    padding: 4px !important;
    border-radius: 6px !important;
}
.footer-column ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.footer-column li {
    margin-bottom: 19px !important;
}
.footer-column li a {
    color: #d6d6d6 !important;
    font-size: 16px !important;
    transition: .25s !important;
}
.footer-column li a:hover {
    color: #a3e635 !important;
}
.footer-social {
    display: flex !important;
    gap: 13px !important;
    margin-top: 27px !important;
}
.footer-social a {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 17px !important;
    transition: .25s !important;
}
.footer-social a:hover {
    transform: translateY(-4px) !important;
    filter: brightness(1.15) !important;
}
.facebook { background: #1877f2 !important; }
.linkedin { background: #0a66c2 !important; }
.twitter { background: #1da1f2 !important; }
.youtube { background: #f00 !important; }
.instagram { background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5) !important; }
.contact-column h4 {
    font-size: 17px !important;
    margin: -5px 0 20px !important;
}
.contact-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 13px !important;
    margin-bottom: 22px !important;
    color: #eee !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}
.contact-list i {
    width: 24px !important;
    flex-shrink: 0 !important;
    color: #fff !important;
    font-size: 17px !important;
    margin-top: 3px !important;
}
.contact-list a {
    color: #eee !important;
}
.contact-list a:hover {
    color: #a3e635 !important;
}
.footer-separator {
    width: min(1500px, calc(100% - 80px)) !important;
    height: 1px !important;
    background: rgba(255,255,255,.13) !important;
    margin: 48px auto 0 !important;
}
.footer-bottom {
    width: min(1500px, calc(100% - 80px)) !important;
    margin: auto !important;
    min-height: 85px !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    color: #eee !important;
    font-size: 15px !important;
}
.heart {
    color: #ff3366 !important;
    margin: 0 4px !important;
}

@media(max-width:1000px){
    .footer-container { grid-template-columns: 1fr 1fr !important; }
}
@media(max-width:650px){
    .footer-container { grid-template-columns: 1fr !important; gap: 45px !important; }
    .footer-bottom { display: block !important; text-align: center !important; }
}
