:root {
  --navy: #1F3864;
  --navy-deep: #152845;
  --indigo: #6C5CE7;
  --indigo-hover: #5847c9;
  --cyan: #29B6F6;
  --gold: #F2B705;
  --gold-hover: #ffc93a;
  --coral: #E74C3C;
  --purple: #8E44AD;
  --bg-alt: #F7F7F9;
  --ink: #333333;
  --line: #E4E6EC;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

/* Custom modern scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #091322;
}
::-webkit-scrollbar-thumb {
  background: #1F3864;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6C5CE7;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

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

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--indigo);
  font-weight: 600;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31, 56, 100, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.headbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 19px;
}

.logo .bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
}

.logo .bars span {
  width: 4px;
  display: block;
  border-radius: 1px;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 500;
  color: #DCE3F0;
  transition: var(--transition);
}

nav a {
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: #fff;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid #white;
  color: #white;
  background: transparent;
  border-color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-navy {
  background: var(--navy);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--navy-deep);
}

.btn-outline-navy {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline-navy:hover {
  background: rgba(31, 56, 100, 0.05);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(100deg, rgba(21, 40, 69, 0.97) 0%, rgba(21, 40, 69, 0.86) 38%, rgba(31, 56, 100, 0.35) 72%, rgba(31, 56, 100, 0.15) 100%),
              url('https://placehold.co/1600x900/0e1e38/1e3660?text=%20') center/cover;
}

.hero-inner {
  padding: 80px 24px;
}

.hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 17px;
  color: #CBD5EE;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero .btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Inner Page Hero (Sub-hero) */
.sub-hero {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: #ffffff;
  padding: 60px 0;
}

.sub-hero h1 {
  color: #ffffff;
  font-size: 34px;
  margin-bottom: 10px;
}

.sub-hero p {
  color: #CBD5EE;
  font-size: 16px;
  max-width: 700px;
}

/* Stats band */
.stats {
  background: var(--navy-deep);
  padding: 34px 0;
}

.stats .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  text-align: center;
}

.stat {
  flex: 1;
  min-width: 160px;
}

.stat .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--gold);
}

.stat .lbl {
  font-size: 12.5px;
  color: #B9C4DC;
  margin-top: 4px;
  letter-spacing: .02em;
}

/* Global Sections */
section {
  padding: 70px 0;
}

.alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.section-head h2 {
  font-size: 32px;
  margin-top: 8px;
}

/* Breadcrumbs */
.crumb {
  padding: 16px 0;
  font-size: 13px;
  color: #7a7a7a;
}

.crumb a {
  color: var(--indigo);
  transition: var(--transition);
}

.crumb a:hover {
  text-decoration: underline;
}

/* Grid & Layout Utilities */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 22px;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--indigo);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(108, 92, 231, 0.12);
}

.why-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: rgba(108, 92, 231, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.why-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13.5px;
  color: #5a5a5a;
}

/* Product Cards */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.prod-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.prod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(31, 56, 100, 0.08);
}

.prod-card .thumb {
  aspect-ratio: 4/3;
  background: #F0F1F5;
  overflow: hidden;
  position: relative;
}

.prod-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.prod-card:hover .thumb img {
  transform: scale(1.05);
}

.prod-card .body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prod-card h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.prod-card p {
  font-size: 13.5px;
  color: #5a5a5a;
  margin-bottom: 14px;
  flex: 1;
}

.band-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 10px;
  align-self: flex-start;
}

.prod-card a.view {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--indigo);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.prod-card a.view:hover {
  color: var(--indigo-hover);
}

/* Product Detail Styles */
.prod-hero {
  padding: 20px 0 50px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.prod-hero .photo {
  background: #F0F1F5;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.prod-hero h1 {
  font-size: 32px;
  margin: 10px 0 8px;
}

.prod-hero .tagline {
  color: #5a5a5a;
  font-size: 15px;
  margin-bottom: 20px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.custom-link {
  font-size: 13.5px;
  color: var(--indigo);
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

.custom-link:hover {
  color: var(--indigo-hover);
  text-decoration: underline;
}

/* Tables styling */
table.spec {
  width: 100%;
  border-collapse: collapse;
  max-width: 760px;
  margin-top: 15px;
}

table.spec tr:nth-child(odd) {
  background: #EFF1F6;
}

table.spec td {
  padding: 12px 18px;
  font-size: 14px;
  border: 1px solid var(--line);
}

table.spec td:first-child {
  font-weight: 700;
  color: var(--navy);
  width: 38%;
}

.perf-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  background: var(--bg-alt);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.perf-thumb {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.perf-cap {
  font-size: 13.5px;
  color: #5a5a5a;
  margin-top: 6px;
}

/* App Grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px 30px;
  max-width: 760px;
  margin-top: 15px;
}

.app-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
}

.app-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 7px;
  flex: none;
}

/* Ordering Table */
table.order {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  margin-top: 15px;
}

table.order th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table.order td {
  padding: 12px 16px;
  font-size: 13.5px;
  border-top: 1px solid var(--line);
}

/* Related Products */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.rel-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
}

.rel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(31, 56, 100, 0.06);
}

.rel-card .t {
  aspect-ratio: 4/3;
  background: #eef0f5;
  overflow: hidden;
}

.rel-card .b {
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.rel-card:hover .b {
  color: var(--indigo);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  color: #fff;
  text-align: center;
  padding: 56px 24px;
  border-radius: 14px;
  margin: 0 auto;
  max-width: 1132px;
}

.cta-banner h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
}

/* Industries Strip */
.ind-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}

.ind-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 14px;
  transition: var(--transition);
}

.ind-item:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 8px 16px rgba(41, 182, 246, 0.08);
}

.ind-item .ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(41, 182, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--navy);
}

.ind-item span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  display: block;
}

/* Trust block */
.trust {
  background: linear-gradient(120deg, var(--indigo), #5847c9);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.trust .wrap {
  max-width: 760px;
}

.trust p {
  font-size: 17.5px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #ECEAFE;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-chip {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
}

/* Timeline Steps */
.steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.step .n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 15px;
}

.step p {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(31, 56, 100, 0.05);
}

.news-card .thumb {
  aspect-ratio: 16/9;
  background: #eef0f5;
  overflow: hidden;
}

.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .body {
  padding: 18px 20px;
  flex: 1;
}

.news-card .date {
  font-size: 11px;
  color: var(--coral);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.news-card h4 {
  font-size: 15px;
  margin-top: 8px;
  color: var(--navy);
  line-height: 1.4;
}

.news-card p {
  font-size: 13px;
  color: #5a5a5a;
  margin-top: 6px;
}

/* FAQ page styles */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--white);
  overflow: hidden;
}

.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15.5px;
  user-select: none;
  background: #fff;
  transition: var(--transition);
}

.faq-q:hover {
  background: var(--bg-alt);
}

.faq-a {
  padding: 0 24px 18px;
  color: #4a4a4a;
  font-size: 14.5px;
  display: none;
}

.faq-item.active .faq-a {
  display: block;
}

.faq-item.active .faq-q {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.faq-q::after {
  content: '+';
  font-size: 18px;
  color: var(--indigo);
  transition: var(--transition);
}

.faq-item.active .faq-q::after {
  content: '−';
}

/* Contact Page form styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

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

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--indigo);
}

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

.contact-info {
  background: var(--bg-alt);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.contact-info p {
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.contact-info a {
  color: var(--indigo);
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ISO Strip */
.iso-strip {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 22px 0;
  font-size: 14px;
  letter-spacing: .02em;
}

.iso-strip strong {
  color: var(--gold);
}

/* Footer styling */
footer {
  background: var(--navy-deep);
  color: #B9C4DC;
  padding: 56px 0 24px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

footer h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

footer p, footer a {
  font-size: 13.5px;
  line-height: 2.2;
}

footer a {
  display: block;
  transition: var(--transition);
}

footer a:hover {
  color: #fff;
  padding-left: 2px;
}

.foot-bottom {
  text-align: center;
  padding-top: 22px;
  font-size: 12px;
  color: #7C89A8;
}

/* --- 3D Redesign Styles --- */

/* Canvas for 3D Particle wave background */
.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* Override .hero section */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #091322 !important; /* Deep cosmic dark background */
  overflow: hidden;
}

.hero-slider-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  transform-style: preserve-3d;
  perspective: 1500px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) rotateY(0deg);
  z-index: 10;
}

.slide.prev {
  opacity: 0;
  transform: translate3d(-180px, 0, -350px) rotateY(35deg);
  pointer-events: none;
  z-index: 5;
}

.slide.next {
  opacity: 0;
  transform: translate3d(180px, 0, -350px) rotateY(-35deg);
  pointer-events: none;
  z-index: 5;
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform-style: preserve-3d;
  text-align: left;
}

.slide-content h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.slide-content p {
  font-size: 16.5px;
  line-height: 1.6;
  color: #c5d2eb;
  margin-bottom: 30px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.visual-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 30px rgba(41, 182, 246, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(-2deg);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.slide.active .visual-frame {
  animation: visualFloat 6s ease-in-out infinite alternate;
}

@keyframes visualFloat {
  0% {
    transform: rotateY(-18deg) rotateX(8deg) rotateZ(-2deg) translate3d(0, 0, 0);
  }
  100% {
    transform: rotateY(-14deg) rotateX(6deg) rotateZ(-1deg) translate3d(0, -10px, 15px);
  }
}

/* Slider Controls */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 15;
  user-select: none;
}

.slide-arrow:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(242, 183, 5, 0.5);
}

.slide-arrow.prev {
  left: -70px;
}

.slide-arrow.next {
  right: -70px;
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  z-index: 15;
  position: relative;
}

.slide-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-dots .dot.active {
  background: var(--gold);
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(242, 183, 5, 0.6);
}

/* Global 3D Scroll Reveals */
.reveal-3d {
  opacity: 0;
  transform: perspective(1200px) rotateX(10deg) translate3d(0, 40px, -40px);
  transition: opacity 1s cubic-bezier(0.15, 0.85, 0.3, 1), transform 1s cubic-bezier(0.15, 0.85, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-3d.revealed {
  opacity: 1;
  transform: perspective(1200px) rotateX(0) translate3d(0, 0, 0);
}

.reveal-3d-left {
  opacity: 0;
  transform: perspective(1200px) rotateY(15deg) translate3d(-60px, 0, -40px);
  transition: opacity 1s cubic-bezier(0.15, 0.85, 0.3, 1), transform 1s cubic-bezier(0.15, 0.85, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-3d-left.revealed {
  opacity: 1;
  transform: perspective(1200px) rotateY(0) translate3d(0, 0, 0);
}

.reveal-3d-right {
  opacity: 0;
  transform: perspective(1200px) rotateY(-15deg) translate3d(60px, 0, -40px);
  transition: opacity 1s cubic-bezier(0.15, 0.85, 0.3, 1), transform 1s cubic-bezier(0.15, 0.85, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-3d-right.revealed {
  opacity: 1;
  transform: perspective(1200px) rotateY(0) translate3d(0, 0, 0);
}

/* 3D perspective wrapper on grids */
.why-grid, .prod-grid, .news-grid, .ind-strip, .steps {
  perspective: 1500px;
  transform-style: preserve-3d;
}

/* Interactive 3D Card Tilts */
.why-card, .prod-card, .news-card, .step, .circle-photo, .contact-info {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.why-card:hover, .prod-card:hover, .news-card:hover, .step:hover, .circle-photo:hover, .contact-info:hover {
  transform: perspective(1000px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) translateZ(10px);
  box-shadow: 0 15px 35px rgba(31, 56, 100, 0.15);
}

/* Who We Are layout (2/3 content, 1/3 circular image next to it) */
.who {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.circle-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(31, 56, 100, 0.15), 0 0 0 1px var(--line);
  border: 6px solid var(--white);
}

.circle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive styles */
@media (max-width: 900px) {
  /* Who We Are Mobile Styles */
  .who {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .circle-photo {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }

  /* 3D overrides for mobile/tablet */
  .hero-slider-wrap {
    min-height: auto;
    padding: 40px 24px;
  }
  .hero-slider {
    height: auto;
    min-height: 480px;
  }
  .slide {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .slide-content {
    align-items: center;
    text-align: center;
  }
  .slide-content h1 {
    font-size: 32px;
  }
  .slide-content p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .slide-visual {
    display: none;
  }
  .slide-arrow {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }
  
  nav.open {
    display: flex;
  }
  
  .head-actions {
    display: none;
  }

  .prod-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    flex-direction: column;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
  
  .perf-row {
    grid-template-columns: 1fr;
  }

  .related {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 32px;
  }
}
