:root {
  --primary-color: #06b6d4;
  --secondary-color: #3b82f6;
  --bg-color: #0f172a;
  --bg-alt: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #06b6d4 #1e293b;
}

/* ===== Custom Scrollbar (Webkit: Chrome, Safari, Edge) ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #22d3ee, #6366f1);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

::-webkit-scrollbar-corner {
  background: var(--bg-color);
}

/* Background Animated Blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary-color);
  bottom: -200px;
  right: -100px;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism Utilities */
.glass-nav {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.2);
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
  background: #25D366; /* WhatsApp Green */
  color: white;
  border: none;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}



/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
}

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

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  background: rgba(6, 182, 212, 0.08);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Desktop CTA */
.nav-cta {
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile-only CTA inside drawer — hidden on desktop */
.nav-cta-mobile {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Backdrop overlay */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.alt-bg {
  background: rgba(30, 41, 59, 0.4);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features/About */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

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

/* Why Choose Us & Stats */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col .content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-weight: 500;
  color: var(--text-muted);
}

/* Services */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-item {
  padding: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.service-item::before {
  content: "✓";
  color: var(--primary-color);
  margin-right: 1rem;
  font-weight: bold;
}

/* Machines */
.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.machine-card {
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.machine-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--glass-border);
  transition: transform 0.5s ease;
}

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

.machine-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.machine-card:hover::before {
  opacity: 1;
}

.machine-content {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  background: var(--glass-bg);
}

.machine-content h3 {
  font-size: 1.25rem;
}

.hover-indicator {
  color: var(--primary-color);
  font-size: 1.5rem;
  transform: translateX(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.machine-card:hover .hover-indicator {
  transform: translateX(0);
  opacity: 1;
}

/* ===== HOW IT WORKS / PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 2.5rem 2rem;
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
}

.industry-icon {
  font-size: 2.5rem;
}

.industry-card h3 {
  font-size: 1.2rem;
  color: var(--text-main);
}

.industry-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CREDENTIALS ===== */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.credential-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  border-left: 3px solid transparent;
  border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
  border-image-slice: 1;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(6, 182, 212, 0.25);
}

.credential-badge {
  font-size: 2rem;
}

.credential-card h3 {
  font-size: 1.1rem;
  color: var(--text-main);
}

.credential-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.credential-card strong {
  color: var(--primary-color);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 2rem;
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.faq-answer strong {
  color: var(--primary-color);
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem 0;
  background: rgba(15, 23, 42, 0.8);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.25rem;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  border-radius: 10px;
  opacity: 0.95;
}

.footer-contact h3 {
  margin-bottom: 1.5rem;
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 1rem;
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .nav-cta { display: none; } /* hide desktop CTA at mid-breakpoint */
}

@media (max-width: 768px) {
  /* Show hamburger */
  .hamburger { display: flex; }
  .nav-cta { display: none; }  /* hidden from header bar */

  /* Mobile drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100dvh;
    width: min(300px, 80vw);
    flex-direction: column;
    align-items: stretch;
    background: #0f172a;
    border-left: 1px solid var(--glass-border);
    padding: 5rem 1.5rem 2rem 1.5rem;
    gap: 0.5rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-backdrop.active {
    display: block;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-align: center;
  }

  .nav-link::after { display: none; }

  /* Show Call Now inside drawer */
  .nav-cta-mobile {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
  }

  /* Hamburger → X animation */
  .hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* General mobile content — center align */
  .hero h1 { font-size: 2.4rem; }
  .hero-content { text-align: center; }
  .section-header { text-align: center; }
  .feature-card, .process-step, .industry-card, .credential-card { text-align: center; }
  .feature-card .icon, .step-icon, .industry-icon, .credential-badge { display: block; }
  .service-item { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .two-col .content { text-align: center; }
  .cta-group { justify-content: center; }

  /* Footer fixes */
  .footer-logo h2 { font-size: 1.5rem; }
  .footer-logo-img { height: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-content { text-align: center; }
  .footer-brand p { margin: 0.75rem auto 0 auto; }
  .footer-contact ul { padding: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .logo-text { font-size: 1.15rem; }
  .logo-img { height: 30px; }
}

/* ===== SERVICE AREAS ===== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.area-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  border-left: 3px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(6, 182, 212, 0.25);
}

.area-icon {
  font-size: 2rem;
}

.area-card h3 {
  font-size: 1.1rem;
  color: var(--text-main);
}

.area-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== GOOGLE REVIEWS (Elfsight widget fix for dark theme) ===== */
.reviews-widget-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

@media (max-width: 768px) {
  .areas-grid { grid-template-columns: 1fr; }
  .reviews-widget-wrapper { padding: 1rem 0.5rem; }
}

