/* ===============================
   Global Styles & Reset
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 8px;
}

html,
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  color: #222;
  background: #fdfdfd;
  width: 100%;
  overflow-x: hidden;
  /* stop sideways scroll */
}



img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 1em;
  color: #444;
}

@media (max-width: 768px) {
  .container {
    width: 95%;
  }
}

/* ===============================
   Header / Navigation
   =============================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
  transition: all 0.35s ease;
  padding: 20px 30px;
  box-shadow: none;
}

/* When user scrolls down */
header.scrolled {
  padding: 8px 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Logo shrinks smoothly */
header .brand-logo {
  transition: all 0.35s ease;
}

header.scrolled .brand-logo {
  height: 52px;
  /* slightly smaller logo */
}

/* Text also scales down slightly */
header .brand-text {
  transition: all 0.35s ease;
}

header.scrolled .brand-text {
  font-size: 1.3rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* keeps nav on right */
  max-width: 1200px;
  margin: 0 auto;
  height: 40px;
  padding: 0;
  /* optional: small left/right padding */
}

.hero {
  margin-top: 80px;
}

@media (max-width: 1024px) {
  .hero {
    margin-top: 70px;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: 65px;
  }
}

/* ===============================
   Brand
   =============================== */
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  /* removes underline/dotted line */
  gap: 1px;
  /* adjust spacing between logo and text */

  transition: 0.4s ease-in-out;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  cursor: pointer;
}

.brand:hover {
  filter: drop-shadow(0 0 2px rgba(255, 140, 0, 0.9));


  transform: scale(1.06);
}

.brand-text {
  display: flex;
  gap: 1px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  white-space: nowrap;
  margin: 18px;
  /* removes default inline gap */
  line-height: 1;
  /* keeps text vertically aligned */
}

@media (max-width: 768px) {
  .brand-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 1rem;
  }
}

/* Ensure logo + brand text are aligned tightly */


.brand-logo {
  display: block;
  height: 65px;
  /* or your responsive rules */
  width: auto;
  margin: 0;
  /* removes unwanted spacing */
}




/* Tablet */
@media (max-width: 768px) {
  .brand-logo {
    height: 65px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .brand-logo {
    height: 65px;
  }
}

/* ===============================
   Nav links (desktop)
   =============================== */
.primary-nav {
  display: flex;
}

.primary-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.primary-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 6px;
  transition: color 0.3s;
}

.primary-nav a:hover {
  color: orange;
}

.primary-nav a.active {
  font-weight: 600;
  color: orange;
}

/* ===============================
   Hamburger (hidden desktop)
   =============================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger active = "X" */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile + Tablet (hamburger enabled) */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 60px;
    /* below header */
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #eee;
    padding: 1rem 0;
    z-index: 999;
    /* keep it above content */
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .primary-nav a.active {
    font-weight: 600;
    color: orange;
    /* show when toggled */
  }
}

/* ===============================
   Hero Section / Slider
   =============================== */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slider .slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  filter: brightness(0.65);
}

/* Gradient Overlay */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/* Slider Controls */
.hero-slider .prev,
.hero-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  z-index: 3;
  transition: background 0.3s, transform 0.3s;
}

.hero-slider .prev {
  left: 20px;
}

.hero-slider .next {
  right: 20px;
}

.hero-slider .prev:hover,
.hero-slider .next:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Hero Text */
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 45vw;
  padding: 50px;
  margin-left: 8vw;
  top: 25%;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: #fff;
}

.hero-copy h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5vw;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.hero-copy p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5vw;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f1f1f1;
}

.hero-cta {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.hero-cta a {
  margin-right: 15px;
}

.hero-cta .btn {
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Buttons */
.hero-cta .btn-primary {
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-primary:hover {
  background: linear-gradient(135deg, #ee0979, #ff6a00);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-cta .btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.hero-cta .btn-ghost:hover {
  background: #fff;
  color: #111;
  transform: translateY(-3px);
}

/* New Hero Slider Buttons */
.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 24px;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.hero-slider .slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
  will-change: transform;
}

/* Mobile Responsive — Stack + Smaller Buttons */
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-cta .btn {
    width: 70%;
    /* Slightly narrower buttons */
    font-size: 14px;
    /* Smaller text */
    padding: 10px 20px;
    /* Compact padding */
    border-radius: 8px;
  }

  .hero-copy h1 {
    font-size: 2rem;
    /* Reduce heading size */
  }

  .hero-copy p {
    font-size: 1rem;
    /* Smaller paragraph */
  }
}

/* ===============================
   Professional Hero Slider Controls
   =============================== */
.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.hero-control .arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: all 0.3s ease;
}

.hero-control:hover .arrow {
  border-color: #111;
}

/* Arrow Directions */
.hero-control .arrow.left {
  transform: rotate(-135deg);
}

.hero-control .arrow.right {
  transform: rotate(45deg);
}

.prev-btn {
  left: 25px;
}

.next-btn {
  right: 25px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-control {
    width: 45px;
    height: 45px;
  }

  .hero-control .arrow {
    width: 10px;
    height: 10px;
  }
}

/* ===============================
   About Section
   =============================== */
.about-section {
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(125, 146, 214, 0.8);

  /* Add your background image here */
  background-image: url("img/atbg.jpg");
  /* change path to your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1400px;
  height: 600px;
}

.about-slider {
  flex: 1;
  max-width: 600px;
  /* Desktop ke liye width */
  height: 500px;
  /* Content box ke equal */
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  margin-right: 30px;
  background: transparent;
  /* Image ke around clean bg */
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.about-slides img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Image cut nahi hogi */
  flex-shrink: 0;
  border-radius: 15px;
}

/* Mobile Fix */
@media (max-width: 768px) {
  .about-slider {
    width: 100%;
    max-width: 350px;
    height: auto;
    /* Mobile me auto height */
    margin: 0 auto 20px auto;
  }

  .about-slides img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}


/* Slider Controls */
.about-prev,
.about-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 2;
  transition: background 0.3s ease;
}

.about-prev {
  left: 10px;
}

.about-next {
  right: 10px;
}

.about-prev:hover,
.about-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.about-content {
  flex: 1;
  margin: 20px auto;
  padding: 30px 25px;
  background: transparent;
  /* Clean white background */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  /* Soft shadow */
  color: #333;
  /* Neutral text color */
  position: relative;
  width: 650px;
  height: 500px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.8;
  border-radius: 16px;
  /* Rounded but not cartoonish */
  text-align: left;
  /* Professional alignment */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Snow layer positioned behind text */
.about-content .snowfall {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: transparent;
  z-index: 0;
  overflow: hidden;
}

/* Each snowflake */
.snowflake {
  position: absolute;
  top: -10px;
  color: rgba(177, 174, 174, 0.767);
  font-size: 10px;
  opacity: 0.4;
  animation: fall linear infinite;
}

/* Snowfall animation */
@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }



  .about-content {
    width: 90%;
    height: auto;
    margin-top: 20px;
    padding: 20px;
    text-align: center;
  }
}

/* Scrolling text fix */
.scrolling-text {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  line-height: 1.8;
  animation: scrollText 30s linear infinite;
}

.scrolling-text:hover {
  animation-play-state: paused;
}

/* Keyframes fix */
@keyframes scrollText {
  0% {
    top: 100%;
  }

  100% {
    top: -300%;
    /* -100% ki jagah -200% rakha */
  }
}

/* Section Heading */
.about-content h2 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #3f6179;
  /* Corporate blue */
  text-shadow: none;
  text-align: center;
}

/* Sub Headings */
.about-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin: 20px 0 10px;
}

/* Paragraph text */
.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #555;
}

/* Highlighted keywords */
.about-content strong {
  color: #0077cc;
}

/* Button Style */
.about-content .btn-primary {
  background: #0077cc;
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.about-content .btn-primary:hover {
  background: #005fa3;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.4);
}





/* ===============================
   Sections (Services, Projects, Contact)
   =============================== */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ===============================
   Services Section
   =============================== */
.services-section {
  padding: 25px 20px;
  background: linear-gradient(135deg, #fdfdfd, #f3f7ff);

  /* Add your background image here */
  background-image: url("img/servicebg.jpg");
  /* change path to your image */
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-section .section-header h2 {
  font-size: 2.5rem;
  color: #ffb347;
}

.services-section .section-header p {
  color: #666;
  max-width: 700px;
  margin: 10px auto 40px;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  perspective: 900px;
  /* 3D depth for child tiles */
}

.section-title-wrapper {
  margin-bottom: 2.8%;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: rgba(233, 86, 32, 0.986);
  position: relative;
  z-index: 2;
}

.title-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.border-rect {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: url(#border-gradient);
  stroke-width: 2px;
  stroke-dasharray: 800;
  /* path length */
  stroke-dashoffset: 800;
  /* hidden initially */
  rx: 25;
  /* capsule effect */
  ry: 25;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  transition: stroke 0.3s ease;
}

/* Hover animation */
.section-title-wrapper:hover .border-rect {
  animation: draw-border 0.5s linear forwards;
}

/* Pen-draw border animation */
@keyframes draw-border {
  to {
    stroke-dashoffset: 0;
  }
}

/* Moving RGB glow */
@keyframes glow-shift {
  0% {
    filter: drop-shadow(0 0 6px red);
  }

  25% {
    filter: drop-shadow(0 0 6px yellow);
  }

  50% {
    filter: drop-shadow(0 0 6px lime);
  }

  75% {
    filter: drop-shadow(0 0 6px cyan);
  }

  100% {
    filter: drop-shadow(0 0 6px violet);
  }
}

/* ===============================
   Service Card
   =============================== */
.service-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Outer Glow (follows cursor) */
.service-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  /* extend outward */
  border-radius: 18px;
  pointer-events: none;
  background: radial-gradient(180px 140px at var(--x, 50%) var(--y, 50%),
      rgba(255, 180, 0, 0.35),
      rgba(255, 140, 0, 0.20) 40%,
      rgba(255, 140, 0, 0.0) 70%);
  opacity: 0;
  transition: opacity 160ms ease;
  filter: blur(8px);
  z-index: -1;
  /* behind card */
}

.service-card:hover::before {
  opacity: 1;
}

/* Hover Lift + Glow */
.service-card:hover {
  transform: translateY(-8px) scale(1.045);
  box-shadow:
    0 18px 40px rgba(255, 165, 0, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Icon + Text */
.service-icon {
  font-size: 2.8rem;
  color: #ff6a00;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #222;
  font-weight: 600;
}

.service-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===============================
   Other Sections (About, Projects, Contact)
   =============================== */
.about-grid,
.services-grid,
.projects-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}

/* General Card */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* PRODUCT SECTION */
.products-section {
  padding: 2rem 5rem 5rem;
  background: #111;
  color: #fff;
  text-align: center;
  overflow: hidden;

  /* Add your background image here */
  background-image: url("img/probg.jpg");
  /* change path to your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ensure JS-driven scroll works and native scrollbar hidden for a cleaner look */
.products-carousel {
  width: 100%;
  overflow-x: auto;
  /* required for carousel.scrollLeft to work */
  overflow-y: hidden;
  scroll-behavior: smooth;
  cursor: grab;
}

.products-carousel::-webkit-scrollbar {
  display: none;
}

.products-track {
  display: flex;
  width: max-content;
  user-select: none;
}

.products-track {
  height: 60vh;
  display: flex;
  width: max-content;
  /* important for smooth loop */
  animation: scroll-left 100s linear infinite;
}

.product-tile {
  flex: 0 0 250px;
  /* fixed width for smooth flow */
  margin: 0 0.5rem;
  background: #222;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.product-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.product-tile p {
  padding: 0.5rem;
  font-size: 1rem;
}

.product-tile:hover {
  transform: scale(1.05);
}

/* Seamless scrolling like About section */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ===============================
   Trusted by Leading Industries
   =============================== */
.clients-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  text-align: center;
}

.clients-section .section-header h2 {
  font-size: 2rem;
  color: #ffb347;
  margin-bottom: 0.5rem;
}

.clients-section .section-header p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Carousel Layout */
.clients-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.clients-track {
  display: flex;
  gap: 50px;
  animation: scrollClients 25s linear infinite;
}

.client-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 100px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Animation */
@keyframes scrollClients {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .clients-track {
    gap: 30px;
    animation-duration: 30s;
  }

  .client-logo {
    width: 120px;
    height: 70px;
  }

  .clients-section .section-header h2 {
    font-size: 1.6rem;
  }
}


/* ===== CONTACT SECTION ===== */
.contact {
  position: relative;
  padding: 5rem 2rem;
  color: #fff;
  overflow: hidden;
}

/* Background video */
.contact-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(2px) brightness(1.0);
  /* Soft blur + darken for readability */
}

/* Content over video */
.contact .container {
  position: relative;
  z-index: 2;
}

.contact-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  z-index: 0;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.contact .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #ffb347;
  margin-bottom: 1rem;
}

.section-header p {
  color: #ddd;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== GRID LAYOUT ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== FORM ===== */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
}

.form-floating {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-floating input,
.form-floating textarea {
  width: 100%;
  padding: 1rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: transparent;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-floating label {
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  color: #777;
  background: #fff;
  padding: 0 0.3rem;
  pointer-events: none;
  transition: 0.2s ease all;
}

.form-floating input:focus+label,
.form-floating input:not(:placeholder-shown)+label,
.form-floating textarea:focus+label,
.form-floating textarea:not(:placeholder-shown)+label {
  top: -0.6rem;
  left: 0.7rem;
  font-size: 0.8rem;
  color: orange;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.btn-primary {
  background: orange;
  color: #111;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #ffb347;
}

.btn-ghost {
  background: transparent;
  border: 1px solid orange;
  color: orange;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: orange;
  color: #111;
}

/* ===== CONTACT INFO ===== */
.contact-info {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: orange;
}

.why-choose {
  margin-top: 2rem;
  background: rgba(255, 248, 240, 0.9);
  padding: 1.2rem;
  border-radius: 10px;
  border-left: 4px solid orange;
}

.why-choose h4 {
  margin-bottom: 0.8rem;
  color: #111;
}

.why-choose ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose li {
  padding: 0.4rem 0;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== MAP ===== */
.map-container {
  margin-top: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 600px) {
  .contact {
    padding: 3rem 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .contact-form,
  .contact-info {
    padding: 1.5rem;
    border-radius: 10px;
  }

  .form-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn {
    flex: none;
    width: 100%;
  }

  .contact-info h3 {
    font-size: 1.3rem;
  }

  .why-choose {
    margin-top: 1.5rem;
  }

  .map-container iframe {
    height: 280px;
  }
}

/* ===============================
   Accessibility (disable heavy motion)
   =============================== */
@media (pointer: coarse) {
  .service-card {
    transform: none !important;
  }

  .service-card:hover {
    transform: none !important;
  }

  .service-card::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .service-card,
  .service-card::before {
    transition: none !important;
  }
}

.products-carousel {
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: smooth;
  cursor: grab;
}

.products-carousel::-webkit-scrollbar {
  display: none;
}

/* ===============================
   Footer
   =============================== */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 1.2rem 0;
  text-align: center;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  margin: 0 0.5rem;
  color: #ccc;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

/* ===============================
   Contact Section
   =============================== */
.contact {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact p {
  margin: 10px 0;
  font-size: 1.1rem;
}

.contact a {
  color: #007BFF;
  font-weight: bold;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* ===============================
   Side Buttons
   =============================== */
.side-buttons {
  position: fixed;
  top: 25%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.side-btn {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 150px;
  background: orange;
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 25px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Slight transparency after delay */
.side-btn.transparent {
  opacity: 0.5;
}

.side-btn:hover {
  background: #fff;
  color: orange;
  border: 2px solid orange;
  opacity: 1;
  /* removes transparent effect */
}

/* ===============================
   Scrollbar
   =============================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, orange, orangered);
  border-radius: 10px;
  transition: 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff9900, #ff5500);
}

/* ===============================
   Animations
   =============================== */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   Responsive Design
   =============================== */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  header nav ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .capsule-buttons {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .capsule {
    min-width: 180px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  header {
    padding: 10px;
  }

  header nav ul {
    gap: 10px;
  }

  .hero {
    padding: 40px 20px;
    text-align: center;
    height: auto;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-copy {
    margin: 40px auto;
    padding: 30px 20px;
    top: 10%;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .capsule-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .capsule {
    width: 90%;
    font-size: 1rem;
    padding: 12px;
    margin: 0 auto;
  }

  footer {
    font-size: 0.9rem;
    padding: 15px;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.3rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .capsule {
    font-size: 0.9rem;
    padding: 10px;
  }

  footer {
    font-size: 0.8rem;
  }
}

/* ===============================
   FOOTER — Pawanputra Power Solution
=============================== */

.footer-credit {
  text-align: center;
  color: #bbb;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.4px;
}

.footer-credit .typed-line {
  color: #ff8c00;
  font-weight: 600;
  border-right: 2px solid #ff8c00;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blink-cursor 0.7s step-end infinite;
  text-shadow: 0 0 8px rgba(255, 140, 0, 0.5);
}

@keyframes blink-cursor {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #ff8c00;
  }
}

.site-footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #ddd;
  padding: 3rem 2rem 1rem;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  color: #ff8c00;
  /* Brand orange accent */
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, orange, #ffb347);
  border-radius: 2px;
}

.footer-col p {
  line-height: 1.6;
  font-size: 0.95rem;
  color: #ccc;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ff8c00;
}




/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #bbb;
}

.visitor-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #ffb84d;
  text-shadow: 0 0 6px rgba(255, 165, 0, 0.6);
  font-weight: 500;
  animation: fadeInUp 1s ease-in-out;
}

.visitor-counter i {
  color: orange;
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.footer-right p {
  margin: 0;
  font-size: 0.95rem;
  color: #f0f0f0;
}

.footer-right .highlight {
  color: orange;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(255, 165, 0, 0.7);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Footer Layout */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .visitor-counter {
    justify-content: center;
  }
}

.footer-bottom a {
  color: #ff8c00;
  margin-left: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-footer {
    text-align: center;
  }


  .footer-col h4::after {
    width: 60px;
    /* a little wider for balance */
    height: 3px;
  }
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: orange;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .footer-social {
    gap: 14px;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

.footer-social a {
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
}

.footer-social a:nth-child(1) {
  animation-delay: 0.1s;
}

.footer-social a:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-social a:nth-child(3) {
  animation-delay: 0.3s;
}

.footer-social a:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Footer Section Titles */
.footer-col h3 {
  position: relative;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #fff;
  text-align: center;
  /* Center heading text */
}

/* Centered orange underline */
.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, orange, #ffb347);
  border-radius: 2px;
}

/* Adjust size slightly for desktop for subtle look */
@media (min-width: 769px) {
  .footer-col h3::after {
    width: 60px;
    /* a little wider for balance */
    height: 3px;
  }
}


/* ===============================
   About Page Styling
   =============================== */

/* Hero Section */
.about-hero {
  background: linear-gradient(180deg, #111 0%, #222 100%);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  background: url("img/about-hero-bg.jpg") center/cover no-repeat;
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 2.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* About Intro */
.about-intro,
.about-mission,
.about-services,
.about-approach,
.about-why {
  padding: 4rem 2rem;
}

.about-grid,
.mission-grid,
.why-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-text,
.mission-text,
.why-text {
  flex: 1 1 50%;
}

.about-image,
.mission-image,
.why-image {
  flex: 1 1 45%;
  text-align: center;
}

.about-image img,
.mission-image img,
.why-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Services */
.about-services {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(255, 140, 0, 0.2);
}

.service-item h3 {
  color: #ff8c00;
  margin-bottom: 0.6rem;
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.approach-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #ff8c00;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Why Choose Us */
.about-why {
  background: #f8f9fc;
}

.why-text ul {
  list-style: none;
  padding: 0;
}

.why-text li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {

  .about-grid,
  .mission-grid,
  .why-grid {
    flex-direction: column;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ==============================
   PRODUCTS PAGE STYLING
   ============================== */

/* Hero Section */
.products-hero {
  position: relative;
  background: url("img/products-hero.jpg") center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
}

.products-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.products-hero p {
  font-size: 1.2rem;
  color: #ddd;
}

/* Showroom Section */
.product-showroom {
  background: #f8f9fc;
  padding: 4rem 2rem;
}

.showroom-header {
  text-align: center;
  margin-bottom: 2rem;
}

.showroom-header h2 {
  font-size: 2rem;
  color: #222;
}

.showroom-header p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Buttons */
.product-filters {
  text-align: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background: none;
  border: 2px solid #ff8c00;
  color: #ff8c00;
  padding: 0.6rem 1.5rem;
  margin: 0.4rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ff8c00;
  color: #fff;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.25);
}

.product-info {
  padding: 1.2rem;
  text-align: center;
}

.product-info h3 {
  color: #222;
  margin-bottom: 0.5rem;
}

.product-info p {
  color: #666;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .products-hero h1 {
    font-size: 2rem;
  }

  .products-hero p {
    font-size: 1rem;
  }

  .filter-btn {
    padding: 0.5rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .product-card img {
    height: 180px;
  }

  .showroom-header h2 {
    font-size: 1.6rem;
  }
}

/* ===============================
   Premium Back to Top Button
   =============================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7b00, #ffb347);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.5);
  backdrop-filter: blur(4px);
  transition: all 0.4s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  z-index: 1200;
}

/* When visible */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover effect */
.back-to-top:hover {
  background: linear-gradient(135deg, #ffffff, #f5f5f5);
  color: orange;
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.8), 0 0 40px rgba(255, 200, 0, 0.5);
  transform: translateY(-5px) scale(1.05);
}

/* Inner arrow animation */
.back-to-top .arrow {
  display: inline-block;
  animation: bounceUp 1.5s infinite ease-in-out;
}

/* Arrow bounce animation */
@keyframes bounceUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Subtle pulse glow */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
  }

  50% {
    box-shadow: 0 0 25px rgba(255, 165, 0, 0.9);
  }

  100% {
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
  }
}

.back-to-top.show {
  animation: glowPulse 2.5s infinite ease-in-out;
}

/* Responsive (smaller button on mobile) */
@media (max-width: 600px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
}





/* ===============================
   PRODUCTS SECTION – PRO VERSION
================================= */

.products-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  background:
    linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)),
    url("img/probg.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
  overflow-y: visible;
}

/* ---------- TITLE ---------- */

.section-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  z-index: 9;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.title-border {
  width: 100%;
  height: 6px;
  margin-top: 0.6rem;
}

.border-rect {
  width: 100%;
  height: 100%;
  fill: url(#border-gradient-products);
}

/* ---------- CAROUSEL ---------- */

.products-carousel {
  width: 100%;
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
}

/* pause animation on hover */
.products-carousel:hover .products-track {
  animation-play-state: paused;
}

.products-carousel.dragging .product-tile {
  pointer-events: none;
}

.products-carousel.dragging .products-track {
  animation-play-state: paused !important;
}

.products-track {
  display: flex;
  gap: 1rem;
  padding: 2.5rem 0;
  width: max-content;
}

/* ---------- PRODUCT CARD ---------- */

.product-tile {
  flex: 0 0 260px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: auto;
  z-index: 1;
  transition: transform .35s ease, box-shadow .35s ease;
}


.product-tile:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 20;
}


.product-tile img {
  width: 100%;
  height: 100%;
  padding: 1rem;
  object-fit: contain;
  flex: 1;
  pointer-events: none;
  user-select: none;
}

.product-tile p {
  margin: 0;
  padding: 0.9rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.2),
      transparent);
  position: absolute;
  bottom: 0;
  width: 100%;
}


/* ---------- SCROLL ANIMATION ---------- */

/* @keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
} */

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .products-track {
    animation-duration: 90s;
  }

  .product-tile {
    flex-basis: 230px;
  }
}

@media (max-width: 768px) {
  .products-track {
    animation-duration: 120s;
  }

  .product-tile {
    flex-basis: 200px;
  }

  .product-tile img {
    height: 170px;
  }
}

@media (max-width: 480px) {
  .product-tile {
    flex-basis: 170px;
  }

  .product-tile p {
    font-size: 0.9rem;
  }
}









/* ===== Navigation default (desktop) ===== */
.primary-nav ul {
  display: flex;
  gap: 20px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    /* HIDDEN BY DEFAULT */
    flex-direction: column;
    z-index: 999;
  }

  .primary-nav ul {
    flex-direction: column;
    padding: 15px 0;
  }

  .primary-nav.active {
    display: block;
    /* 🔥 SHOW ON CLICK */
  }
}

.primary-nav.active {
  display: block;
  /* 🔥 SHOW ON CLICK */
}