/* Import Google Font Rubik */

@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Dancing+Script:wght@400..700&family=Great+Vibes&display=swap");
/* ================= ROOT VARIABLES ================= */
:root {
  --color-primary: #e11d48; /* Accent / Pinkish red */
  --color-secondary: #222d35; /* Dark text / buttons */
  --color-white: #fff; /* White */
  --color-gray-light: #ddd; /* Light gray text */
  --color-gray-lighter: #eee; /* Borders in submenu */
  --color-gray-dark: #1e293b; /* Top bar background */
  --color-gray-darker: #0f172a; /* Contact bar background */
  --color-hover-bg: #f5f5f5; /* Hover background for submenu */
  --color-social-hover: #c1002f; /* Social icons hover */
  --slider-overlay-opacity: 0.4; /* overlay opacity */
  --heading-color: #222d35;
  --text-color: #3f4245;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rubik", Arial, Helvetica, sans-serif !important;
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  /* letter-spacing: 0.2px; */
  color: #555c63;
}
body::selection,
body *::selection {
  background: #c3002f; /* highlight color */
  color: #fff; /* text color when selected */
}

/* ================= HEADER ================= */
header {
  width: 100%;
  position: relative;
  z-index: 1000;
}

/* ================= TOP CONTACT BAR ================= */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 4%;
  /* background-color: rgba(246, 243, 243, 0.189); */
  /* -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(20px); */
  width: 100%;
}
.about_header {
  position: initial !important;
  background: var(--color-primary);
}
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  max-width: 1270px !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo .logo_inner {
  height: 50px;
}
.logo .logo_inner img {
  height: 100%;
  width: 100%;
}
.logo_text h2 {
  transform: translateY(4px);
  margin: 0;
  font-size: 25px;
  position: relative;
  z-index: 99;
}
.logo_text small {
  font-size: 16px;
  position: relative;
  z-index: 99;
}

.top-bar .contact-info {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 14px;
}

.contact-item i {
  font-size: 22px;
  color: var(--color-primary);
  margin-top: 2px;
}

.contact-item h6 {
  margin: 0;
  font-size: 13px;
  color: var(--color-white);
}

.contact-item p,
.contact-item a {
  font-size: 13px;
  margin: 0;
  color: var(--color-gray-light);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--color-primary);
}

/* ================= SLIDER ================= */

.swiper {
  width: 100%;
  height: 100%;
  transform: translateY(-40px);
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 0 50px 0;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide__image {
  height: 280px;
  width: 100%;
}
.slide__image img {
  height: 100%;
  width: 100%;
  object-fit: fill;
}

/* Default card state */
.card__hover {
  transition: all 5s ease-in-out;
  opacity: 1;
  border: 1px solid rgba(128, 128, 128, 0.264);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.155);
}
.card__hover a {
  text-decoration: none;
  color: var(--heading-color);
}
.card-body h6 {
  text-transform: uppercase;
}
.card__hover a:hover {
  color: var(--color-primary);
}

/* Only the hovered card should stay clear */
.card__hover:hover {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: scale(1.05); /* slight zoom for focus */
  z-index: 2; /* bring to front */
}

.slider_btn {
  position: absolute;
  top: 10px;
  right: 5px;
  width: 80px;
  height: 50px;
  line-height: 50px;
  z-index: 99999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider_btn .swiper-button-next,
.slider_btn .swiper-button-prev {
  position: relative; /* override Swiper's default absolute positioning */
  inset: unset; /* reset top/left/right/bottom */
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #dc143c; /* Crimson Red */
  color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider_btn .swiper-button-next::after,
.slider_btn .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

.slider_btn .swiper-button-next:hover,
.slider_btn .swiper-button-prev:hover {
  background: #b01030; /* Darker Crimson for hover */
  transform: scale(1.1);
}

.cus-slider {
  position: relative;
  width: 100%;
  max-height: 800px;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 610px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.arival_bg {
  background-color: #f8f8f8;
}
.video_overlay {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.new_arival {
  height: 600px;
  border-radius: 30px;
}
.slide_bg_2,
.slide_bg_3 {
  object-fit: cover;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* .slide_bg_2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../images/slider2.jpg);
  background-position: top center;
} */
.slide_bg_3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/company_group.jpg);
  background-position: top center;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 20px;
  max-width: 1000px;
  width: 100%;
}

.slide-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.slide-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Text Animations */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ================= SLIDER CONTROLS ================= */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.slider-controls button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: var(--color-white);
  font-size: 24px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  z-index: 11;
  pointer-events: auto;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.slider-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ================= NAVIGATION ================= */
/* Disable body scroll */
body.no-scroll {
  overflow: hidden;
}

/* === NAVBAR MAIN === */
.nav-bar {
  position: fixed;
  left: 0;
  top: 0;
  background: black;
  height: 100vh;
  width: 100%;
  transform: translateX(-100%); /* Hidden off screen */
  opacity: 0;
  transition: transform 1.2s ease-in-out, opacity 1s ease-in-out;
  z-index: 999;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto; /* allow scroll on small devices */
}

/* NavBar visible */
.nav-bar.active {
  transform: translateX(0);
  opacity: 1;
}

/* --- MENU ITEMS --- */
.nav-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: menucount; /* for numbering */
}

.nav-bar ul li {
  position: relative;
  transform: translateY(-60px);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  counter-increment: menucount; /* increment number */
}

/* Animate items with stagger (slower reveal) */
.nav-bar.active ul li {
  transform: translateX(0);
  opacity: 1;
}

.nav-bar.active ul li:nth-child(1) {
  transition-delay: 0.4s;
}
.nav-bar.active ul li:nth-child(2) {
  transition-delay: 0.8s;
}
.nav-bar.active ul li:nth-child(3) {
  transition-delay: 1.2s;
}
.nav-bar.active ul li:nth-child(4) {
  transition-delay: 1.6s;
}
.nav-bar.active ul li:nth-child(5) {
  transition-delay: 2s;
}

/* Number always visible */
/* Number always visible */
.nav-bar > nav > ul > li::after {
  content: counter(menucount);
  position: fixed;
  left: -80px; /* adjust placement */
  bottom: 5px; /* fixed position */
  font-size: 20px;
  color: #ffffff; /* default color */
  font-weight: bold;
  opacity: 0.2;
  transform: scale(1);
  transition: opacity 0.4s ease, color 0.4s ease, transform 0.4s ease;
}

/* Smooth hover effect */
.nav-bar > nav > ul > li:hover::after {
  color: #ffffff; /* hover color */
  transform: scale(1.3); /* smooth zoom */
  opacity: 1;
}

/* --- OPTIONAL: Fade-in background overlay --- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Hamburger Icon --- */
.ham {
  height: 40px;
  width: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
}
.ham span {
  position: absolute;
  display: block;
  height: 3px;
  width: 30px;
  background: #ffffff;
  border-radius: 30px;
  transition: 0.4s ease-in-out;
}
.ham span:nth-child(1) {
  transform: translateY(-9px);
}
.ham span:nth-child(3) {
  transform: translateY(9px);
}
.span_style span:nth-child(1) {
  transform: rotateZ(45deg);
}
.span_style span:nth-child(2) {
  opacity: 0;
}
.span_style span:nth-child(3) {
  transform: rotateZ(315deg);
}

/* --- NAV MENU LINKS --- */
.nav-bar nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 20px 0 0;
  padding: 0;
}

.nav-bar nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 28px;
  transition: color 0.3s;
  padding: 18px 40px 18px 0;
}

.nav-bar nav ul li a.active,
.nav-bar nav ul li a:hover {
  color: #e11d48;
}

/* === RESPONSIVE BREAKPOINTS === */

/* Tablets */
@media (max-width: 1024px) {
  .nav-bar nav ul li a {
    font-size: 20px;
    padding: 14px 20px;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .nav-bar {
    justify-content: flex-start;
    padding: 60px 20px;
  }

  .nav-bar nav ul {
    gap: 15px;
  }

  .nav-bar nav ul li a {
    font-size: 18px;
    padding: 12px 15px;
  }

  .nav-bar ul li:hover::after {
    left: auto;
    right: 20px; /* move counter to right on mobile */
    bottom: 15px;
    font-size: 14px;
  }
}

/* Small mobiles */
@media (max-width: 480px) {
  .nav-bar nav ul li a {
    font-size: 16px;
    padding: 10px 12px;
  }
}

/* ================= SUBMENU ================= */
/* Position submenu to open on right side */
.has-submenu {
  position: relative;
}

.has-submenu > .submenu {
  position: absolute;
  top: 5px;
  left: 100%; /* Open on right side */
  width: max-content; /* Auto size to content */
  white-space: nowrap;
  z-index: 999;
  display: flex;
  gap: 10px !important;

  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px); /* Slight push */
  transition: all 0.3s ease-in-out;
}

/* Show submenu on hover */
.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0); /* Slide in smoothly */
}

.submenu li {
  list-style: none;
  margin: 0; /* Remove li gap */
  padding: 0; /* Remove li gap */
}

.submenu li a {
  display: block;
  padding: 0px 12px !important;
  color: #333;
  text-decoration: none;
  font-size: 22px !important;
}

/* ================= BUTTONS ================= */
.quote-btn {
  background: var(--color-secondary);
  color: var(--color-white);
  height: 38px;
  padding: 6px 18px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 14px;
}

.quote-btn:hover {
  background: #c1002f;
}

/* ================= SOCIAL ICONS ================= */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  background: var(--color-secondary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 38px;
  padding: 6px 14px;
  border-radius: 5px;
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
}

.social-icons a:hover {
  background: var(--color-social-hover);
  color: var(--color-white);
}

/* ================= MOBILE ================= */

.quote_wrapper {
  display: flex;
  gap: 10px;
  margin-left: 35px;
  margin-top: 20px;
}
@media (max-width: 998px) {
  .top-bar .contact-info {
    display: none;
  }

  .filter-section {
    position: initial !important;
  }
  .quote_wrapper {
    display: none;
  }
}
@media (max-width: 668px) {
  .stat-item {
    min-width: 100% !important;
  }
  .quote_wrapper {
    display: none;
  }
  nav ul {
    padding: 0;
  }
}

@media (max-width: 818px) {
  .card {
    grid-column: 2 !important;
  }
  .item:nth-child(odd) .date {
    grid-column: 2 !important;
    justify-self: start !important;
  }
  .dot_comp {
    position: absolute;
    top: 10px;
    left: 16px !important;
  }
}
@media (max-width: 889px) {
}

/* ================= IMAGE TEXT ================= */
.image-text {
  font-size: 80px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 10px;
  text-align: center;

  /* Image inside text */
  background: url("your-image.jpg") repeat;
  background-size: 200% auto;
  background-position: 0% 50%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* White stroke with animation */
  -webkit-text-stroke: 2px var(--color-white);
  animation: borderColor 4s ease-in-out infinite, slideBg 6s linear infinite;
}

@keyframes borderColor {
  0%,
  100% {
    -webkit-text-stroke: 2px var(--color-white);
  }
  50% {
    -webkit-text-stroke: 2px #ff6600;
  } /* could define --color-accent */
}

@keyframes slideBg {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* ================= IMAGE OVERLAY ================= */
.image_overlay {
  position: absolute;
  bottom: -40px;
  right: 20px;
  background-image: url(../images/light_grey_dots_background.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 50%;
  width: 60%;
  z-index: -1;
  opacity: var(--slider-overlay-opacity);
  border-radius: 8px;
  animation: fadeOverlay 4s ease-in-out infinite;
}

@keyframes fadeOverlay {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.3;
  }
}
.section-title {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 16px;
}
.main-heading {
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  color: var(--heading-color);
}
.main-heading span {
  font-weight: 700;
  line-height: 50px;
}
.text-mute {
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: 0.2px;
  color: var(--text-color) !important;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 800;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-right: 10px;
}
.feature-list p {
  border-bottom: 1.6px dotted #d3d3d479;
  padding-bottom: calc(20px / 2);
}
.check i {
  font-size: 0.7rem;
}

.check:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.1);
}
.btn-custom {
  background: var(--color-primary); /* Keep primary color */
  border: none;
  padding: 15px 35px 15px 35px;
  color: #ffffff; /* Ensure high contrast */
  font-weight: 500 !important;
  font-size: 14px;
  line-height: 14px;
  transition: background-color 0.3s, color 0.3s; /* Smooth hover transition */
}

.btn-custom:hover {
  background-color: #111a22; /* Darker shade for better hover contrast */
  color: #ffffff; /* Keep text visible */
}

.btn-outline-custom {
  background-color: transparent;
  border: 1px solid #222d35; /* Slightly thicker border for visibility */
  color: #222d35;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.btn-outline-custom:hover {
  background-color: #222d35; /* Fill button on hover */
  color: #ffffff; /* White text for high contrast */
}

.banner {
  position: relative;
  height: 260px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #c3002f 0%, #c3002f 50%, #c3002f 100%);
  clip-path: polygon(0 0, 65% 0, 45% 100%, 0 100%);
  z-index: 1;
}

.banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 40%;
  background-image: linear-gradient(
      rgba(33, 20, 130, 0.2),
      rgba(228, 10, 10, 0.2)
    ),
    url(../images/gratex-synthetics-pvt-sustainability-initiatives.jpg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  color: white;
  max-width: 50%;
}

.banner_icon {
  width: 200px;
  height: 200px;
  margin-bottom: 15px;
  opacity: 0.1;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.banner_icon svg {
  width: 100%;
  height: 100%;
  fill: white;
}
.banner:hover .banner_icon {
  opacity: 0.2;
}

.heading {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.phone-numbers {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.95;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .banner {
    height: 160px;
  }

  .banner::before {
    clip-path: polygon(0 0, 75% 0, 60% 100%, 0 100%);
  }

  .banner::after {
    left: 50%;
  }

  .content {
    padding: 0 20px;
    max-width: 60%;
  }

  .heading {
    font-size: 1.6rem;
  }

  .phone-numbers {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 140px;
  }

  .banner::before {
    clip-path: polygon(0 0, 85% 0, 75% 100%, 0 100%);
  }

  .banner::after {
    left: 60%;
  }

  .content {
    max-width: 70%;
  }

  .heading {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .phone-numbers {
    font-size: 0.85rem;
  }

  .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }
}

.card-container {
  display: flex;
  height: 530px;
  overflow: hidden;
}

.card_Technology {
  position: relative;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  background: #f5f5f5;
}

.card_Technology:not(.active) {
  flex: 0 0 80px;
}
.card_Technology.active {
  flex: 1;
}

.card_Technology .card-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: sideways-lr;
  text-orientation: mixed;
  font-size: 20px;
  color: var(--heading-color);
  z-index: 2;
  transition: all 0.6s ease;
  border-left: 1px solid rgb(216, 216, 216);
}

.card_Technology.active .card-header {
  background: #dc143c;
  width: 80px;
  height: 100%;
  top: 0;
  left: 0;
  right: auto;
  font-size: 20px;
  font-weight: 600;
  writing-mode: sideways-lr;
  color: var(--color-white);
}

.card_Technology .card-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: bold;
  color: #666;
  z-index: 3;
  transition: all 0.6s ease;
}

.card_Technology.active .card-number {
  top: 22px;
  left: 40px;
  transform: none;
  color: white;
  font-size: 22px;
}

.card_Technology .card-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.6s ease 0.2s;
  display: flex;
  align-items: center;
  gap: 30px;
}

.card_Technology.active .card-content {
  opacity: 1;
  transform: translateX(0);
}

.card_Technology .card-image {
  flex: 0 0 300px;
  height: 400px;
  overflow: hidden;
  margin-left: 110px;
}

.card_Technology .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card_Technology .card-text {
  flex: 1;
  padding-left: 16px;
}
.card_Technology .card-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    height: auto;
    max-width: 100%;
  }
  .card_Technology {
    min-height: 80px;
    flex: none !important;
  }
  .card_Technology:not(.active) {
    flex: none;
    height: 80px;
  }
  .card_Technology.active {
    flex: none;
    height: auto;
    min-height: 400px;
  }
  .card_Technology .card-header {
    writing-mode: horizontal-tb;
    text-orientation: upright;
    height: 80px;
    font-size: 16px;
    padding: 0 64px;
    justify-content: flex-start;
  }
  .card_Technology.active .card-header {
    position: relative;
    width: 100%;
    height: 60px;
    top: 0;
    left: 0;
    margin-bottom: 20px;
    border-radius: 0;
    font-size: 20px;
    writing-mode: horizontal-tb;
  }
  .card_Technology .card-number {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 18px;
  }
  .card_Technology.active .card-number {
    top: 12px;
    left: 20px;
    transform: none;
    font-size: 24px;
  }
  .card-number {
  }
  .card_Technology .card-content {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    margin-top: 60px;
  }
  .card_Technology.active .card-content {
    margin-top: 0;
  }
  .card_Technology .card-image {
    flex: none;
    width: 100%;
    height: 200px;
    margin-left: 0;
    order: 2;
  }
  .card_Technology .card-text {
    flex: none;
    width: 100%;
    padding-left: 0;
    order: 1;
  }
  .card_Technology .card-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .card_Technology .card-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .card_Technology .read-more-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}
.overlay_bg___image,
.overlay_bg_image {
  position: absolute;
  top: 0px;
  left: 30px;
  background-image: url(../images/3.png);
  background-position: bottom left;
  background-size: contain;
  background-repeat: no-repeat;
  height: 180px;
  opacity: 0.2;
  width: 50%;

  /* Animation */
  animation: moveBg 5s linear infinite;
}
.overlay_bg___image {
  top: 38px;
}

@keyframes moveBg {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px); /* Move 20px to the right */
  }
  100% {
    transform: translateX(0); /* Back to start */
  }
}
.Textile_heading {
  position: relative;
  z-index: 9;
  color: #ffffff;
}
.custom-heading {
  color: var(--heading-color);
  font-weight: 600;
}
.bg_color {
  background-color: #222e36;
}
.wel_img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 460px; /* makes it vertically centered in column */
}

.wel_img img {
  width: 100%;
  height: 100%;
}

.subtitle {
  font-weight: 600;
}

/* Section background and overlay */
.hero-stats {
  position: relative;
  background: url("../images/Gratex-Synthetics-Manufacturing_bg.png")
    center/cover no-repeat;
  background-attachment: fixed;
  color: #e5e7eb;
  padding: 6rem 0;
}
.hero-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
}

.headline {
  font-weight: 500;
  font-size: 2.7rem;
  text-align: center;
  color: #ffffff;
  line-height: 2.9rem;
}
.headline .accent {
  font-weight: 600;
  color: #e11d48;
}

/* Stat cards */
.stat {
  text-align: center;
  padding: 1.25rem 0 0.5rem;
}
.stat .icon {
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px; /* FA icons scale with font-size */
  margin-bottom: 0.75rem;
  color: #e5e7eb; /* currentColor drives icon color */
  background: rgba(255, 255, 255, 0.159);
  backdrop-filter: blur(2px);
}

.stat .value {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 1px;
}
.stat .label {
  color: #9ca3af;
  font-size: 0.95rem;
}

.stat-item {
  max-width: 200px;
  width: 100%;
  color: #ffffff;
  backdrop-filter: blur(40px); /* ✅ works */
  -webkit-backdrop-filter: blur(40px); /* ✅ Safari support */
  background-color: rgba(15, 23, 42, 0.43); /* ✅ semi-transparent */
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-icon {
  font-size: 30px;
}
.stat-content p,
.stat-content h3 {
  padding: 0;
  margin: 0;
}
.counter {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.counter.visible {
  opacity: 1;
  transform: scale(1);
}
.client {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.client::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef0f6, #e6ecf8);
  z-index: 0;
}

.c-map {
  height: 400px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.288;
}
.c-map img {
  height: 100%;
  width: 100%;
}
.Gratex_bg {
  padding: 5rem 0 0 0;
  background-color: #fcfaf7;
}

.client .container,
.client .tm-wrap-cell {
  position: relative;
  z-index: 1;
}

.slider_client_img {
  margin-top: 70px;
  padding: 3em 2em;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.slide-track {
  display: flex;
  gap: 2.5em;
  width: calc(220px * 18); /* Adjust to total slides */
  animation: scroll 25s linear infinite;
  align-items: center;
}

.slide___1 {
  flex: 0 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide___1 {
  width: 200px;
  height: 80px;
  padding: 11px 15px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(255, 255, 255, 0.644);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  /* filter: grayscale(100%); */
}
.wesiside img {
  object-fit: contain !important;
  transition: 0.4s ease-in-out;
}
.slide___1 img {
  width: 100%;
  height: 100%;
  transition: 0.4s ease-in-out;
  object-fit: cover;
}

/* Hover effects */
.slide___1:hover img {
  transform: scale(1.02);
}

.slide-track:hover {
  animation-play-state: paused;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----------------------------footer -------------------*/
.footer__logo {
  width: 155px;
  height: 50px;
  margin-bottom: 20px;
}
.footer__logo img {
  height: 100%;
  width: 100%;
}

.footer-section {
  background: linear-gradient(
      135deg,
      rgba(30, 41, 59, 0.887),
      rgba(30, 41, 59, 0.887)
    ),
    url("../images/footer1.jpeg") center/cover;
  color: #ffffff;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(30, 41, 59, 0.8); */
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.company-logo {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

.company-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.company-tagline {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 20px;
}

.foote-info {
  margin-bottom: 35px;
}

.contact_item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #e2e8f0;
  transition: color 0.3s ease;
}

.contact_item i {
  margin-right: 12px;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
}

.footer-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #f8fafc;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 70px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.footer-links a i {
  margin-right: 8px;
  width: 16px;
}

.marketplace-badge {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  padding: 12px 20px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
}

.marketplace-badge:hover {
  transform: translateY(-2px);
  color: white;
}

.marketplace-logo {
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-weight: bold;
  color: var(--color-primary);
}

/* .subscription-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
} */

.subscribe-btn:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  padding-top: 25px;
  text-align: center;
  color: #94a3b8;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  color: #fff; /* icon stays white */
  transition: all 0.3s ease;
}

/* Brand background colors based on icon inside */
.social-link .fa-facebook-f {
  background: #1877f2;
}

.social-link .fa-twitter {
  background: #1da1f2;
}

.social-link .fa-linkedin-in {
  background: #0a66c2;
}

.social-link .fa-instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.social-link .fa-youtube {
  background: #ff0000;
}

/* Fix: apply background to parent link */
.social-link i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.social-link .fa-facebook-f {
  color: #fff;
}
.social-link .fa-twitter {
  color: #fff;
}
.social-link .fa-linkedin-in {
  color: #fff;
}
.social-link .fa-instagram {
  color: #fff;
}
.social-link .fa-youtube {
  color: #fff;
}

/* Hover effect */
.social-link:hover {
  transform: scale(1.15);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .footer-section {
    padding: 40px 0 20px;
  }

  .company-name {
    font-size: 24px;
  }

  .subscription-form {
    margin-top: 30px;
  }
}

/* --------------------all product ------------------------ */

.fabric-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Premium Glow Effect */

.fabric-card::before {
  content: "";
  position: absolute;
  inset: -20px; /* slightly bigger than card */
  border-radius: inherit;
  background: radial-gradient(
    circle at top left,
    rgba(195, 0, 47, 0.2),
    rgba(195, 0, 47, 0) 70%
  );
  opacity: 0;
  filter: blur(30px);
  transition: opacity 0.6s ease;
  z-index: 0;
}

.fabric-card:hover::before {
  opacity: 1;
}
.col-lg-4:first-child .fabric-card::before {
  opacity: 1;
}

@keyframes shine {
  from {
    background-position: 0% center;
  }
  to {
    background-position: 200% center;
  }
}

/* Ensure content stays above effects */
.fabric-card * {
  position: relative;
  z-index: 2;
}

.fabric-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: #222;
}

.fabric-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.feb_image {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.feb_image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.fabric-card:hover .feb_image img {
  transform: scale(1.09);
}

/* Button */
.view-all-btn {
  background: #dc143c;
  color: #fff;
  text-decoration: none;
  padding: 12px 35px 12px 35px;
  font-size: 14px;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  border: none;
  font-weight: 600;
  border-radius: 30px;
}

.view-all-btn:hover {
  color: #fff;
  background: #b91c3c;
}
.view-all-btn::after {
  content: "→";
  font-size: 16px;
  margin-left: 10px;
}
/* Badge */
.category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #c3002f, #ff4a70);
  color: #fff;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.73rem;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(195, 0, 47, 0.35);
}

@media (max-width: 768px) {
  .fabric-card {
    padding: 1.5rem;
  }
  .fabric-title {
    font-size: 1.2rem;
  }
  .feb_image {
    height: 160px;
  }
}

/* ---------------detail css-------------------- */

.product__wrapper {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.product_overlay.dynamic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/Gratex-Synthetics-Manufacturing_bg.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product____card {
  position: relative;
  z-index: 2; /* keep content above blurred bg */
}

.product____card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.product____card h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffff; /* updated */
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-text {
  text-align: start;
}
.main-image-container {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
}
.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.nav-btn,
.zoom-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.nav-btn-left {
  left: 10px;
}
.nav-btn-right {
  right: 10px;
}
.zoom-btn {
  top: 10px;
  right: 10px;
  transform: none;
}
.thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: 0.5rem;
  margin: 0.8rem 0;
  overflow-x: scroll;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.thumbnails::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.thumbnails {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.thumbnails .thumbnail {
  min-width: 120px; /* 🔥 fixed width */
  height: 120px; /* 🔥 fixed height */
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnails .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover nicely */
  display: block;
}

.thumbnails .thumbnail.active {
  border-color: #c6c3c4;
  padding: 8px; /* highlight active */
}

.text-decoration-none {
  color: initial;
}
.product-title {
  font-size: 25px;
  font-weight: 700;
  color: #e01d47 !important;

  text-transform: capitalize;
}
.product-category {
  color: #222222c2;
  font-size: 15px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row span:first-child {
  font-weight: 600;
  color: #444;
}

.detail-row span:last-child {
  color: #666;
  text-align: right;
  max-width: 70%;
}

.btn {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  border: none;
}

.btn i {
  margin-right: 6px;
}

.btn-primary {
  background: #c3002f !important;
  color: #fff;
  border: none !important;
}

.btn-primary:hover {
  background: #a10025 !important;
}

.btn-outline-primary {
  background: #fff;
  border: 1px solid #c3002f;
  color: #c3002f;
}

.btn-outline-primary:hover {
  background: #c3002f;
  color: #fff;
}

@media (max-width: 768px) {
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-row span:last-child {
    text-align: left;
    margin-top: 4px;
  }
}
@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
  .main-image-container {
    height: 300px;
  }
  .thumbnail {
    height: 70px;
  }
}
@media (max-width: 480px) {
  .main-image-container {
    height: 250px;
  }
  .thumbnail {
    height: 60px;
  }
}

/* Make filter sticky */
.filter-section {
  position: sticky;
  top: 0px; /* adjust depending on your header height */
  height: 100svh;
  overflow-y: auto;
  padding-right: 10px;
  border-right: 1px solid #eee;
  background: #fff;
  padding: 15px 0;
}
/* Product list scrolls */
/* .product-list {
  height: calc(100vh - 100px);
  overflow-y: auto;
  padding-left: 20px;
} */
/* Hide scrollbar (optional) */
.filter-section::-webkit-scrollbar,
.product-list::-webkit-scrollbar {
  width: 6px;
}
.filter-section::-webkit-scrollbar-thumb,
.product-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.product-card {
  transition: all 0.3s ease;
  padding: 10px 20px;
  height: 100%;
  border: 1px solid #eee;
  border-radius: 4px;
}
.color_1 {
  background-color: #eeeadf;
}
.color_2 {
  background-color: #efdcde;
}
.color_3 {
  background-color: #e7ebee;
}
.color_4 {
  background-color: #f6f6f8;
}
.color_4 {
  background-color: #f6f6f8;
}
.color_5 {
  background-color: #e7ebee;
}
.color_6 {
  background-color: #e9e6ef;
}

.product-card:hover {
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.063);
}

.product-card img {
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.card_img {
  height: 190px;
  width: 100%;
}
.card_img img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.product-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--primary-green);
  font-size: 1.2rem;
}

.stat-number {
  color: var(--primary-green);
  font-weight: 700;
}

.cta-section {
  background-color: var(--light-green-bg);
}

.application-tag {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.product-gallery {
  position: relative;
}
.main-image-container {
  position: relative;
}
.main-image {
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
}
.nav-btn,
.zoom-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: none;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}
.nav-btn-left {
  left: 10px;
}
.nav-btn-right {
  right: 10px;
}
.zoom-btn {
  top: 10px;
  right: 10px;
  transform: none;
}
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.thumbnail img {
  width: 80px;
  cursor: pointer;
  border-radius: 5px;
}

/* ================= POPUP GALLERY ================= */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.popup.active {
  display: flex;
}

.popup-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.6);
}

.popup-content {
  position: relative;
  z-index: 1;
  width: 90vw; /* responsive width */
  height: 90vh; /* responsive height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.popup-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.popup-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  position: absolute;
  top: 0;
  right: 0;
}

.popup-controls button {
  border-radius: 50% !important;
  border: none;
  border-radius: 5px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-controls button:hover {
  background: var(--color-social-hover);
}
.popup-controls button i {
  margin-right: 0px;
}

/* Magnifier */
.magnifier {
  position: absolute;
  width: 280px;
  height: 280px;
  background-repeat: no-repeat;
  display: none;
  pointer-events: none;
  cursor: none;
  z-index: 10;
}
.main-image-container,
.popup-image-container {
  position: relative !important;
}
/* ================= RESPONSIVE POPUP ================= */
@media (max-width: 1024px) {
  .popup-content {
    width: 95vw;
    height: 85vh;
  }
}
@media (max-width: 768px) {
  .popup-content {
    width: 95vw;
    height: 80vh;
  }
  .magnifier {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 480px) {
  .popup-content {
    width: 100vw;
    height: 75vh;
  }
  .close-btn {
    font-size: 22px;
    top: 10px;
    right: 15px;
  }
}

.manufacturing__card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border-radius: 10px;
}

.manufacturing__card:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Image overlay effect */
.manufacturing__card .img-overlay {
  position: relative;
  overflow: hidden;
}

.manufacturing__card .img-overlay img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.manufacturing__card:hover .img-overlay img {
  transform: scale(1.08);
}

/* Body */
.manufacturing__card .card-body {
  padding: 20px;
}

.manufacturing__card .card-title {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.75rem;
}

.manufacturing__card .card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.manufacturing__card:hover::after {
  width: 100%;
}

.about_banner {
  background-image: linear-gradient(
      rgba(241, 234, 234, 0.894),
      rgba(243, 243, 243, 0.95)
    ),
    url(../images/febric-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 8rem 0;
  position: relative;
}
.about_banner::after {
  content: "";
  position: absolute;
  left: 50px;
  bottom: 0;
  width: 160px;
  height: 150px;
  background: rgba(195, 0, 46, 0.622);
  z-index: 0;
  border-radius: 100% 100% 0% 0%;
}

.breadcrumb_menu {
  font-size: 14px;
  margin: 20px auto 10px;
  width: fit-content;
  position: absolute;
  left: 70px;
  bottom: 20px;
}

.breadcrumb_menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.breadcrumb_menu a:hover {
  text-decoration: underline;
}

.breadcrumb_menu span {
  color: #050505;
  position: relative;
  z-index: 1;
}
.about_banner h2 {
  font-size: 25px;
  margin-bottom: 10px;
  color: #ffffff !important;
  position: relative;
  z-index: 1;
}

.about_banner p {
  font-size: 18px;
}

/* Responsive design */

@media (max-width: 768px) {
  .section-heading {
    padding: 60px 0;
    margin-top: 15px;
  }

  .section-heading h2 {
    font-size: 2.5rem;
  }

  .section-heading h2 i {
    margin-right: 15px;
  }
}

@media (max-width: 480px) {
  .section-heading h2 {
    font-size: 2rem;
  }

  .section-heading h2 i {
    margin-right: 10px;
  }
}

/* Animation */
.section-heading {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Header */
.vision___bg {
  background-image: url(../images/6.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3rem 0 4rem 0;
}
.vision__header {
  text-align: center;
}

.vision__title {
  margin: 16px 0 10px;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.vision__subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: var(--heading-color);
  font-size: 16px;
}

.vision-title {
  color: var(--heading-color);
}
/* Grid */
.vision__grid {
  margin-top: clamp(30px, 4vw, 42px);
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: 24px;
  margin-top: 6rem;
}

/* Card with translucent effect on light bg */
.vcard {
  grid-column: span 6;
  background: rgba(255, 255, 255, 0.8); /* slightly transparent white */
  border-radius: 16px;
  backdrop-filter: blur(6px);
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 18px;
  align-items: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(2, 6, 23, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.trans {
  transform: translateY(-30px);
}
.trans:hover {
  transform: translateY(-34px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.vcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.vcard__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e0f2fe; /* soft light blue */
  color: var(--color-primary);
  flex: 0 0 auto;
  font-size: 20px;
}

.vcard__title {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  color: var(--heading-color);
}

.vcard__text {
  grid-column: 1 / -1;
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .vision__grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .vcard {
    grid-column: span 12; /* 1 card per row */
  }
  .trans:hover {
    transform: translateY(-4px) !important;
  }
  .trans {
    transform: translateY(0px);
  }
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(221, 29, 29, 0.873);
  padding: 20px 0;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 1rem; /* spacing between items */
  width: max-content;
  animation: scroll-left 65s linear infinite;
  will-change: transform;
}

.ticker__item {
  white-space: nowrap;
  font-size: 1rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 12px;
  border-radius: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #7dd3fc;
  border-radius: 50%;
  flex: 0 0 8px;
}

/* Pause on hover */
.ticker-wrap:hover .ticker {
  animation-play-state: paused;
}

/* Infinite loop animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.banner___ {
  height: 300px;
}
.banner___ img {
  height: 100%;
  width: 100%;
}

.form-check-input:focus {
  border-color: #e01d47 !important;
  outline: 0;
  box-shadow: none !important;
}
/* Change checked checkbox background & border */
.form-check-input:checked {
  background-color: #e01d47 !important;
  border-color: #e01d47 !important;
}

/* Keep tick mark white */
.form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='white' d='M6.173 9.627l-2.12-2.12-1.414 1.415 3.535 3.536 7.778-7.778-1.414-1.415z'/%3e%3c/svg%3e");
}

.loader {
  color: #e01d47;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  background-color: #2a3027;
}

.loader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/Gratex-Synthetics-loder-img.jpeg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /* background-size: 40px 30px; */
  opacity: 0.3;
  pointer-events: none;
  z-index: 99;
}

#loading-text {
  font-weight: 500; /* Normal weight */
  font-size: 70px;
  color: #ffffff; /* Keep your color */
  opacity: 1;
  /* animation: floatPulse 3s infinite ease-in-out; */
  position: relative;
  z-index: 9999;
  text-align: center;
}

/* @keyframes floatPulse {
  0% {
    transform: translateY(0px) scale(1);
    opacity: 0.8;
  }
  25% {
    transform: translateY(-10px) scale(1.05);
    opacity: 1;
  }
  50% {
    transform: translateY(5px) scale(0.98);
    opacity: 0.9;
  }
  75% {
    transform: translateY(-5px) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.8;
  }
} */

.contact-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.contact-card h2 {
  font-weight: 700;
  font-size: 2.8rem;
  background: linear-gradient(135deg, #384252 0%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.c-title {
  text-transform: uppercase;
  color: #e11d48;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

/* .c-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 155px;
  height: 2px;
  background: #bfbfc5;
  border-radius: 3px;
} */

.contact-info p {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  padding: 10px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
}

.contact-info i {
  color: #e01d47;
  font-size: 20px;
  min-width: 30px;
  text-align: center;
}

.form-control {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 12px;
  padding: 12px 20px !important;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 5px 15px rgba(224, 29, 71, 0.1) !important;
  border-color: #e01d47 !important;
}

.form-control::placeholder {
  color: #888;
}

.submit {
  background-color: var(--color-primary) !important;
  border: none;
  border-radius: 12px;
  padding: 25px !important;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #fff !important;
  border: none !important;
}

.submit:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.457),
    transparent
  );
  transition: 0.5s;
}

.submit:hover:before {
  left: 100%;
}

.map-container {
  margin-top: 30px;
  border-radius: 15px;
  overflow: hidden;
  height: 350px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
}

.map-container:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(224, 29, 71, 0.1) 0%,
    rgba(58, 12, 163, 0.1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.map-container iframe {
  filter: grayscale(30%) contrast(110%);
  transition: filter 0.5s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%) contrast(100%);
}

.floating-icon {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #e01d47;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(224, 29, 71, 0.3);
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.floating-icon.map-marker {
  top: 40%;
  right: 10%;
  background: #3a0ca3;
}

.floating-icon.phone {
  bottom: 30%;
  left: 10%;
  animation-delay: 0.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 768px) {
  .contact-card h2 {
    font-size: 2.2rem;
  }

  .floating-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

/* wrapper fixed to bottom-right */
.social-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 9999;
}

/* main toggle button */
.main-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e01d47;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.4s ease, background 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.main-btn.open {
  background: #333;
}

/* social icons container */
.social-icons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.social-wrapper.open .social-icons {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* social links */
.social-icons a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.027);
}

/* brand colors */
.whatsapp {
  background: #25d366 !important;
}
.facebook {
  background: #1877f2 !important;
}
.instagram {
  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b 40%,
    #4f5bd5 75%
  ) !important;
}

/* Layered vibrant gradient background */
.modern-hero {
  /* background:
        radial-gradient(80% 120% at 85% 0%, rgba(59,108,255,0.12) 0%, rgba(59,108,255,0) 60%),
        radial-gradient(100% 120% at -10% 20%, rgba(0,216,255,0.18) 0%, rgba(0,216,255,0) 55%),
        linear-gradient(180deg, #f6f7fb 0%, #ffffff 100%); */
  background: radial-gradient(
      80% 120% at 85% 0%,
      rgba(59, 108, 255, 0.12) 0%,
      rgba(225, 29, 72, 0) 60%
    ),
    radial-gradient(
      100% 120% at -10% 20%,
      rgba(225, 29, 72, 0.1) 0%,
      rgba(225, 29, 72, 0) 55%
    ),
    linear-gradient(180deg, #f6f7fb 0%, #ffffff 100%);
}

.eyebrow {
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e11d48;
  font-weight: 700;
}

.display-head {
  font-size: 36px;
  font-weight: 700;
  line-height: 45px;
}

.GLOBAL {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 3px;
}

.GLOBAL::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom: 2px solid #e01d47;
}

/* Certificate cards */
.cert-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
  transition: transform 0.18s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
}
.cert-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@media (min-width: 992px) {
  .right-col {
    padding-left: 2rem;
  }
}

.popup_image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.compant_title {
  /* requested class name */
  font: 800 28px/1.2 ui-sans-serif;
  margin: 0 0 6px;
}
.lead {
  color: #475569;
  margin: 0 0 22px;
}

/* Timeline rail */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(15, 23, 42, 0.12);
  transform: translateX(-1px);
}

/* Items */
.item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 34px 0;
}
.date {
  align-self: center;
  color: #475569;
  font-weight: 600;
  font-size: 14px;
}
.card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.title {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--color-primary);
}
.desc {
  margin: 0;
  color: #475569;
}
.dot_comp {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e01d47;
  transform: translate(-50%, -50%); /* brand accent */
}

/* Alternating layout (desktop) */
.item:nth-child(odd) .date {
  grid-column: 1;
  justify-self: end;
}
.item:nth-child(odd) .card {
  grid-column: 1;
}
.item:nth-child(even) .date {
  grid-column: 2;
  justify-self: start;
}
.item:nth-child(even) .card {
  grid-column: 2;
}
.card-img {
  height: 110px;
  max-width: 110px;
  border-radius: 8px;
  display: block;
}
.card-img img {
  height: 100%;
  width: 100%;
}

/* Card pointers */
.card::after {
  content: "";
  position: absolute;
  top: 22px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  transform: rotate(45deg);
}
.item:nth-child(odd) .card::after {
  right: -7px;
  border-left: none;
  border-top: none;
}
.item:nth-child(even) .card::after {
  left: -7px;
  border-right: none;
  border-bottom: none;
}

/* Hover affordance (CSS-only) */
@media (hover: hover) {
  .card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
  }
  .card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
  }
}

/* Mobile: single column left rail */
@media (max-width: 800px) {
  .timeline::before {
    left: 16px;
  }
  .item {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }
  .date {
    grid-column: 2;
    justify-self: start;
    font-size: 13px;
  }
  .card {
    grid-column: 2;
  }
  .card::after {
    display: none;
  }
  .dot {
    left: 16px;
  }
  .surface {
    padding: 16px 12px;
  }
}

.gm-style {
  font-family: "Rubik", Arial, Helvetica, sans-serif !important;
}

.quote-box {
  position: relative;
  background: #f5f7fa94;
  border-radius: 0.5rem;
  padding: 12px 20px;
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 1rem;
  font-size: 1.7rem;
  color: var(--color-primary);
}

.quote-text {
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: 0.2px;
  color: var(--text-color) !important;
}

.quote-notch {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 18px solid #f5f7fa;
  margin-left: 1.25rem;
  filter: drop-shadow(0 -1px 0 #e9edf5);
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 0.25rem;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.name {
  margin: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.125rem;
  font-family: "Cedarville Cursive", cursive;
  font-style: normal;
}

.role {
  margin: 0.15rem 0 0;
  color: #6b7280;
  font-size: 0.9375rem;
}

@media (max-width: 420px) {
  .quote-box {
    padding-left: 2.5rem;
  }
  .quote-icon {
    left: 0.75rem;
    font-size: 2rem;
  }
}

.title-inline {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #e11d48;
}

/* Line */
.title-inline .line {
  width: 45px;
  height: 3px;
  background: #e11d48;
  border-radius: 5px;
  margin-left: 10px;
}

/* Perfect Round Circle */
.title-inline .round-circle {
  width: 14px;
  height: 14px;
  border: 3px solid #e11d48;
  border-radius: 50%;
  display: inline-block;
}

.product_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

/* Card */
.product_card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  text-align: left;
}

.product_card:hover {
  transform: translateY(-5px);
}

/* Image */
.product_card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* Text under image */
.product_card h3 {
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
  margin: 0;
  text-transform: uppercase;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .product_card img {
    height: 180px;
  }

  .title_text {
    font-size: 24px;
  }

  .product_card h3 {
    font-size: 14px;
  }
}

.submenu .all_product_btn {
  display: inline-block;
  background: #c51134; /* red tone like your banner text */
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}
.submenu .all_product_btn a {
  padding: 12px 28px !important;
  font-size: 14px !important;
}
.submenu .all_product_btn a:hover {
  background: #e01d47;
  color: #fff;
  border-radius: 6px;
}
