/* ================================================================
   CHEMICAL PHARMA - Main Stylesheet
   Primary: #005B96 | Secondary: #0088CC | Accent: #00B8D9
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:    #005B96;
  --secondary:  #0088CC;
  --accent:     #00B8D9;
  --dark:       #0A1628;
  --grey-light: #F5F7FA;
  --grey:       #E8ECF0;
  --text:       #333344;
  --text-muted: #6B7280;
  --white:      #FFFFFF;
  --gradient:   linear-gradient(135deg, #005B96 0%, #0088CC 60%, #00B8D9 100%);
  --shadow-sm:  0 2px 8px rgba(0,91,150,.10);
  --shadow-md:  0 8px 32px rgba(0,91,150,.15);
  --shadow-lg:  0 16px 56px rgba(0,91,150,.20);
  --radius:     12px;
  --radius-sm:  6px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
section { overflow: hidden; }

/* ---- Header / Navbar (two-row) ---- */
.main-header {
  background: transparent;
  box-shadow: none;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  transition: background .35s ease, box-shadow .35s ease;
}
.main-header.scrolled {
  position: fixed;
  background: #fff;
  box-shadow: 0 4px 30px rgba(0,91,150,.18);
}

.navbar-main-row { padding: 0; }

.navbar { padding: 0; }
.navbar-brand { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; font-family: 'Poppins', sans-serif;
  font-weight: 800; flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,91,150,.35);
}
.brand-text .brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem; font-weight: 800;
  color: var(--primary); line-height: 1.1;
  letter-spacing: -.3px;
}
.brand-text .brand-tagline {
  font-size: .67rem; color: var(--text-muted);
  font-family: 'Inter', sans-serif; letter-spacing: .3px;
  display: block;
}

/* Nav Items */
.navbar-nav .nav-item { position: relative; }
.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500; font-size: .88rem;
  color: #fff !important;
  padding: 10px 14px !important;
  letter-spacing: .2px;
  transition: var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 3px; background: var(--gradient); border-radius: 3px 3px 0 0;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { left: 0; right: 0; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: rgba(255,255,255,.7) !important; }

/* When scrolled — dark nav links */
.main-header.scrolled .navbar-nav .nav-link { color: var(--dark) !important; }
.main-header.scrolled .navbar-nav .nav-link:hover,
.main-header.scrolled .navbar-nav .nav-link.active { color: var(--primary) !important; }
.main-header.scrolled .brand-text .brand-name { color: var(--primary); }
.main-header.scrolled .brand-text .brand-tagline { color: var(--text-muted); } 
/* Transparent header brand text white */
.main-header:not(.scrolled) .brand-text .brand-name { color: #fff; }
.main-header:not(.scrolled) .brand-text .brand-tagline { color: rgba(255,255,255,.75); }
.main-header:not(.scrolled) .nav-search-btn { color: #fff; border-color: rgba(255,255,255,.3); }
.main-header:not(.scrolled) .navbar-toggler { border-color: rgba(255,255,255,.4); }
.main-header:not(.scrolled) .navbar-toggler-icon { filter: invert(1); }

/* Dropdown */
.navbar-nav .dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  margin-top: 0;
  min-width: 210px;
  animation: dropIn .25s ease;
  background: #fff;
  border-top: 3px solid var(--accent);
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  font-family: 'Inter', sans-serif;
  font-size: .875rem; padding: 9px 20px;
  color: var(--text); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.dropdown-item i { color: var(--accent); width: 16px; }
.dropdown-item:hover {
  background: var(--grey-light);
  color: var(--primary);
  padding-left: 26px;
}

/* Navbar Inquiry Btn */
.btn-inquiry {
  background: var(--gradient);
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 10px;
  font-size: .82rem !important;
  font-weight: 600 !important;
  letter-spacing: .3px;
  box-shadow: 0 4px 15px rgba(0,136,204,.35);
  transition: var(--transition);
}
.btn-inquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,136,204,.45);
  color: #fff !important;
}
.btn-inquiry::after { display: none !important; }

/* Search Icon */
.nav-search-btn {
  background: none; border: none;
  color: var(--primary); font-size: 1.1rem;
  padding: 8px; cursor: pointer; transition: var(--transition);
}
.nav-search-btn:hover { color: var(--accent); transform: scale(1.1); }

/* Search Overlay */
.search-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  z-index: 9999; display: none; align-items: center; justify-content: center;
}
.search-overlay.active { display: flex; }
.search-overlay-inner {
  background: #fff; border-radius: var(--radius); padding: 40px;
  max-width: 600px; width: 90%; position: relative;
}
.search-overlay-inner input {
  width: 100%; border: 2px solid var(--grey);
  border-radius: 50px; padding: 14px 24px;
  font-size: 1rem; outline: none; transition: var(--transition);
}
.search-overlay-inner input:focus { border-color: var(--accent); }
.search-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; font-size: 1.4rem;
  cursor: pointer; color: var(--text-muted);
}

/* ---- Buttons ---- */
.btn-primary-custom {
  background: var(--gradient);
  color: #fff; border: none;
  padding: 13px 32px; border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: .92rem;
  letter-spacing: .3px;
  box-shadow: 0 6px 20px rgba(0,136,204,.35);
  transition: var(--transition); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,136,204,.45);
  color: #fff;
}
.btn-outline-custom {
  background: transparent;
  color: var(--primary); border: 2px solid var(--primary);
  padding: 11px 30px; border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: .92rem;
  transition: var(--transition); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-custom:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-white-custom {
  background: #fff; color: var(--primary);
  border: 2px solid #fff; padding: 13px 32px;
  border-radius: 50px; font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: .92rem;
  transition: var(--transition); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white-custom:hover {
  background: transparent; color: #fff;
  transform: translateY(-3px);
}

/* ---- Section Titles ---- */
.section-badge {
  display: inline-block; background: rgba(0,184,217,.12);
  color: var(--accent); border-radius: 50px;
  padding: 5px 16px; font-size: .78rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  font-family: 'Poppins', sans-serif; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800; color: var(--dark); line-height: 1.2;
}
.section-title span { color: var(--secondary); }
.section-subtitle {
  font-size: .97rem; color: var(--text-muted); max-width: 580px;
  margin: 12px auto 0; line-height: 1.8;
}
.section-divider {
  width: 60px; height: 4px; border-radius: 3px;
  background: var(--gradient); margin: 16px 0 24px;
}
.section-divider.center { margin: 16px auto 24px; }

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  height: 100vh;          /* fallback */
  height: 100dvh;         /* dynamic viewport — accounts for browser chrome on Mac/mobile */
  min-height: 560px;      /* never collapse below this on tiny screens */
  max-height: 1080px;     /* never go absurdly tall on 4K */
  overflow: hidden;
}
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.2s ease;
  display: flex; align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-inner {
  position: relative; z-index: 2;
  padding-top: clamp(90px, 14vh, 150px);
  padding-bottom: clamp(70px, 10vh, 120px);
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(110deg, rgba(0,15,40,.78) 0%, rgba(0,60,110,.60) 55%, rgba(0,100,160,.22) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 680px; }

/* Eyebrow label */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,184,217,.18); border: 1px solid rgba(0,184,217,.45);
  backdrop-filter: blur(6px);
  color: #e0f7ff; padding: 6px 18px; border-radius: 50px;
  font-size: .78rem; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero-eyebrow i { color: var(--accent); font-size: .75rem; }

/* Main heading */
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4.5vw + 0.5vh, 4rem);
  font-weight: 900; color: #fff !important;
  line-height: 1.1; margin-bottom: 18px;
  letter-spacing: -1px;
  text-shadow: 0 2px 40px rgba(0,0,0,.55), 0 1px 8px rgba(0,0,0,.4);
}
.hero-title span {
  color: #5dd8f5;
  display: inline-block;
}
.hero-desc {
  font-size: clamp(.95rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.82); max-width: 540px;
  margin-bottom: 34px; line-height: 1.85;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

/* Slider Controls */
.slider-controls {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 10px;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: var(--transition); border: none; padding: 0;
}
.slider-dot.active { background: var(--accent); transform: scale(1.3); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; transition: var(--transition);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Hero Stats Bar */
.hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-top: 3px solid var(--accent);
}
.hero-stat-item {
  padding: 16px 24px; text-align: center;
  border-right: 1px solid rgba(0,91,150,.12);
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem; font-weight: 800; color: var(--primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: .73rem; color: var(--text-muted);
  font-weight: 500; letter-spacing: .5px; margin-top: 2px;
  text-transform: uppercase;
}

/* ---- About Section ---- */
.about-img-wrap { position: relative; }
.about-main-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%; height: 460px; object-fit: cover;
}
.about-badge-box {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--gradient); color: #fff;
  border-radius: var(--radius); padding: 22px 28px;
  box-shadow: var(--shadow-md); text-align: center;
  min-width: 150px;
}
.about-badge-box .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem; font-weight: 800; line-height: 1;
}
.about-badge-box .label { font-size: .78rem; opacity: .9; margin-top: 4px; }
.about-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--grey);
}
.about-feature:last-child { border-bottom: none; }
.about-feature-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: rgba(0,136,204,.1); color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.about-feature-text h6 {
  font-size: .9rem; font-weight: 700; margin-bottom: 2px; color: var(--dark);
}
.about-feature-text p { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* ---- Expertise Cards ---- */
.expertise-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey);
  transition: var(--transition); height: 100%;
  position: relative; overflow: hidden;
}
.expertise-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient);
  transform: scaleX(0); transition: var(--transition);
}
.expertise-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.expertise-card:hover::before { transform: scaleX(1); }
.expertise-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(0,136,204,.08); color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 20px;
  transition: var(--transition);
}
.expertise-card:hover .expertise-icon {
  background: var(--gradient); color: #fff;
  transform: rotateY(360deg);
}
.expertise-card h5 {
  font-size: .98rem; font-weight: 700; margin-bottom: 10px; color: var(--dark);
}
.expertise-card p { font-size: .84rem; color: var(--text-muted); margin: 0; }

/* ---- Why Choose Us ---- */
.why-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--grey);
  box-shadow: var(--shadow-sm); transition: var(--transition);
  height: 100%;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.why-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.why-text h5 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.why-text p { font-size: .83rem; color: var(--text-muted); margin: 0; }

/* ---- Certifications ---- */
.cert-section { background: var(--primary); }
.cert-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  transition: var(--transition); height: 100%;
}
.cert-card:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.cert-icon {
  font-size: 2.4rem; margin-bottom: 14px; color: var(--accent); line-height: 1;
}
.cert-card h5 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.cert-card p { color: rgba(255,255,255,.65); font-size: .8rem; margin: 0; }

/* ---- Process Steps ---- */
.process-step {
  text-align: center; position: relative; padding: 0 16px;
}
.process-step::after {
  content: ''; position: absolute; top: 35px; right: -50%;
  width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 8px, transparent 8px, transparent 16px);
}
.process-step:last-child::after { display: none; }
.process-num {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 800;
  margin: 0 auto 18px; box-shadow: 0 8px 24px rgba(0,136,204,.4);
  position: relative; z-index: 1;
}
.process-step h5 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.process-step p { font-size: .82rem; color: var(--text-muted); }

/* ---- Featured Products ---- */
.product-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--grey); overflow: hidden;
  transition: var(--transition); height: 100%;
  box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card-img {
  height: 200px; overflow: hidden;
  background: var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gradient); color: #fff;
  padding: 3px 10px; border-radius: 50px;
  font-size: .72rem; font-weight: 600;
}
.product-card-body { padding: 20px; }
.product-cas {
  font-size: .75rem; color: var(--accent); font-weight: 600;
  letter-spacing: .5px; margin-bottom: 6px;
}
.product-card-body h5 {
  font-size: .97rem; font-weight: 700; margin-bottom: 8px;
  color: var(--dark); line-height: 1.3;
}
.product-formula {
  font-size: .82rem; color: var(--text-muted);
  font-family: 'Inter', sans-serif; margin-bottom: 12px;
}
.product-card-actions { display: flex; gap: 8px; margin-top: 14px; }
.btn-sm-outline {
  flex: 1; text-align: center; padding: 7px 10px;
  border: 1.5px solid var(--primary); color: var(--primary);
  border-radius: 50px; font-size: .78rem; font-weight: 600;
  transition: var(--transition); cursor: pointer; background: none;
}
.btn-sm-outline:hover { background: var(--primary); color: #fff; }
.btn-sm-fill {
  flex: 1; text-align: center; padding: 7px 10px;
  background: var(--gradient); color: #fff;
  border: none; border-radius: 50px; font-size: .78rem; font-weight: 600;
  transition: var(--transition); cursor: pointer;
}
.btn-sm-fill:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,136,204,.4); }

/* ---- Statistics Counter ---- */
.stats-section { background: var(--gradient); }
.stat-item { text-align: center; padding: 16px; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff;
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,.8); font-size: .82rem; margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }
.stat-divider { width: 1px; background: rgba(255,255,255,.2); align-self: stretch; margin: 20px 0; }

/* ---- Global Presence ---- */
.globe-bg { background: var(--grey-light); }
.world-map-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); background: #fff;
}
.country-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.country-tag {
  background: rgba(0,136,204,.08); color: var(--primary);
  padding: 4px 12px; border-radius: 50px; font-size: .78rem;
  font-weight: 500; border: 1px solid rgba(0,136,204,.2);
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent); position: relative;
  height: 100%;
}
.testimonial-card::before {
  content: '\201C'; font-size: 5rem; line-height: 1;
  color: var(--grey); font-family: Georgia, serif;
  position: absolute; top: 10px; right: 20px;
}
.testimonial-stars { color: #F5A623; margin-bottom: 14px; }
.testimonial-text { font-size: .92rem; color: var(--text); line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .9rem;
}
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--dark); }
.testimonial-role { font-size: .78rem; color: var(--text-muted); }

/* ---- CTA Section ---- */
.cta-section {
  background: var(--gradient); position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-section::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}

/* ---- News Cards ---- */
.news-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey); transition: var(--transition);
  height: 100%;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-img {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-body { padding: 20px; }
.news-date { font-size: .76rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.news-body h5 { font-size: .95rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); line-height: 1.4; }
.news-body p { font-size: .83rem; color: var(--text-muted); margin-bottom: 14px; }
.news-link { color: var(--primary); font-weight: 600; font-size: .83rem; display: inline-flex; align-items: center; gap: 4px; }
.news-link:hover { color: var(--accent); gap: 8px; }

/* ---- Footer ---- */
.main-footer { background: var(--dark); color: rgba(255,255,255,.75); }
.footer-top { padding: 64px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo {
  width: 48px; height: 48px; border-radius: 50%;
 display: flex; align-items: center;
  justify-content: center; font-family: 'Poppins', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: #fff;
}
.footer-brand-name {
  font-family: 'Poppins', sans-serif; font-size: 1.2rem;
  font-weight: 800; color: #fff;
}
.footer-about { font-size: .84rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  font-size: .85rem; margin-right: 6px; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-heading {
  font-family: 'Poppins', sans-serif; font-size: .95rem;
  font-weight: 700; color: #fff; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 2px solid rgba(0,184,217,.4);
  position: relative;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: .84rem; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.footer-links a i { color: var(--accent); font-size: .7rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px;
}
.footer-contact-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: rgba(0,184,217,.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}
.footer-contact-text { font-size: .83rem; line-height: 1.6; }
.newsletter-form { display: flex; gap: 0; margin-top: 12px; }
.newsletter-form input {
  flex: 1; padding: 10px 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: #fff; font-size: .85rem; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form button {
  background: var(--gradient); color: #fff; border: none;
  padding: 10px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .85rem; cursor: pointer; transition: var(--transition);
}
.newsletter-form button:hover { opacity: .9; }
.footer-map { border-radius: var(--radius-sm); overflow: hidden; margin-top: 12px; }
.footer-map iframe { width: 100%; height: 150px; border: none; filter: grayscale(30%); }
.footer-bottom {
  background: rgba(0,0,0,.25); padding: 18px 0;
  font-size: .82rem; border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom a { color: rgba(255,255,255,.55); margin: 0 8px; }
.footer-bottom a:hover { color: var(--accent); }

/* Back To Top */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,91,150,.4);
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,91,150,.5); }

/* WhatsApp */
.whatsapp-btn {
  position: fixed; bottom: 78px; right: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 4px 15px rgba(37,211,102,.5);
  transition: var(--transition);
}
.whatsapp-btn:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 8px 25px rgba(37,211,102,.6); color: #fff; }

/* ---- Page Hero ---- */
/* Inner pages — header always solid */
body.inner-page .main-header {
  position: sticky !important;
  background: #fff !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.08) !important;
}
body.inner-page .navbar-nav .nav-link { color: var(--dark) !important; }
body.inner-page .navbar-nav .nav-link:hover,
body.inner-page .navbar-nav .nav-link.active { color: var(--primary) !important; }
body.inner-page .brand-text .brand-name { color: var(--primary) !important; }
body.inner-page .brand-text .brand-tagline { color: var(--text-muted) !important; }
body.inner-page .nav-search-btn { color: var(--dark) !important; border-color: #e5e7eb !important; }
body.inner-page .navbar-toggler { border-color: rgba(0,0,0,.2) !important; }
body.inner-page .navbar-toggler-icon { filter: none !important; }

.page-hero {
  background: var(--gradient); padding: 30px 0 60px;
  position: relative; overflow: hidden; color: #fff;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'%3E%3Ccircle cx='400' cy='200' r='200' fill='rgba(255,255,255,0.03)'/%3E%3Ccircle cx='500' cy='100' r='120' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}
.page-hero h1 { font-size: clamp(1.8rem,4vw,3rem); color: #fff; font-weight: 800; }
.breadcrumb { background: transparent; padding: 0; margin: 12px 0 0; }
.breadcrumb-item { font-size: .85rem; color: rgba(255,255,255,.7); }
.breadcrumb-item a { color: rgba(255,255,255,.75); }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---- Products Page ---- */
.alpha-filter { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 28px; }
.alpha-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey); background: #fff;
  color: var(--text); font-weight: 600; font-size: .85rem;
  cursor: pointer; transition: var(--transition); text-align: center;
  line-height: 1; display: flex; align-items: center; justify-content: center;
}
.alpha-btn:hover, .alpha-btn.active {
  background: var(--gradient); color: #fff; border-color: transparent;
  box-shadow: 0 4px 12px rgba(0,136,204,.35);
}
.products-search-wrap {
  position: relative; max-width: 440px; margin-bottom: 24px;
}
.products-search-wrap input {
  width: 100%; padding: 12px 48px 12px 20px;
  border: 2px solid var(--grey); border-radius: 50px;
  font-size: .9rem; outline: none; transition: var(--transition);
}
.products-search-wrap input:focus { border-color: var(--accent); }
.products-search-wrap i {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted);
}
.products-filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--grey);
  margin-bottom: 24px;
}
.filter-select {
  border: 1.5px solid var(--grey); border-radius: var(--radius-sm);
  padding: 8px 14px; font-size: .85rem; outline: none;
  color: var(--text); background: #fff; cursor: pointer;
}
.filter-select:focus { border-color: var(--accent); }
.products-grid { min-height: 300px; }
.product-item-card {
  background: #fff; border: 1px solid var(--grey);
  border-radius: var(--radius); padding: 20px;
  transition: var(--transition); height: 100%;
  position: relative; overflow: hidden;
}
.product-item-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--gradient);
  transform: scaleY(0); transition: var(--transition);
}
.product-item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-item-card:hover::before { transform: scaleY(1); }
.product-item-card .pname {
  font-family: 'Poppins', sans-serif; font-size: .95rem;
  font-weight: 700; color: var(--dark); margin-bottom: 6px;
}
.product-item-card .pcas {
  font-size: .76rem; color: var(--accent); font-weight: 600;
  margin-bottom: 4px; letter-spacing: .3px;
}
.product-item-card .pformula {
  font-size: .8rem; color: var(--text-muted); margin-bottom: 6px;
}
.product-item-card .pcat {
  display: inline-block; background: rgba(0,136,204,.08);
  color: var(--primary); padding: 2px 8px; border-radius: 50px;
  font-size: .72rem; font-weight: 600; margin-bottom: 12px;
}
.product-item-card .pdesc {
  font-size: .82rem; color: var(--text-muted); margin-bottom: 14px;
  line-height: 1.6;
}
.pagination-custom .page-link {
  color: var(--primary); border-radius: var(--radius-sm) !important;
  margin: 0 2px; border: 1.5px solid var(--grey);
}
.pagination-custom .page-item.active .page-link {
  background: var(--gradient); border-color: transparent; color: #fff;
}

/* ---- Product Details Page ---- */
.spec-table th { background: rgba(0,91,150,.06); color: var(--primary); font-weight: 700; width: 35%; }
.spec-table td { font-size: .9rem; }
.spec-table tr { transition: var(--transition); }
.spec-table tr:hover td { background: var(--grey-light); }
.detail-sidebar { position: sticky; top: 90px; }
.inquiry-form-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--grey); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.inquiry-form-card .form-control, .inquiry-form-card .form-select {
  border: 1.5px solid var(--grey); border-radius: var(--radius-sm);
  padding: 10px 16px; font-size: .88rem; transition: var(--transition);
}
.inquiry-form-card .form-control:focus, .inquiry-form-card .form-select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,184,217,.12);
}
.download-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border: 1.5px solid var(--grey);
  border-radius: var(--radius-sm); background: #fff;
  color: var(--primary); font-weight: 600; font-size: .85rem;
  transition: var(--transition); cursor: pointer; width: 100%;
  margin-bottom: 10px;
}
.download-btn:hover { border-color: var(--primary); background: var(--grey-light); }
.download-btn i { color: var(--accent); font-size: 1.1rem; }

/* ---- Quality Page ---- */
.quality-card {
  background: #fff; border-radius: var(--radius); padding: 32px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey);
  text-align: center; height: 100%; transition: var(--transition);
}
.quality-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quality-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(0,136,204,.08); color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 18px;
}

/* ---- Infrastructure Pages ---- */
.infra-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey);
  transition: var(--transition); height: 100%;
}
.infra-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.infra-card-img { height: 200px; overflow: hidden; background: var(--grey-light); }
.infra-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.infra-card:hover .infra-card-img img { transform: scale(1.06); }
.infra-card-body { padding: 20px; }
.facility-list li {
  padding: 10px 0; border-bottom: 1px solid var(--grey);
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem;
}
.facility-list li:last-child { border-bottom: none; }
.facility-list li i { color: var(--accent); flex-shrink: 0; }

/* ---- Career Page ---- */
.job-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--grey); padding: 24px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.job-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.job-badge { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.job-tag {
  background: rgba(0,136,204,.08); color: var(--primary);
  padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 600;
}

/* ---- Contact Page ---- */
.contact-info-card {
  background: var(--gradient); border-radius: var(--radius);
  padding: 32px; color: #fff; height: 100%;
}
.contact-info-item {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-form-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--grey); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-control, .form-select {
  border: 1.5px solid var(--grey); border-radius: var(--radius-sm);
  padding: 11px 16px; font-size: .88rem; transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,184,217,.12);
  outline: none;
}

/* ---- Timeline ---- */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--grey); transform: translateX(-50%);
}
.timeline-item { display: flex; justify-content: flex-end; padding-right: calc(50% + 30px); margin-bottom: 36px; position: relative; }
.timeline-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: calc(50% + 30px); }
.timeline-dot {
  position: absolute; left: 50%; top: 16px;
  transform: translate(-50%, 0);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gradient); border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(0,136,204,.25);
}
.timeline-card {
  background: #fff; border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey); max-width: 400px; width: 100%;
}
.timeline-year {
  font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: 1px;
}
.timeline-card h5 { font-size: .95rem; font-weight: 700; margin: 6px 0; color: var(--dark); }
.timeline-card p { font-size: .83rem; color: var(--text-muted); margin: 0; }

/* ---- About Page: Director ---- */
.director-card {
  background: #fff; border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-md); border-top: 4px solid var(--accent);
}
.director-photo {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; font-size: 3rem; color: #fff;
  margin: 0 auto 20px; border: 4px solid rgba(0,136,204,.2);
}

/* ---- API Page ---- */
.api-category-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--grey); box-shadow: var(--shadow-sm);
  transition: var(--transition); height: 100%;
}
.api-category-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.api-num {
  font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800;
  color: var(--accent); line-height: 1; margin-bottom: 8px;
}

/* ---- Utilities ---- */
.py-section { padding: 20px 0; }
.py-section-sm { padding: 20px 0; }
.bg-light-custom { background: var(--grey-light); }
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.fw-800 { font-weight: 800 !important; }
.rounded-custom { border-radius: var(--radius) !important; }

/* ---- Animations ---- */
[data-aos] { transition-property: transform, opacity; }

/* ---- Admin Panel ---- */
.admin-sidebar {
  width: 260px; min-height: 100vh;
  background: var(--dark); color: rgba(255,255,255,.8);
  position: fixed; top: 0; left: 0; z-index: 100;
  overflow-y: auto;
}
.admin-content { margin-left: 260px; padding: 30px; min-height: 100vh; background: var(--grey-light); }
.admin-sidebar-logo {
  padding: 20px 24px; background: rgba(0,0,0,.2);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  color: #fff; font-size: 1.1rem; display: flex; align-items: center; gap: 10px;
}
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px; color: rgba(255,255,255,.7);
  font-size: .88rem; transition: var(--transition); font-weight: 500;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(0,184,217,.15); color: var(--accent);
  border-left: 3px solid var(--accent);
}
.admin-nav a i { width: 18px; text-align: center; }
.admin-card {
  background: #fff; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey);
}
.stat-widget {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--accent);
  display: flex; align-items: center; gap: 16px;
}
.stat-widget-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: rgba(0,136,204,.1); color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.stat-widget-num { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.stat-widget-label { font-size: .8rem; color: var(--text-muted); }

/* Navbar toggler custom */
.navbar-toggler {
  border: 1.5px solid rgba(0,91,150,.3); border-radius: var(--radius-sm);
  padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; }

/* ================================================================
   PAGE LOADER – Simple Spinner
================================================================ */
#pageLoader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity .25s ease, visibility .25s ease;
}
#pageLoader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.simple-spinner {
  width: 52px;
  height: 52px;
  border: 5px solid #E8ECF0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.loader-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .04em;
}
.loader-dot-track {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.loader-dot-track span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .3;
  animation: dot-blink .9s ease-in-out infinite;
}
.loader-dot-track span:nth-child(2) { animation-delay: .2s; }
.loader-dot-track span:nth-child(3) { animation-delay: .4s; }
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes dot-blink {
  0%, 100% { opacity: .2; transform: scale(.8); }
  50%       { opacity: 1;  transform: scale(1.1); }
}
body.loading { overflow: hidden; }


/* ================================================================
   PRODUCTS PAGE – A-Z Static Listing
================================================================ */

/* Hero */
.prod-page-hero {
  position: relative;
  min-height: 340px;
  background: url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=1400&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
}
.prod-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,41,90,.85) 0%, rgba(0,91,150,.72) 100%);
}
.prod-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 60px;
}
.prod-hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.prod-hero-content .breadcrumb {
  background: none; padding: 0; margin: 0 0 28px;
}
.prod-hero-content .breadcrumb-item a { color: rgba(255,255,255,.75); }
.prod-hero-content .breadcrumb-item.active { color: #fff; }
.prod-hero-content .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ---- Product Hero Search ---- */
.prod-hero-search { position: relative; max-width: 640px; }
.prod-search-wrap {
  display: flex; align-items: center;
  background: #fff; border-radius: 10px;
  padding: 6px 10px 6px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  gap: 10px;
  margin-top:50px;
}
.prod-search-icon { color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.prod-search-input {
  flex: 1; border: none; outline: none;
  font-family: 'Inter', sans-serif;
  font-size: .92rem; color: var(--dark);
  background: transparent; padding: 6px 0;
}
.prod-search-input::placeholder { color: #94a3b8; }
.prod-search-clear {
  display: none; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grey); border: none; cursor: pointer;
  color: var(--text-muted); font-size: .8rem; flex-shrink: 0;
  transition: var(--transition);
}
.prod-search-clear:hover { background: #e2e8f0; color: var(--dark); }

/* Suggestions dropdown */
.prod-suggestions {
  display: none; position: absolute; top: calc(100% + 8px);
  left: 0; right: 0; background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
  z-index: 999; list-style: none; padding: 6px 0; margin: 0;
  max-height: 340px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent;
}
.prod-suggestions::-webkit-scrollbar { width: 6px; }
.prod-suggestions::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.prod-suggestions.open { display: block; }
.prod-suggestions li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 20px; cursor: pointer; gap: 12px;
  transition: background .15s;
}
.prod-suggestions li:hover,
.prod-suggestions li.ps-active { background: var(--grey-light); }
.ps-name {
  font-family: 'Inter', sans-serif; font-size: .9rem;
  font-weight: 500; color: var(--dark); flex: 1;
}
.ps-cas {
  font-size: .78rem; color: var(--text-muted);
  font-family: 'Inter', sans-serif; white-space: nowrap;
}
.prod-suggestions mark {
  background: rgba(0,184,217,.2); color: var(--primary);
  border-radius: 2px; padding: 0 1px;
}
.ps-no-result {
  color: var(--text-muted); font-size: .88rem;
  font-family: 'Inter', sans-serif; cursor: default;
  gap: 8px;
}
.ps-no-result:hover { background: none; }

/* Flash highlight when jumped to */
.prod-highlight {
  animation: prodFlash 2s ease;
}
@keyframes prodFlash {
  0%, 100% { background: transparent; }
  20%, 60% { background: rgba(0,184,217,.18); }
}

/* Category Tabs */
.prod-cat-section {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
}
.prod-cat-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.prod-cat-tabs::-webkit-scrollbar { display: none; }
.prod-cat-tab {
  flex-shrink: 0;
  padding: 16px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  color: #64748b;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.prod-cat-tab:hover { color: var(--primary); }
.prod-cat-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

/* Alpha Nav */
.prod-alpha-section {
  padding: 18px 0;
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.prod-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prod-alpha-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  background: #eef4fb;
  text-decoration: none;
  transition: all .2s;
}
.prod-alpha-link:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* Products Listing */
.prod-list-section {
  padding: 48px 0 60px;
}
.prod-letter-group {
  margin-bottom: 40px;
  scroll-margin-top: 140px;
}
.prod-letter-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.prod-letter-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 10px;
  flex-shrink: 0;
}
.prod-letter-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* Product list */
.prod-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
}
.prod-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
.prod-list li:hover { background: #f8fafc; }
.prod-star {
  color: var(--primary);
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 4px;
}
.prod-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prod-list a {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: #334155;
  text-decoration: none;
  transition: color .2s;
  font-weight: 500;
  line-height: 1.3;
}
.prod-list a:hover { color: var(--primary); }
.prod-cas {
  font-size: .75rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  letter-spacing: .2px;
}

/* ── Product hero stats row ── */
.prod-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.prod-stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 10px 20px;
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
}
.prod-stat span {
  font-size: 1.15rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

/* ── Product item top row (name + badge) ── */
.prod-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Category badges ── */
.prod-cat-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.prod-cat-nonhaz { background: #dcfce7; color: #166534; }
.prod-cat-haz    { background: #fee2e2; color: #991b1b; }

/* ── Search suggestions ── */
.prod-sug-item { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid #f1f5f9; }
.prod-sug-item:hover, .prod-sug-active { background: #f0f7ff; }
.prod-sug-name { font-size: .88rem; font-weight: 500; color: #1a2e44; }
.prod-sug-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.prod-sug-cas  { font-size: .75rem; color: #64748b; }
.prod-sug-none { padding: 12px 14px; color: #94a3b8; font-size: .85rem; }

/* ── Letter group flash highlight ── */
@keyframes prodFlash {
  0%  { background: #dbeafe; }
  100%{ background: transparent; }
}
.prod-flash { animation: prodFlash 1.2s ease-out; }

/* ── Hero search position fix ── */
.prod-hero-section .prod-hero-search { position: relative; margin-top: -70px;}
.prod-hero-section .prod-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 999;
}

@media (max-width: 768px) {
  .prod-hero-stats { gap: 10px; }
  .prod-stat { padding: 8px 14px; }
}

@media (max-width: 768px) {
  .prod-list {
    grid-template-columns: 1fr;
  }
  .prod-alpha-link {
    width: 30px;
    height: 30px;
    font-size: .75rem;
  }
  .prod-cat-tab { padding: 14px 16px; font-size: .82rem; }
}


/* ================================================================
   INFRASTRUCTURE SECTION
================================================================ */

/* Tab Panels */
.infra-panels {
  position: relative;
}
.infra-panel {
  display: none;
  position: relative;
  min-height: 480px;
  align-items: center;
}
.infra-panel.active { display: flex; }

/* Panel Background & Overlay */
.infra-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.infra-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,20,50,.40) 0%, rgba(0,41,90,.25) 55%, rgba(0,91,150,.08) 100%);
}
.infra-hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}
.infra-hero-text {
  max-width: 580px;
}
.infra-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.infra-title {
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  border-left: 5px solid var(--accent);
  padding-left: 20px;
}
.infra-desc {
  color: rgba(255,255,255,.82);
  font-size: .97rem;
  line-height: 1.8;
  width: 700px;
  margin-bottom: 32px;
  padding-left: 25px;
}
.infra-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  border: 2px solid #fff;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  border-radius: 4px;
  text-decoration: none;
  transition: all .3s;
  margin-left: 25px;
}
.infra-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* 5 Tab Cards Row */
.infra-tabs-row {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.infra-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1000px;
}
.infra-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border-right: 1px solid #e2e8f0;
  border-top: none;
  border-bottom: none;
  border-left: none;
  background: #fff;
  cursor: pointer;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  line-height: 1.3;
  position: relative;
  transition: all .25s;
  white-space: nowrap;
}
.infra-tab:last-child { border-right: none; }
.infra-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .25s;
  transform-origin: center;
}
.infra-tab.active { background: #f0f7ff; }
.infra-tab.active::after { transform: scaleX(1); }
.infra-tab:hover { background: #f0f7ff; text-decoration: none; }
.infra-tab:hover::after { transform: scaleX(1); }

@media (max-width: 991px) {
  .infra-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
  .infra-tab:nth-child(3) { border-right: none; }
  .infra-tab:nth-child(n+4) { border-top: 1px solid #e2e8f0; }
  .infra-tab:nth-child(5) { border-right: none; }
  .infra-tab { white-space: normal; }
}
@media (max-width: 575px) {
  .infra-tabs { grid-template-columns: repeat(2, 1fr); }
  .infra-tab:nth-child(2n) { border-right: none; }
  .infra-tab:nth-child(n+3) { border-top: 1px solid #e2e8f0; }
  .infra-tab { font-size: .75rem; padding: 13px 8px; }
  .infra-panel { min-height: 360px; }
  .infra-title { font-size: 1.5rem; }
}

.navbar-brand{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.navbar-logo{
    height:80px;   /* Change as needed */
    width:auto;
    display:block;
}

/* ===== VIDEO HERO BANNER ===== */

.hero-video-banner {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #071B2C;
}

/* Background Video */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Video Overlay */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(7, 27, 44, 0.88) 0%,
        rgba(7, 27, 44, 0.62) 40%,
        rgba(7, 27, 44, 0.22) 65%,
        transparent 82%
    );
    z-index: 1;
}

/* Hero Container */
.hero-video-banner .hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ===== HERO CONTENT ===== */

.hero-video-banner .hero-content {
    max-width: 780px;
    padding-top: 40px;
}

/* Heading */
.hero-video-banner .hero-title {
    color: #ffffff;
    margin: 0 0 24px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-video-banner .hero-title span {
    color: #d8b98c;
}

/* Description */
.hero-video-banner .hero-desc {
    color: rgba(255, 255, 255, 0.90);
    max-width: 700px;
    margin: 0 0 32px;
    line-height: 1.75;
}

/* Buttons */
.hero-video-banner .hero-btns {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .hero-video-banner {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-video-banner .hero-inner {
        padding: 0 20px;
    }

    .hero-video-banner .hero-content {
        max-width: 100%;
        padding-top: 40px;
    }

    .hero-video-banner .hero-title {
        font-size: 2.2rem;
        line-height: 1.12;
        margin-bottom: 20px;
    }

    .hero-video-banner .hero-desc {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .hero-video-banner .hero-btns {
        gap: 12px;
        flex-wrap: wrap;
    }

    .hero-video-overlay {
        background: rgba(7, 27, 44, 0.65);
    }
}



/* ================================================================
   SCROLL REVEAL — Intersection Observer Animations
================================================================ */

/* ── Base hidden state ── */
.reveal,
[data-reveal],
[data-animate],
.expertise-card,
.why-card,
.cert-card,
.product-card,
.news-card,
.infra-card,
.quality-card,
.testimonial-card,
.timeline-card,
.about-feature,
.stat-item,
.process-step,
.api-category-card,
.job-card,
.prod-letter-group,
.prod-table-wrap,
.section-badge,
.section-title,
.section-subtitle,
.section-divider,
p.section-sub,
.hero-stat-item,
.country-tag {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   .65s cubic-bezier(.4,0,.2,1),
    transform .65s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}

/* Slide from Left */
[data-animate="fade-right"],
[data-reveal="left"],
.reveal-left { transform: translateX(-40px); }

/* Slide from Right */
[data-animate="fade-left"],
[data-reveal="right"],
.reveal-right { transform: translateX(40px); }

/* Zoom In */
[data-reveal="zoom"],
.reveal-zoom { transform: scale(.88); }

/* Fade only */
[data-reveal="fade"],
.reveal-fade { transform: none; }

/* ── Visible state ── */
.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Stagger delays ── */
[data-reveal-delay="1"] { transition-delay: .10s !important; }
[data-reveal-delay="2"] { transition-delay: .20s !important; }
[data-reveal-delay="3"] { transition-delay: .30s !important; }
[data-reveal-delay="4"] { transition-delay: .40s !important; }
[data-reveal-delay="5"] { transition-delay: .50s !important; }
[data-reveal-delay="6"] { transition-delay: .60s !important; }

/* ── Grid children stagger ── */
.stagger-children > *:nth-child(1)  { transition-delay: .05s; }
.stagger-children > *:nth-child(2)  { transition-delay: .12s; }
.stagger-children > *:nth-child(3)  { transition-delay: .19s; }
.stagger-children > *:nth-child(4)  { transition-delay: .26s; }
.stagger-children > *:nth-child(5)  { transition-delay: .33s; }
.stagger-children > *:nth-child(6)  { transition-delay: .40s; }
.stagger-children > *:nth-child(n+7){ transition-delay: .47s; }

/* ── Infrastructure Panel — CSS-only animation (no JS observer needed) ── */
/* Content starts hidden inside every panel */
.infra-panel .infra-eyebrow,
.infra-panel .infra-title,
.infra-panel .infra-desc,
.infra-panel .infra-btn {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1),
              transform .55s cubic-bezier(.4,0,.2,1);
}

/* When panel is active, stagger children in */
.infra-panel.active .infra-eyebrow { opacity: 1; transform: none; transition-delay: .10s; }
.infra-panel.active .infra-title   { opacity: 1; transform: none; transition-delay: .22s; }
.infra-panel.active .infra-desc    { opacity: 1; transform: none; transition-delay: .34s; }
.infra-panel.active .infra-btn     { opacity: 1; transform: none; transition-delay: .46s; }

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal, [data-reveal], [data-animate],
  .expertise-card, .why-card, .cert-card, .product-card,
  .news-card, .infra-card, .quality-card, .testimonial-card,
  .timeline-card, .about-feature, .stat-item, .process-step,
  .prod-letter-group, .prod-table-wrap, .section-badge,
  .section-title, .section-subtitle, .section-divider,
  p.section-sub, .hero-stat-item, .country-tag,
  .infra-panel .infra-eyebrow, .infra-panel .infra-title,
  .infra-panel .infra-desc, .infra-panel .infra-btn {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}