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

:root {
  --primary: #1c1c1c; /* Brand Black */
  --secondary: #3e4c59; /* Steel Gray */
  --accent-blue: #005b96; /* CNC Blue */
  --accent-orange: #f5a623; /* Industrial Orange */
  --light-bg: #f4f7fa; /* Light Background */
  --mid-bg: #e1e5eb; /* Card Background */
  --text-dark: #1c1c1c; /* Headings */
  --text-body: #3e4c59; /* Paragraphs */
}

body {
  font-family: "Poppins", sans-serif;
  background-image: url(img/cnc_icon_background.png);
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}
html {
  scroll-behavior: smooth;
}

/* Hide menu toggle by default */
.menu-toggle {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1a73e8;
    margin-left: 10px;
    cursor: pointer;
    z-index: 101;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; /* adjust if your navbar is taller/shorter */
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    z-index: 100;
    padding: 20px 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    color: #1a73e8;
    text-align: left;
  }
  .btn-yellow {
    margin: 10px 24px;
    width: calc(100% - 48px);
    text-align: center;
  }
  .navbar {
    flex-wrap: wrap;
    padding: 16px 10px;
    position: relative;
  }
}

/* Desktop: always show nav-links */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    box-shadow: none;
    padding: 0;
    width: auto;
  }
  .menu-toggle {
    display: none !important;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-items: center;
  padding: 20px 30px;
  background: rgba(255, 255, 255);
  position: fixed;
  width: 100%;
  max-width: 1100px;
  top: 0;
  z-index: 10;
  border-radius: 30px;

  height: 60px;
  margin-top: 0.5rem;
  font-family: "Poppins", sans-serif;
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.2rem;
}
.logo img {
  height: 38px;
}
.navbar nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.6s;
  padding: 10px;
  border-radius: 30px;
}
nav a:hover {
  color: #ffffff;
  background: #000;
  padding: 10px;
  border-radius: 30px;
  transition: 0.6s;
}
nav a.active {
  color: #fff;
  background: #000;
  padding: 10px;
  border-radius: 30px;
}

.btn-yellow {
  background: #ffd900;
  color: #222;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-yellow:hover {
  background: #f0c500;
}

/* ...existing code... */

/* FADE-IN NAV PANEL */

/* ...existing code... */

/* Initial state */
.navbar {
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeDown 0.8s ease-out forwards;
}

/* Keyframes */
@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  padding: 140px 60px 60px;
  text-align: left;
  background-image: url();
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
  position: relative;
}
.bgimg {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  filter: brightness(0.8);
}
.hero-section {
  max-width: 1200px;
  margin: auto;
}
.sectionbg {
  background: linear-gradient(to right, #f8f9fc, #b4daff);
  border-radius: 20px;
  padding: 40px;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: "poppins" sans-serif;
}

.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 4rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-left h1 span {
  color: #ffd900;
}

.hero-left .tagline {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #ffffff;
}

.hero-image {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  filter: opacity(0.8);
}

.badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #222;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.badge.nx {
  top: 20px;
  left: -80px;
  max-width: 160px;
}

.badge.nx a {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.8rem;
  color: #007bff;
}

.badge.sun {
  top: 40%;
  right: -60px;
}

/* Features */
.herofeatures {
  display: flex;
  gap: 20px;
  margin-top: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.herofeature-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.herofeature-card.review {
  background: #f0f2f5;
}

.herofeature-card.battery img {
  margin-top: 10px;
  max-height: 80px;
}

.herofeature-card.weather {
  background: #f9f9f9;
}

/* abt */
@media (max-width: 700px) {
  .hero {
    padding: 90px 10px 30px 10px;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 1rem;
  }
  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .hero-left {
    width: 100%;
    text-align: center;
    margin-bottom: 18px;
  }
  .hero-left h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  .hero-left .tagline {
    font-size: 1rem;
    color: #fff;
    margin-top: 10px;
  }
  .hero-image {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 18px auto;
    display: flex;
    justify-content: center;
    position: relative;
  }
  .hero-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
  }
  .badge.nx {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: 140px;
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  .badge.sun {
    position: absolute;
    top: auto;
    bottom: 12px;
    right: 12px;
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  .herofeatures {
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }
  .herofeature-card {
    min-width: unset;
    max-width: 100%;
    padding: 14px 10px;
    font-size: 0.98rem;
  }
  .herofeature-card img {
    width: 50px;
    max-height: 50px;
    margin-top: 8px;
    border-radius: 8px;
  }
}
/* ...existing code... */
@media (max-width: 700px) {
  /* make hero feature cards larger and more prominent on mobile */
  .herofeatures {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 12px;
    margin-top: 20px;
  }

  .herofeature-card {
    width: 100%;
    padding: 18px 16px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(10, 20, 40, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 96px;
    font-size: 1.05rem;
  }

  .herofeature-card p {
    margin: 0;
    font-weight: 600;
    color: #111827;
  }

  .herofeature-card small {
    display: block;
    font-size: 0.92rem;
    color: #6b7280;
    margin-top: 4px;
    font-weight: 500;
  }

  .herofeature-card img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .herofeature-card .stars,
  .herofeature-card a {
    font-size: 1rem;
  }
}
/* ...existing code... */

/* ...existing code... */

/* Hero slide animation (add near end of file) */
.hero-content {
  /* ensure transforms/opacity animate smoothly */
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

/* outgoing */
.hero-content.anim-out {
  opacity: 0;
  transform: translateY(-12px) scale(0.995);
}

/* incoming */
.hero-content.anim-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ensure badges/image also transition nicely */
.hero-image img,
.badge {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* ...existing code... */

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

.intr {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInintro 1.5s cubic-bezier(0.4, 2, 0.3, 1) forwards;
  animation-delay: 3.2s;
}

@keyframes fadeInintro {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-animated-text span {
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInUp 0.6s ease-out forwards;
  display: inline-block;
}

/* Staggered delays for each letter */
.about-animated-text span:nth-child(1) {
  animation-delay: 0s;
}
.about-animated-text span:nth-child(2) {
  animation-delay: 0.08s;
}
.about-animated-text span:nth-child(3) {
  animation-delay: 0.16s;
}
.about-animated-text span:nth-child(4) {
  animation-delay: 0.24s;
}
.about-animated-text span:nth-child(5) {
  animation-delay: 0.32s;
}
.about-animated-text span:nth-child(6) {
  animation-delay: 0.4s;
}
.about-animated-text span:nth-child(7) {
  animation-delay: 0.48s;
}
.about-animated-text span:nth-child(8) {
  animation-delay: 0.56s;
}
.about-animated-text span:nth-child(9) {
  animation-delay: 0.64s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-animated-text span,
.tiltle span {
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInUp 0.6s ease-out forwards;
  display: inline-block;
}
.top-bar {
  background: #fff;
  font-size: 12px;
  text-transform: uppercase;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
}

.menu {
  cursor: pointer;
}

.about-section {
  background-image: url();
  padding: 30px 30px;
  max-width: 1400px;
  margin: auto;
  font-family: "Poppins", sans-serif;
  border-radius: 15px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.about-section h1 {
  margin: 0;
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 600;
  color: #007bff;
  font-family: "Poppins", sans-serif;
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.intro p {
  flex: 1;
  max-width: 800px;
  font-size: 1.3rem;
  color: #444;
  font-family: "Poppins", sans-serif;
}

.cta-button {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.about-images {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.about-images img {
  flex: 1;
  border-radius: 12px;
  object-fit: cover;
  max-height: 300px;
  width: 100%;
}

.philosophy {
  font-size: 1.2rem;
  font-weight: 400;
  color: #333;
  margin-top: 30px;
  font-family: "Poppins", sans-serif;
}

.highlight {
  color: #007bff;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

@media (max-width: 700px) {
  .about-section {
    padding: 24px 6px;
    border-radius: 10px;
  }
  .about-section h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
  }
  .intro {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
    text-align: start;
  }
  .intro p {
    font-size: 1.05rem;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .cta-button {
    width: 100%;
    font-size: 1rem;
    padding: 10px 0;
    border-radius: 8px;
    margin: 0 auto 10px auto;
  }
  .about-images {
    flex-direction: column;
    gap: 10px;
    margin: 18px 0;
  }
  .about-images img {
    max-height: 180px;
    width: 100%;
    border-radius: 10px;
  }
  .philosophy {
    font-size: 1rem;
    margin-top: 18px;
    text-align: center;
    padding: 0 4px;
  }
}

.abtwhy-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  font-family: "poppins", sans-serif;
}

.abtleft-content {
  flex: 1 1 40%;
  margin-left: 2rem;
  margin-right: 3rem;
}

.subtitle {
  color: #007bff;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Poppins", sans-serif;
}

.main-title {
  margin-top: 4rem;

  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
}

.abtright-content {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 8rem;
  font-family: "Poppins", sans-serif;
}

.abtfeature-box {
  position: relative;
  background: #fff;
  padding: 1.5rem;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.abtfeature-box::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border-top: 5px solid #007bff;
  border-left: 5px solid #007bff;

  top: -10px;
  left: -10px;
  border-radius: 2px;
}

.abtfeature-box .number {
  color: #007bff;
  font-weight: 700;
  font-size: 1.2rem;
}

.feature-box h3 {
  font-size: 1.1rem;
  color: #111;
  margin: 0.5rem 0;
}

.feature-box p {
  font-size: 0.95rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .why-choose-us .container {
    flex-direction: column;
  }

  .right-content {
    grid-template-columns: 1fr;
  }
}

.abtinfo-cards {
  opacity: 1;
  transform: translatey(40px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.abtinfo-cards.fade-in-right {
  opacity: 1;
  transform: translateY(0);
}

.abtinfo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
  font-family: "Poppins", sans-serif;
}

.abtcard {
  background-color: #ffffff;
  color: #181818;
  padding: 2rem;
  border-radius: 6px;
  transition: transform 1.3s ease;
}

.abtcard:hover {
  transform: translateY(-5px);
}

.abtcard.orange-bg {
  background-color: #007bff;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.abtcard.grey {
  background: #f7f9fc;
  color: #181818;
  font-family: "Poppins", sans-serif;
}

.hero2 {
  text-align: center;
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
}

.hero2 h1 {
  color: #007bff;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Fade-up animation for hero2 section */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero2 {
  opacity: 0;
  transform: translateY(32px);
  animation: none;
}

.hero2 p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 40px;
}

.video-wrapper {
  background: url("img/2534.jpg") center/cover no-repeat;
  border-radius: 40px;
  width: 100%;
  max-width: 600px;
  margin: auto;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Trusted Clients */

/* Fade-up animation for trusted section */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trusted {
  opacity: 0;
  transform: translateY(32px);
  animation: none;
}

.trusted {
  text-align: center;
  margin: 60px auto;
}

.trusted p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.trusted .logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trusted .logos img {
  height: 40px;

  transition: 0.3s;
}

.trusted {
  padding: 50px 20px;
  text-align: center;
  background: #f9fafb;
  overflow: hidden;
}

.trusted-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #1c1c1c;
}

.logos-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.logos-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}

.logos-track img {
  max-height: 70px;
  object-fit: contain;

  transition: all 0.3s ease;
}

.logos-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Animation */
@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .trusted-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .logos-track {
    gap: 30px;
    animation-duration: 15s; /* Faster scroll on mobile */
  }
  .logos-track img {
    max-height: 50px;
  }
}

/* Services Section */
.services {
  text-align: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.services p {
  color: #555;
  margin-bottom: 50px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #f7f9fc;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.card h3 {
  color: #007bff;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.card a {
  text-decoration: none;
  color: #0077ff;
  font-weight: 500;
  transition: 0.3s;
}

.card a:hover {
  color: #0055cc;
}

.card:hover {
  transform: translateY(-5px);
}

/* prosess */

.process-section {
  background-image: url(/img/hero/img\ bg.png);
  padding: 1rem;
  padding-top: 1rem;
  font-family: "Poppins", Arial, sans-serif;
  margin: 1rem;
  justify-content: center;
  align-items: center;
  justify-items: center;
}

.process-container {
  max-width: 1200px;
  justify-content: center;
}

.sub-heading {
  color: #2d9cdb;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: 3rem;
}

.main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-intro {
  color: #555;
  max-width: 700px;
  margin-bottom: 3rem;
  line-height: 2.6;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.timeline-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: auto;
}

.timeline-block-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: auto;
  max-width: 1100px;
}

.timeline-block:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-img,
.timeline-content {
  width: 50%;
  object-fit: contain;
}

.timeline-img img {
  max-width: 90%;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-left: 40px;
  object-fit: contain;
}
img .timeline-content {
  background: #ffffff;
  padding: 1.5rem;
  border-left: 4px solid #007bff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  object-fit: contain;
}

.step-number {
  color: #007bff;
  font-size: 2.2rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.3rem;
}

.timeline-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 1.5rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 700px) {
  .timeline {
    gap: 2rem;
  }
  .timeline-block,
  .timeline-block-left {
    flex-direction: column !important;
    flex-grow: 1;
    align-items: stretch;
    max-width: 100%;
    width: 100%;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(45, 156, 219, 0.06);
    border-radius: 10px;
    background: #fff;
    padding-left: 0rem 0.5rem;
  }
  .timeline-img,
  .timeline-content {
    width: 100% !important;
    margin: 0;
    padding: 0;
  }
  .timeline-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 1rem 0;
    border-radius: 8px;
  }
  .timeline-content {
    border-left: none;
    border-top: 4px solid #007bff;
    border-radius: 0 0 8px 8px;
    box-shadow: none;
    padding: 1rem 0.5rem;
    background: #f9f9f9;
  }
  .step-number {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* expertice */
/* Fade-up animation for hero2 section */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.expertice {
  opacity: 0;
  transform: translateY(32px);
  animation: none;
}

.expertise {
  padding: 30px 0;
  text-align: center;
  background: #fff;
  background-image: url(/img/hero/img\ bg.png);
  font-family: "Poppins", sans-serif;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.expertise-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.expert-box {
  flex: 1 1 280px;
}

.expert-box img {
  width: 100%;
  border-radius: 10px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.expert-box h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 10px 0;
  color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }

  .section-title {
    font-size: 24px;
  }

  .service-hero-content h1 {
    letter-spacing: -0.06em;
  }

  .service-box,
  .expert-box {
    flex: 1 1 100%;
  }
}

.popular-details {
  background: #ffffff;
  padding: 60px 10%;
  font-family: "poppins", sans-serif;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .tag {
  background: #007bff;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.section-header h2 {
  font-size: 32px;
  margin-top: 15px;
  font-weight: 600;
  color: #111;
}

.section-header h2 span {
  font-style: italic;
  color: #007bff;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.detail-card,
.upload-card {
  background: #f7f9fc;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
}

.detail-card img {
  max-width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
}

.detail-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}

.detail-card ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: #555;
}

.detail-card li {
  margin-bottom: 6px;
}

.upload-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #007bff;
  color: #fff;
  text-align: center;
}

.upload-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.upload-box p {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

.features-section {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 60px 20px;
}

.section-label {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.4;
}

.section-title span {
  color: #2974ff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-box {
  background-color: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  background-color: #222;
}

.feature-icon {
  margin-bottom: 15px;
  height: 40px;
}
.feature-box svg {
  width: 40px;
  height: 40px;
  display: inline-block;
}

.feature-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.feature-box p {
  font-size: 14px;
  color: #ccc;
}

.features-section {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-label {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.4;
}

.section-title span {
  color: #2974ff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-box {
  background-color: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  background-color: #222;
}

.feature-icon {
  font-size: 32px;
  color: #2974ff;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 14px;
  color: #ccc;
}

/* General Resets */
section {
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
  color: #111;
}

a {
  text-decoration: none;
}

/* Fade-up animation for cnc-awareness-section */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cnc-awareness-section {
  opacity: 0;
  transform: translateY(32px);
  animation: none;
}
/* CNC Awareness Section */
.cnc-awareness-section {
  background: #f7f9fc;
}

.awareness-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.awareness-text {
  flex: 1 1 400px;
}

.awareness-text h2 {
  font-size: 24px;
  font-weight: 600;
}

.awareness-text .highlight {
  color: #007bff;
}

.awareness-text p {
  margin: 15px 0;
  color: #555;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #0056d2;
}

.awareness-image {
  position: relative;
  flex: 1 1 400px;
}

.awareness-image img {
  width: 100%;
  border-radius: 10px;
}

.counter-box {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.counter-box i {
  color: #007bff;
}

/* CNC Services Section */

/* Fade-up animation for cnc-services-section */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cnc-services-section {
  opacity: 0;
  transform: translateY(32px);
  animation: none;
}
.cnc-services-section {
  background: #fff;
}

.services-header {
  max-width: 800px;
  margin: auto;
  text-align: center;
  margin-bottom: 40px;
}

.services-header h3 {
  font-size: 22px;
  font-weight: 600;
}

.services-header p {
  color: #666;
  margin: 12px 0;
}

.learn-more {
  color: #007bff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.services-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #f8faff;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.icon-box {
  background: #007bff;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: 600;
  color: #a3a3a3;
}

.faq-section {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 20px;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.faq-left {
  flex: 1;
  min-width: 250px;
}

.tag {
  background: #e0e7ff;
  color: #3b82f6;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

.faq-left h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.faq-left p {
  color: #555;
  font-size: 15px;
}

.faq-right {
  flex: 2;
  min-width: 300px;
}

.faq-item {
  border-top: 1px solid #ddd;
  padding: 18px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item h4 {
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item p {
  margin-top: 10px;
  font-size: 15px;
  color: #555;
  display: none;
}

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

.features-section {
  padding: 60px 40px;
  text-align: center;
}

.features-header h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.features-header p {
  font-size: 15px;
  color: #7b7b7b;
  margin-bottom: 40px;
}

.features-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  padding: 30px 25px;
  width: 280px;
  text-align: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 22px;
  background: #e6f3ff;
  padding: 12px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #006eff;
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.feature-card a {
  font-weight: 600;
  color: #006eff;
  text-decoration: none;
  font-size: 14px;
}

.testimonial-section {
  padding: 60px 30px;
  background: linear-gradient(to left, #f8f9fc, #a5d1f1);
  text-align: center;
  margin-bottom: 3rem;
}
.testimonial-section .container {
  max-width: 1200px;
  margin: auto;
}
.section-label {
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
}

.highlight-blue {
  color: #0066ff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 20px;
  text-align: left;
}

.testimonial-card img {
  width: 100%;
  max-width: 80px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.testimonial-card h4 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.testimonial-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.stars {
  color: #ffc107;
  margin-top: 10px;
}

:root {
  --accent-blue: #005b96;
  --muted: #6b7280;
  --brand: #1c1c1c;
}

.testimonial-section {
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.section-label {
  color: var(--muted);
  font-weight: 600;
}
.section-title {
  font-size: 28px;
  margin: 10px 0 40px;
}
.highlight-blue {
  color: var(--accent-blue);
}

/* Slider wrapper */
.testimonial-slider {
  overflow: hidden;
  position: relative;
}

/* Track with infinite scroll */
.testimonial-track {
  display: flex;
  gap: 20px;
  animation: scroll 35s linear infinite;
  width: max-content;
}

/* Single Card */
.testimonial-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin: 0 auto 12px;
}

.testimonial-card h4 {
  margin: 8px 0;
  color: var(--brand);
}
.testimonial-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.stars {
  margin-top: 10px;
  color: #f59e0b;
}

/* Infinite Scroll Animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .testimonial-card {
    flex: 0 0 240px;
    padding: 16px;
  }
  .testimonial-track {
    gap: 12px;
  }
}

/* Footer Styling */
.footer {
  background: #f7f9fc;
  padding: 60px 40px 30px;
  color: #eee;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  font-family: "Poppins", sans-serif;
}

.footer-brand {
  flex: 1 1 250px;
}

.footer-brand .logo {
  max-width: 340px;
  margin-bottom: 15px;
  height: 100px;
}

.footer-brand p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}
.footer-brand img {
  height: 100px;
  width: 400px;
}

.footer-contact p a {
  text-decoration: none;
  color: #575757;
  font-size: 14px;
  margin: 10px 0;
}

.footer-contact i {
  margin-right: 8px;
  color: #007bff;
}

.footer-links {
  flex: 1 1 150px;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #007bff;
}

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

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  text-decoration: none;
  color: #2d2d2d;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #007bff;
}

.footer-social {
  flex: 1 1 150px;
}

.footer-social h4 {
  margin-bottom: 15px;
  color: #007bff;
}

.social-icons a {
  font-size: 18px;
  margin-right: 15px;
  color: #2d2d2d;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #5c5c5d;
  margin-top: 40px;
  border-top: 1px solid #222;
  padding-top: 20px;
  font-family: "Poppins", sans-serif;
}
