:root {
  --bg: #07111d;
  --bg-soft: #0b1726;
  --ink: #f4f8fb;
  --muted: #9aaec1;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #1e8cff;
  --blue-deep: #0a4f96;
  --cyan: #67d6ff;
  --glass: rgba(10, 22, 36, 0.62);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(30, 140, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, #06101b 0%, #0a1421 48%, #050a10 100%);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 22px;
  align-content: center;
  background:
    radial-gradient(circle at center, rgba(30, 140, 255, 0.17), transparent 28rem),
    #050b12;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  letter-spacing: 0.34em;
  font-weight: 800;
  color: #fff;
  text-indent: 0.34em;
}

.loader-line {
  width: min(280px, 70vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.loader-line span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue));
  animation: loadingBar 1.1s ease-in-out infinite;
}

@keyframes loadingBar {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 70px);
  transition: padding 0.35s ease, background 0.35s ease, border 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.scrolled,
.site-header.nav-open {
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 20, 0.72);
  backdrop-filter: blur(20px);
}

.logo {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.logo span {
  color: var(--cyan);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cyan);
  transition: transform 0.3s ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: #03070d;
}

.hero-slider,
.hero-slide {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  display: grid;
  align-items: center;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.12);
  transition: transform 6.5s ease;
  will-change: transform;
}

.swiper-slide-active .hero-bg {
  transform: scale(1.02);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.88) 0%, rgba(3, 8, 14, 0.48) 50%, rgba(3, 8, 14, 0.74) 100%),
    linear-gradient(0deg, rgba(3, 8, 14, 0.95) 0%, transparent 36%, rgba(3, 8, 14, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(960px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 120px);
  padding-top: 50px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.section-heading h2,
.banner-content h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(3.4rem, 8vw, 8.8rem);
}

.hero-content > p:not(.eyebrow) {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.26rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-105%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transition: transform 0.55s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::before {
  transform: translateX(105%);
}

.btn-primary {
  border: 1px solid rgba(103, 214, 255, 0.55);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 18px 42px rgba(30, 140, 255, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.swiper-pagination {
  left: auto !important;
  right: clamp(20px, 5vw, 70px) !important;
  bottom: 54px !important;
  width: auto !important;
}

.swiper-pagination-bullet {
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--cyan);
}

.slider-progress {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: 36px;
  z-index: 5;
  width: 220px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.slider-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), #fff);
}

.particle-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.particle-field span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(103, 214, 255, 0.52);
  box-shadow: 0 0 18px rgba(103, 214, 255, 0.75);
  animation: particleFloat var(--duration) ease-in-out infinite alternate;
}

@keyframes particleFloat {
  to {
    transform: translate3d(var(--drift), -36px, 0);
    opacity: 0.18;
  }
}

.scroll-cue {
  position: absolute;
  left: clamp(20px, 5vw, 70px);
  bottom: 38px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollCue 1.5s ease-in-out infinite;
}

@keyframes scrollCue {
  50% {
    transform: translateY(12px);
  }
}

.section {
  position: relative;
  padding: clamp(86px, 10vw, 150px) 0;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.image-panel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 8, 14, 0.78));
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.08);
}

.floating-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  width: min(320px, calc(100% - 56px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  background: rgba(6, 16, 27, 0.72);
  backdrop-filter: blur(18px);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  margin-bottom: 8px;
}

.floating-card span {
  color: var(--muted);
  line-height: 1.6;
}

.section-copy h2,
.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

.section-copy p:not(.section-kicker),
.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.section-copy p:not(.section-kicker) {
  margin: 24px 0 0;
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.feature-strip span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.feature-strip i {
  color: var(--cyan);
}

.industries {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(30, 140, 255, 0.06));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-heading.wide {
  max-width: 980px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.industry-card,
.stat-card,
.contact-form {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(6, 16, 27, 0.7);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.industry-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  overflow: hidden;
  border-radius: 26px;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -55% 20%;
  height: 180px;
  border-radius: 50%;
  background: rgba(30, 140, 255, 0.22);
  filter: blur(36px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-10px);
  border-color: rgba(103, 214, 255, 0.45);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 18px;
  background: rgba(30, 140, 255, 0.14);
  color: var(--cyan);
  font-size: 1.35rem;
}

.industry-card h3 {
  margin: 0 0 14px;
  font-size: 1.24rem;
}

.industry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.machinery {
  overflow: hidden;
}

.machinery-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 0 max(20px, calc((100vw - 1180px) / 2)) 12px;
}

.machine-card {
  position: relative;
  width: min(430px, 80vw);
  height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #111;
  box-shadow: var(--shadow);
}

.machine-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 8, 14, 0.92));
}

.machine-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.7s ease;
}

.machine-card:hover img {
  transform: scale(1.14);
}

.machine-card div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.machine-card span {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.machine-card h3 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
}

.stats {
  padding-top: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 34px 24px;
  border-radius: 26px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.industrial-banner {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(90deg, rgba(4, 10, 17, 0.9), rgba(4, 10, 17, 0.46), rgba(4, 10, 17, 0.9)),
    url("https://images.unsplash.com/photo-1581091870627-3f83f9f21080?auto=format&fit=crop&w=2200&q=85") center / cover;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.banner-content p {
  margin: 0 0 18px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.banner-content h2 {
  max-width: 960px;
  margin-inline: auto;
  font-size: clamp(2.4rem, 6vw, 6.4rem);
}

.contact-grid {
  grid-template-columns: 0.9fr 1fr;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-details a,
.contact-details span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-details i {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 44px);
  border-radius: 30px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 16px 18px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(103, 214, 255, 0.72);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 0 0 4px rgba(103, 214, 255, 0.08);
}

.footer {
  border-top: 1px solid var(--line);
  background: #03080e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.7fr;
  gap: 34px;
  padding: 64px 0 44px;
}

.footer p,
.footer a,
.footer span {
  color: var(--muted);
  line-height: 1.8;
}

.footer p {
  max-width: 360px;
}

.footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a,
.whatsapp-float {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.socials a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease;
}

.socials a:hover {
  transform: translateY(-4px);
  background: rgba(30, 140, 255, 0.2);
}

.footer-bottom {
  padding: 22px 20px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.82rem;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  font-size: 1.65rem;
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.32);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.04);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    background: rgba(3, 8, 14, 0.94);
    backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav a {
    font-size: 1rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    margin-inline: 20px;
  }

  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 18px 14px;
  }

  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.9rem);
  }

  .hero-actions,
  .feature-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .swiper-pagination,
  .slider-progress {
    right: 20px !important;
  }

  .slider-progress {
    width: 150px;
  }

  .scroll-cue {
    display: none;
  }

  .image-panel {
    min-height: 430px;
  }

  .industry-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .machine-card {
    height: 450px;
  }

  .industrial-banner {
    min-height: 520px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
