/* ============================================================
   OROCHEM – Style.css
   Primary  : #E8A020  (Golden Yellow)
   Secondary: #2A5C1A  (Forest Green)
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary:        #E8A020;
  --primary-dark:   #C88010;
  --secondary:      #2A5C1A;
  --secondary-dark: #1E4412;
  --text-dark:      #1a1a1a;
  --text-mid:       #444444;
  --text-light:     #777777;
  --bg-off:         #FAFAF7;
  --bg-green:       #F2F7EE;
  --white:          #ffffff;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', serif; line-height: 1.2; }
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 20px; }
p  { font-size: 16px; line-height: 1.8; }
a  { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }


#hero, #about, #industries, #gallery, #contact,#backToTop {
  overflow: hidden !important;
}

/* ===== SECTION LABEL & TITLE ===== */
.sec-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary-dark); margin: 0px 0 10px 0; }
.sec-tag .line { display: inline-block; width: 16px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-title { font-size: 2.25rem; color: var(--text-dark); margin-bottom: 14px; font-weight: 600; }
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.8;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--secondary);
  padding: 8px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}
.top-bar a { color: rgba(255,255,255,0.9); transition: color .2s; }
.top-bar a:hover { color: var(--primary); }

/* ===== NAVBAR ===== */
.main-navbar {
  background: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: box-shadow .3s;
}
.main-navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.13); }
.navbar-brand img { height: 52px; width: auto; }
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 18PX;
  color: var(--text-dark) !important;
  padding: 6px 14px !important;
  transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 6px;
  padding: 8px 20px !important;
  margin-left: 8px;
  font-weight: 600;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--secondary) !important;}
.nav-link.nav-cta:hover {color: var(--white) !important;}


/*Video Section */
#video-banner{ position: relative;  width: 100%;  height: 84vh;  overflow: hidden; }
.banner-video{  position: absolute;   top: 50%;   left: 50%;    width: 100%;    height: 100%;    object-fit: cover; transform: translate(-50%, -50%); }
.video-overlay{    position: absolute;    inset: 0;    background: rgba(0,0,0,0.1); z-index: 1; }

/* ===== HERO SLIDER ===== */
#hero {
  position: relative;
  overflow: hidden;
  height: 84vh;
  min-height: 520px;
  
}
.slider-wrapper { position: relative; width: 100%; height: 100%; }
.slides-track { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.slide.active { opacity: 1; }
.slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.slide.active .slide-img { transform: scale(1); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,68,18,0.88) 0%, rgba(26,68,18,0.55) 55%, rgba(0,0,0,0.18) 100%);
}
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.slide-content .container { position: relative; z-index: 2; }
.slide-label {
  display: inline-block;
  background: rgba(232,160,32,0.2);
  border: 1px solid rgba(232,160,32,0.45);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s .2s ease, transform .6s .2s ease;
}
.slide-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .35s ease, transform .6s .35s ease;
}
.slide-title span { color: var(--primary); }
.slide-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .5s ease, transform .6s .5s ease;
}
.slide-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .65s ease, transform .6s .65s ease;
}
.slide.active .slide-label,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-btns { opacity: 1; transform: translateY(0); }

/* Slider buttons */
.btn-slide-primary {
  background: var(--primary);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 22px rgba(232,160,32,0.4);
  transition: background .2s, transform .15s;
}
.btn-slide-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }
.btn-slide-outline {
  border: 2px solid rgba(255,255,255,0.45);
  color: var(--white);
  padding: 11px 28px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, background .2s;
}
.btn-slide-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s, transform .2s;
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 28px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s, width .3s;
}
.dot.active { background: var(--primary); width: 44px; }

/* ===== ABOUT SECTION ===== */
#about { background: var(--white); padding: 70px 0 0px 0;}
.about-img-wrap { position: relative; }
.about-img {  border-radius: 20px;  width: 100%;  height: 465px;  object-fit: cover;  box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.about-badge {  position: absolute;  bottom: 28px;  right: -16px;  background: var(--primary); color: var(--white);  border-radius: 16px;  padding: 18px 22px;  text-align: center;  box-shadow: 0 10px 30px rgba(232,160,32,0.4); }
.about-badge .badge-num {  font-family: 'Poppins', serif;  font-size: 2.2rem;  font-weight: 700;  line-height: 1; }
.about-badge .badge-text { font-size: 0.75rem; margin-top: 4px; line-height: 1.4; }
.about-text p { color: var(--text-mid); }
#boxes{ padding: 70px 0 70px 0;}
.about-features {   display: grid;   grid-template-columns: repeat(4, 1fr);  gap: 14px;   margin-top: 28px; }
.feat-item {  display: flex; align-items: flex-start; gap: 12px; background: var(--bg-off); border-radius: 12px; padding: 16px; }
.feat-icon {  width: 42px; height: 42px;  border-radius: 10px;  background: var(--primary);  display: flex; align-items: center; justify-content: center;  flex-shrink: 0;  font-size: 26px; color: var(--white); }
.feat-text h6 {  font-family: 'DM Sans', sans-serif; font-weight: 600;  font-size: 18px;  margin-bottom: 2px; }
.feat-text p { font-size: 16px; color: var(--text-light); line-height: 1.5; margin: 0; }
.btn-green {  display: inline-flex;  align-items: center;  gap: 8px;  background: var(--secondary);  color: var(--white);  padding: 13px 28px;  border-radius: 8px;  font-weight: 600;  font-size: 0.95rem;  margin-top: 28px;  transition: background .2s, transform .15s; }
.btn-green:hover { background: var(--secondary-dark); color: var(--white); transform: translateY(-2px); }


/* ============================================================
 New   PRODUCTS SECTION – Industry Layout
   ============================================================ */

#products { background: #f2f7ee; padding: 70px 0 60px; }
.prod-heading { margin-bottom: 60px; }
.prod-tabs{ display:flex;  flex-wrap:nowrap;  gap:8px;  overflow-x:auto;  scroll-behavior:smooth;  -webkit-overflow-scrolling:touch;  scrollbar-width:none;  flex:1;  padding:4px 2px;  justify-content:center; }
.prod-tabs-wrap{  overflow:hidden; }
.prod-tabs{  min-width:100%; }
/* .prod-tabs {  display: flex;  flex-wrap: nowrap;  justify-content: center;  gap: 8px;  overflow-x: auto;  -webkit-overflow-scrolling: touch;  scrollbar-width: none; padding: 0 16px;} */
.prod-tabs::-webkit-scrollbar { display: none; }
.prod-tab {  display: inline-flex;  align-items: center;  gap: 7px;  padding: 9px 20px;  border-radius: 50px;  border: 2px solid rgba(42,92,26,0.18);  background: var(--white);  color: var(--text-mid);  font-family: 'DM Sans', sans-serif;  font-size: 0.875rem;  font-weight: 500;  cursor: pointer;  white-space: nowrap;  text-decoration: none;  flex-shrink: 0;  transition: all .22s ease;}
.prod-tab i { font-size: 0.9rem; }
.prod-tab:hover {  border-color: var(--primary);  color: var(--primary-dark);  background: #fff8ee;  transform: translateY(-1px); }
.prod-tab.active {  background: var(--secondary);  border-color: var(--secondary);  color: var(--white);  box-shadow: 0 4px 16px rgba(42,92,26,0.22); }
.prod-tab.active i { color: var(--primary); }.prod-industries { padding-top: 10px; }
.prod-industry-row {  display: grid;  grid-template-columns: 1fr 1fr;  align-items: stretch;  border-top: 1.5px solid #e2e2e2;  padding: 52px 0;  gap: 0;  scroll-margin-top: 120px; background: #fff; padding: 20px 30px; margin: 30px 0px; border-radius: 20px;}
.prod-industry-row:last-child {  border-bottom: 1.5px solid #e2e2e2; }
.prod-industry-num {  font-family: 'Poppins', serif;  font-size: 5rem;  font-weight: 700;  line-height: 1;  color: rgba(42, 92, 26, 0.15);  letter-spacing: -4px;  position: absolute;    left: -8px;  pointer-events: none;  user-select: none; }
.prod-right {  padding-left: 40px;  border-left: 1.5px solid #e2e2e2;  display: flex;  flex-direction: column;  justify-content: flex-start;}
.prod-item-list { list-style: none; padding: 0; margin: 0; }
.prod-item {  border-bottom: 1.5px solid #e0e0e0;  transition: border-color .2s;}
.prod-item:last-child { border-bottom: none; }
.prod-item-link {  display: flex;  align-items: center;  justify-content: space-between;  padding: 16px 4px 16px 0;  color: var(--text-dark);  font-family: 'DM Sans', sans-serif;  font-size: 1rem;  font-weight: 500;  text-decoration: none;  gap: 12px;  transition: color .22s, padding-left .22s;  position: relative;}
.prod-item-link::before {  content: '';  position: absolute;  bottom: 0;  left: 0;  width: 0;  height: 2px;  background: var(--primary);  transition: width .3s ease; }
.prod-item:hover .prod-item-link::before { width: 100%; }
.prod-item:hover .prod-item-link {  color: var(--secondary);  padding-left: 8px;}
.prod-item-name { flex: 1; }
.prod-item-arrow {  width: 32px;  height: 32px;  border-radius: 50%;  border: 1.5px solid rgba(42,92,26,0.2);  display: flex;  align-items: center;  justify-content: center;  font-size: 0.75rem;  color: var(--text-light);  flex-shrink: 0;  transition: background .22s, border-color .22s, color .22s, transform .22s; }
.prod-item:hover .prod-item-arrow {  background: var(--primary);  border-color: var(--primary);  color: var(--white);  transform: rotate(-45deg); }
.prod-item-tag {  font-size: 0.68rem;  font-weight: 600;  letter-spacing: .8px;  text-transform: uppercase;  background: var(--bg-green);  color: var(--secondary);  border: 1px solid rgba(42,92,26,0.15);  padding: 3px 9px;  border-radius: 20px;  flex-shrink: 0; }
.prod-tabs-wrap {  position: sticky;  top: 86px;  z-index: 100;  background: var(--white);  padding: 14px 0;  border-bottom: 1px solid rgba(0,0,0,0.07);}

.prod-tabs-outer {  display: flex;  align-items: center;  gap: 6px;  position: relative; }

.prod-tabs-arrow { flex-shrink: 0; width: 34px;  height: 34px;  border-radius: 50%;  border: 1.5px solid rgba(42,92,26,0.22);  background: var(--white);  color: var(--secondary);  font-size: 0.85rem;  display: flex;  align-items: center;  justify-content: center;  cursor: pointer;  transition: background .2s, border-color .2s, color .2s, opacity .2s;  z-index: 2;}
.prod-tabs-arrow:hover { background: var(--secondary); border-color: var(--secondary);  color: var(--white); }
.prod-tabs-arrow:disabled,
.prod-tabs-arrow.hidden {  opacity: 0;  pointer-events: none; }
.prod-tabs {  display: flex;  flex-wrap: nowrap;  gap: 8px;  overflow-x: auto;  scroll-behavior: smooth;  -webkit-overflow-scrolling: touch;  scrollbar-width: none;  flex: 1; padding: 4px 2px; }
.prod-tabs::-webkit-scrollbar { display: none; } 
.prod-tabs-outer::before { left: 40px;  background: linear-gradient(to right, var(--white), transparent);}
.prod-tabs-outer::after {  right: 40px;  background: linear-gradient(to left, var(--white), transparent);}
.prod-left{ display:flex;  align-items:center;  justify-content:space-between;  gap:20px;  padding-right:20px;  position:relative;  min-width:0; }
.prod-left-content{ flex:1;  min-width:180px;  position:relative;  z-index:2; }
.prod-industry-title{  font-family:'Poppins', serif;  font-size:2.2rem;  font-weight:600;  line-height:1.15;  color:var(--text-dark);  max-width:260px;  white-space:normal;  word-break:normal; }

.prod-left { display: flex;  flex-direction: column;  align-items: center; }
.prod-header {  display: flex;  flex-direction: row;  align-items: center;  gap: 10px;  width: 100%;  padding: 10px; }
.prod-industry-num {  display: flex;  align-items: center;  justify-content: center;  font-size: 40px;  flex-shrink: 0; }
.prod-industry-num i {  display: inline-block;  line-height: 1;}
.prod-industry-title {  margin: 0;  font-size: 36px;  white-space: nowrap;     line-height: 1.2;  margin-left: 40px; }
.prod-industry-img {  display: block;  margin: 15px auto 0;  max-width: 100%; border-radius: 10px;}

.prod-industry-img{  width:380px;  height:280px;  object-fit:contain;  flex-shrink:0;  margin-top:0;  display:block; }
.prod-tab {  display: inline-flex;  align-items: center;  gap: 7px;  padding: 9px 20px;  border-radius: 50px;  border: 2px solid rgba(42,92,26,0.18);  background: var(--white);  color: var(--text-mid);  font-family: 'DM Sans', sans-serif;  font-size: 0.875rem;  font-weight: 500;  cursor: pointer;  white-space: nowrap;  text-decoration: none;  flex-shrink: 0;  transition: all .22s ease; }
.prod-tab i { font-size: 0.9rem; }
.prod-tab:hover {  border-color: var(--primary);  color: var(--primary-dark);  background: #fff8ee;}
.prod-tab.active {  background: var(--secondary);  border-color: var(--secondary);  color: var(--white);  box-shadow: 0 4px 16px rgba(42,92,26,0.22); }
.prod-tab.active i { color: var(--primary); }


/* ──────────────────────────────
RESPONSIVE
────────────────────────────── */

/* ── Mobile: hide arrows, rely on swipe ── */
@media (max-width: 767px) {
    #about {padding:50px 0 0 0;}
    #gallery { padding: 50px 0 !important;}
    /*.gallery-item {  width:180px !important; }*/
     
  .prod-tabs-arrow { display: none; }
  .prod-tabs-outer::before,
  .prod-tabs-outer::after { display: none; }
  .prod-tabs-wrap { top: 56px; padding: 10px 0; }
  .prod-tab { font-size: 0.8rem; padding: 8px 14px; }
  
  
}
/* Tablet — stack back to column */
@media (max-width: 991px) {
  .prod-left {  grid-template-columns: 1fr;    padding-right: 0;    gap: 16px;  }
  .prod-industry-title { margin-top: 0; font-size: 1.8rem; white-space: inherit; }
  .prod-industry-img   { width: 100%; height: auto; margin-top: 0; }
  .cert-card{     min-width:260px;   }
  /*.gallery-item {  width:280px !important; }*/
  .about-text { padding-top: 20px !important; }
}
/* Tablet */
@media (max-width: 991px) {
   #about {padding:50px 0 0 0;}
  #products { padding: 40px 0 30px; }
  #boxes { padding: 20px 0 50px 0; }
  #gallery { padding: 50px 0 !important;} 
  .footer-top { padding: 50px 0 50px !important; }
  .prod-tabs-wrap { top: 88px; }
  .prod-industry-row { grid-template-columns: 1fr;    gap: 32px;    padding: 20px 30px;  margin: 30px 0px;  }
  .prod-left {    padding-right: 0;    flex-direction: row;    align-items: center;    gap: 24px;    flex-wrap: wrap;  }
  .prod-industry-num {    position: static;   font-size: 40px;  color: rgba(42,92,26,0.1);  letter-spacing: -2px; margin-right: 4px; }
  .prod-industry-title {    font-size: 1.8rem;    margin-top: 0;    margin-bottom: 0; margin-left: 5px;   flex: 1;    min-width: 140px;  }
  .prod-industry-img {    width: 460px;    max-width: 460px;    height: auto;  margin: 0; }
  .prod-right {    padding-left: 0;   border-left: none;    border-top: 1.5px solid #e2e2e2;   padding-top: 28px;  }
  #video-banner { height: 50vh;}
}

/* Mobile */
@media (max-width: 767px) {
  #products { padding: 40px 0 30px; }
  #boxes { padding: 20px 0 50px 0; }
  #gallery { padding: 50px 0 !important;} 
  .footer-top { padding: 50px 0 20px !important; }
  .prod-tabs-wrap { top: 88px; padding: 10px 0; }
  .prod-tab { font-size: 0.8rem; padding: 8px 14px; }
  .prod-industry-row { padding: 36px 0; scroll-margin-top: 90px; }
.prod-industry-row { padding: 20px 30px;  margin: 30px 0px;  }
  .prod-industry-title { font-size: 1.5rem; }
  .prod-industry-img { height: auto; border-radius: 10px; width: 100%}
  .prod-item-link { font-size: 0.93rem; padding: 14px 4px 14px 0; }
  .prod-item-tag { display: none; }
  #video-banner { height: 30vh;}
  

}


/* Small phones */
@media (max-width: 480px) {
  .prod-industry-title { font-size: 28px; margin-left: 5px; }
  .prod-item-link { font-size: 0.88rem; }
}

/* ====== Product Section End */

/* ===== INDUSTRIES SECTION ===== */
#industries { background: var(--white); padding: 90px 0;}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.industry-card {
  background: var(--bg-off);
  border-radius: 16px;
  padding: 28px 12px 20px;
  text-align: center;
  border: 1px solid transparent;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.industry-card:hover {
  border-color: var(--primary);
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(232,160,32,0.12);
}
.industry-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(232,160,32,0.28);
}
.industry-card span { font-size: 18px; font-weight: 800; color: var(--text-dark); }

/* ===== gallery SECTION ===== */
/*#gallery { background: var(--secondary); position: relative; overflow: hidden;  padding: 70px 0px 70px 0; }*/
/*#gallery::before {  content: '';  position: absolute;  inset: 0;  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat; }*/
/*#gallery .container { position: relative; z-index: 2; }*/
/*.cert-grid { display: grid;  grid-template-columns: repeat(3, 1fr);  gap: 24px;  }*/
/*.cert-card {  background: rgba(255,255,255,0.1);  backdrop-filter: blur(8px);  border: 1px solid rgba(255,255,255,0.15);  border-radius: 18px;  padding: 20px;  text-align: center;  transition: background .25s, transform .25s; }*/
/*.cert-card:hover { background: rgba(255,255,255,0.17); transform: translateY(-5px); }*/
/*.cert-icon {  width: 68px; height: 68px;  border-radius: 50%;  background: var(--primary);  display: flex; align-items: center; justify-content: center;  margin: 0 auto 18px;  font-size: 1.9rem;  color: var(--white);  box-shadow: 0 8px 24px rgba(232,160,32,0.4); }*/
/*.cert-title {  font-family: 'Poppins', serif;  font-size: 1.1rem;  color: var(--white);  margin-bottom: 8px; }*/
/*.cert-card-title {  margin-top: 15px;  margin-bottom: 0px; color: var(--white);}*/
/*.cert-body { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.6; }*/
/*#gallery{*/
/*    background: var(--secondary);*/
/*    padding: 90px 0 80px;*/
/*}*/

/*.gallery-grid{*/
/*    display:grid;*/
/*    grid-template-columns:repeat(6,1fr);*/
/*    gap:24px;*/
/*    margin-top:40px;*/
/*}*/

/*.gallery-item{*/
/*    overflow:hidden;*/
/*    border-radius:16px;*/
/*}*/

/*.gallery-item img{*/
/*    width:100%;*/
/*    display:block;*/
/*    border-radius:16px;*/
/*    transition:0.3s ease;*/
/*}*/

/*.gallery-item:hover img{*/
/*    transform:scale(1.05);*/
/*}*/

/* Tablet */
/*@media (max-width:991px){*/
/*    .gallery-grid{*/
/*        grid-template-columns:repeat(2,1fr);*/
/*    }*/
/*}*/

/* Mobile */
/*@media (max-width:767px){*/
/*    .gallery-grid{*/
/*        grid-template-columns:1fr;*/
/*        gap:15px;*/
/*    }*/
/*}*/

/* ===== GALLERY SECTION ===== */

#gallery { background: var(--secondary); position: relative; overflow: hidden;  padding: 70px 0 70px; }
#gallery::before { content: '';  position: absolute; inset: 0;  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat; pointer-events: none;   z-index: 0; }
#gallery .container {  position: relative;   z-index: 2; }
.gallery-track-wrapper {position: relative;   width: 100%;  overflow: hidden;  z-index: 2; }
.gallery-track-wrapper::before,
.gallery-track-wrapper::after {  content: '';  position: absolute;  top: 0;  bottom: 0;  width: 80px;  z-index: 3;  pointer-events: none; }
.gallery-track-wrapper::before { left: 0;   background: linear-gradient(to right, var(--secondary), transparent); }
.gallery-track-wrapper::after {  right: 0;  background: linear-gradient(to left, var(--secondary), transparent); }
.gallery-track { display: flex;  gap: 20px;   width: max-content; animation: galleryScroll 50s linear infinite;  will-change: transform; }
.gallery-track.paused {  animation-play-state: paused; }
.gallery-track-wrapper:hover .gallery-track:not(.paused) { animation-play-state: paused; }

@keyframes galleryScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-slide {position: relative;   flex: 0 0 calc((100vw - 100px) / 5);   width: calc((100vw - 100px) / 5);  height: auto;  border-radius: 16px;  overflow: hidden;  cursor: pointer; }
.gallery-slide img {width: 100%; height: 100%;   object-fit: cover;  display: block; border-radius: 16px;  transition: transform 0.4s ease; }
.gallery-slide:hover img {  transform: scale(1.07); }
.gallery-slide-caption { position: absolute;bottom: 0;   left: 0;   right: 0;  padding: 18px 16px 14px;  background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: #fff;   font-size: 0.92rem;   font-family: 'Poppins', sans-serif;  font-weight: 500; border-radius: 0 0 16px 16px;   opacity: 0; transition: opacity 0.3s ease; }
.gallery-slide:hover .gallery-slide-caption {   opacity: 1; }

.gallery-lightbox { display: none;  position: fixed; inset: 0;   z-index: 9999; background: rgba(0, 0, 0, 0.92); align-items: center;   justify-content: center; }
.gallery-lightbox.active {  display: flex; }
.lightbox-inner { position: relative;  max-width: 90vw;  max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-inner img { max-width: 90vw; max-height: 80vh; width: auto;  height: auto; object-fit: contain;  border-radius: 12px;  display: block; }
.lightbox-caption { margin-top: 14px; color: rgba(255,255,255,0.85); font-family: 'Poppins', sans-serif; font-size: 1rem;  text-align: center; letter-spacing: 0.02em; }
.lightbox-close { position: fixed; top: 20px; right: 28px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff;  font-size: 1.3rem; width: 42px;
    height: 42px;  border-radius: 50%; cursor: pointer;  display: flex;  align-items: center; justify-content: center; transition: background 0.2s; z-index: 10001; }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav { position: fixed; top: 50%;  transform: translateY(-50%); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 1.4rem; width: 46px;
    height: 46px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; z-index: 10001; }
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    #gallery { padding: 50px 0; }
    .gallery-slide { flex: 0 0 calc((100vw - 60px) / 3); width: calc((100vw - 60px) / 3);  height: 300px; }
}
@media (max-width: 767px) {
    #gallery { padding: 40px 0; }
    .gallery-slide { flex: 0 0 80vw; width: 80vw; height: 300px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}



/* ===== FOOTER ===== */
footer { background: #111; color: rgba(255,255,255,0.85); }
.footer-top { padding: 70px 0 50px; }
.footer-logo { height: 100px; width: auto; margin-bottom: 18px; border-radius: 18px;}
.footer-about {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 18PX;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 16px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-contact-item i { color: var(--primary); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-contact-item a:hover { color: var(--primary); }
.footer-divider { border-color: rgba(255,255,255,0.07); margin: 0; }
.footer-bottom {
  padding: 18px 0;
  font-size: 16PX;
  color: rgba(255,255,255,0.38);
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(232,160,32,0.42);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 999;
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-3px); }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  .container, .container-md, .container-sm { max-width: 790px;}
  .section-title { font-size: 1.9rem; }
  .about-badge { right: 8px; }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .slider-arrow.slider-prev, .slider-next { display: none !important; }
  .about-features { grid-template-columns: repeat(2, 1fr); }
    .prod-tabs{   justify-content:flex-start !important;}
  
}



@media (max-width: 767px) {
  body { font-size: 15px; }
  /* section { padding: 60px 0; } */
  #hero { height: 250px; min-height: 71vh; }
  .slide-content .container { padding-top: 60px; padding-bottom: 80px; }
  .products-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .about-img { height: 320px; }
  .about-badge { right: 10px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .slider-arrow { display: none; }
  .prod-tabs{   justify-content:flex-start !important;}
  .prod-heading { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  h1, .slide-title { font-size: 1.9rem; }
  h2, .section-title { font-size: 1.65rem; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .footer-bottom .d-flex { flex-direction: column; text-align: center; }
}