/* ============================================================
   I.S. ENGINEERING CO. — Master Stylesheet (Full Responsive)
   Primary Green: #5B8E1D | Dark Grey: #3E3E3E
   Breakpoints: 480px | 640px | 768px | 900px | 1100px
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #5B8E1D;
  --green-dark:   #4a7318;
  --green-light:  #72b022;
  --green-pale:   #eef5e4;
  --dark:         #3E3E3E;
  --dark2:        #2a2a2a;
  --grey:         #666666;
  --grey-mid:     #999999;
  --grey-light:   #f5f5f5;
  --border:       #dde5cc;
  --border-grey:  #e0e0e0;
  --white:        #ffffff;
  --shadow:       0 2px 16px rgba(0,0,0,0.09);
  --shadow-lg:    0 6px 32px rgba(0,0,0,0.13);
  --radius:       5px;
  --trans:        0.25s ease;
  --font-head:    'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  --font-body:    'Source Sans 3','Segoe UI',Arial,sans-serif;
  --container:    1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--dark); letter-spacing: 0.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; }
p  { margin-bottom: 1em; color: var(--grey); line-height: 1.8; }
p:last-child { margin-bottom: 0; }

.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { text-transform: uppercase; letter-spacing: 0.05em; }
.section-title h2 span { color: var(--green); }
.section-title p { max-width: 640px; margin: 12px auto 0; font-size: 1rem; }
.title-bar { width: 52px; height: 4px; background: var(--green); margin: 12px auto 0; border-radius: 2px; }
.section-label { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; display: block; }
.underline-bar { display: block; width: 52px; height: 4px; background: var(--green); margin: 10px 0 18px; border-radius: 2px; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 12px 28px; font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius); transition: var(--trans); line-height: 1; text-align: center; white-space: nowrap; }
.btn-primary { background: var(--green); color: var(--white); border: 2px solid var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(91,142,29,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green); transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: var(--white); border: 2px solid var(--dark); }
.btn-dark:hover { background: var(--dark2); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

/* ── TOPBAR ── */
.topbar { background: var(--dark2); color: #ccc; font-size: 0.8rem; padding: 7px 0; border-bottom: 2px solid var(--green); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #ccc; transition: color var(--trans); }
.topbar a:hover { color: var(--green-light); }
.topbar-item { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; }
.topbar-item svg { width: 12px; height: 12px; fill: var(--green); flex-shrink: 0; }

/* ── HEADER ── */
#main-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
#main-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.13); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; max-width: var(--container); margin: 0 auto; height: 70px; }
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-svg-wrap { width: 50px; height: 50px; flex-shrink: 0; }
.logo-svg-wrap svg { width: 100%; height: 100%; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-head); font-size: clamp(0.95rem,2vw,1.25rem); font-weight: 800; color: var(--dark); letter-spacing: 0.04em; text-transform: uppercase; }
.logo-tagline { font-size: 0.6rem; color: var(--green); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark); padding: 7px 12px; border-radius: var(--radius); transition: color var(--trans); position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 2px; left: 12px; right: 12px; height: 2px; background: var(--green); transform: scaleX(0); transition: transform var(--trans); border-radius: 1px; }
.nav-link:hover { color: var(--green); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--green); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; flex-shrink: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--trans); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav { display: none; background: var(--white); border-top: 2px solid var(--green); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 20px; font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark); border-bottom: 1px solid var(--border-grey); transition: background var(--trans), color var(--trans); }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--green-pale); color: var(--green); }
.mobile-nav .mob-cta { background: var(--green); color: white !important; text-align: center; margin: 12px 16px 16px; border-radius: var(--radius); border-bottom: none !important; padding: 13px !important; }

/* ── HERO CAROUSEL ── */
.hero-carousel { position: relative; overflow: hidden; height: 88vh; min-height: 480px; max-height: 720px; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(20,20,20,0.82) 0%, rgba(20,20,20,0.5) 55%, rgba(20,20,20,0.15) 100%); }
.hero-content { position: relative; z-index: 2; padding: 0 20px 0 40px; max-width: 680px; width: 100%; }
.hero-badge { display: inline-block; background: var(--green); color: white; font-family: var(--font-head); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; margin-bottom: 14px; }
.hero-content h1 { color: white; text-shadow: 0 2px 12px rgba(0,0,0,0.4); margin-bottom: 16px; line-height: 1.1; }
.hero-content p { color: rgba(255,255,255,0.88); font-size: 1rem; margin-bottom: 26px; line-height: 1.7; max-width: 520px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* Carousel controls */
.carousel-controls { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 10; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: 2px solid rgba(255,255,255,0.6); cursor: pointer; transition: all var(--trans); }
.carousel-dot.active { background: var(--green); border-color: var(--green); transform: scale(1.3); }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 40px; height: 40px; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.35); border-radius: 50%; color: white; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: background var(--trans); backdrop-filter: blur(4px); cursor: pointer; }
.carousel-arrow:hover { background: var(--green); border-color: var(--green); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

/* Hero slide BGs */
.slide-bg-1 { background: linear-gradient(135deg,#1b2e0d 0%,#2d4f14 60%,#1b2e0d 100%); }
.slide-bg-2 { background: linear-gradient(135deg,#141e2e 0%,#1e304a 60%,#141e2e 100%); }
.slide-bg-3 { background: linear-gradient(135deg,#1e1600 0%,#3a2800 60%,#1e1600 100%); }
.slide-bg-4 { background: linear-gradient(135deg,#181818 0%,#2d2d2d 60%,#181818 100%); }
.slide-bg-5 { background: linear-gradient(135deg,#1a0e0e 0%,#2e1818 60%,#1a0e0e 100%); }

/* ── STATS BAR ── */
.stats-bar { background: var(--green); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid rgba(255,255,255,0.18); }
.stat-item { text-align: center; padding: 26px 14px; border-right: 1px solid rgba(255,255,255,0.18); }
.stat-number { font-family: var(--font-head); font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 800; color: white; line-height: 1; display: block; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.82); text-transform: uppercase; letter-spacing: 0.09em; margin-top: 4px; font-weight: 600; display: block; }

/* ── COMPANY INTRO ── */
.company-intro { background: white; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro-text h2 { text-align: left; margin-bottom: 14px; }
.intro-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }
.intro-hi { display: flex; align-items: flex-start; gap: 9px; padding: 10px 11px; background: var(--green-pale); border-radius: var(--radius); border-left: 3px solid var(--green); }
.intro-hi svg { width: 15px; height: 15px; fill: var(--green); flex-shrink: 0; margin-top: 2px; }
.intro-hi span { font-size: 0.84rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.intro-visual { position: relative; }
.intro-img-main { width: 100%; aspect-ratio: 5/4; background: var(--grey-light); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.est-badge { position: absolute; bottom: -16px; left: -16px; width: 100px; height: 100px; background: var(--green); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; box-shadow: var(--shadow-lg); border: 4px solid white; }
.est-badge span:first-child { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.est-badge span:last-child { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; line-height: 1; }

/* ── WHY US ── */
.why-us { background: var(--grey-light); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.why-card { background: white; border-radius: var(--radius); padding: 26px 18px; text-align: center; border: 1px solid var(--border-grey); transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.why-icon { width: 58px; height: 58px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; transition: background var(--trans); }
.why-card:hover .why-icon { background: var(--green); }
.why-icon svg { width: 25px; height: 25px; fill: var(--green); transition: fill var(--trans); }
.why-card:hover .why-icon svg { fill: white; }
.why-card h4 { margin-bottom: 6px; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.04em; }
.why-card p { font-size: 0.82rem; color: var(--grey); margin: 0; }

/* ── PRODUCTS ── */
.products-sec { background: white; }
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.product-card { background: white; border-radius: var(--radius); border: 1px solid var(--border-grey); overflow: hidden; transition: transform var(--trans), box-shadow var(--trans); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img { aspect-ratio: 4/3; background: var(--grey-light); display: flex; align-items: center; justify-content: center; border-bottom: 3px solid var(--green); overflow: hidden; position: relative; }
.product-img svg { width: 68px; height: 68px; fill: var(--green); opacity: 0.5; }
.product-badge { position: absolute; top: 8px; left: 8px; background: var(--green); color: white; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 0.98rem; margin-bottom: 6px; }
.product-body p { font-size: 0.83rem; color: var(--grey); flex: 1; margin-bottom: 12px; line-height: 1.6; }
.product-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.ptag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: var(--green-pale); color: var(--green-dark); padding: 2px 7px; border-radius: 2px; }

/* Product spec mini-grid */
.pspec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 10px; }
.pspec-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 8px; background: var(--green-pale); border-radius: 3px; font-size: 0.78rem; gap: 6px; }
.pspec-key { color: var(--grey); font-weight: 600; flex-shrink: 0; }
.pspec-val { color: var(--dark); font-weight: 700; text-align: right; }

/* ── E TABLE FLANGES ── */
.etable-section { background: var(--green-pale); }
.etable-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: start; }
.etable-content h2 { text-align: left; margin-bottom: 6px; }
.etable-feat { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
.etable-feat-icon { width: 30px; height: 30px; background: var(--green); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.etable-feat-icon svg { width: 15px; height: 15px; fill: white; }
.etable-feat-text h4 { font-size: 0.9rem; margin-bottom: 2px; }
.etable-feat-text p { font-size: 0.83rem; margin: 0; }
.etable-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 480px; }
.spec-table th { background: var(--green); color: white; padding: 10px 12px; text-align: left; font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--border-grey); color: var(--dark); white-space: nowrap; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--green-pale); }

/* ── PIPES & FITTINGS ── */
.pipes-section { background: white; }
.fittings-section { background: var(--grey-light); }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.detail-card { background: white; border-radius: var(--radius); border: 1px solid var(--border-grey); overflow: hidden; }
.detail-card-head { background: var(--dark); color: white; padding: 15px 20px; display: flex; align-items: center; gap: 10px; }
.detail-card-head svg { width: 20px; height: 20px; fill: var(--green-light); flex-shrink: 0; }
.detail-card-head h3 { font-size: 1rem; color: white; margin: 0; }
.detail-card-body { padding: 18px 20px; }
.spec-list li { padding: 7px 0; border-bottom: 1px solid var(--border-grey); font-size: 0.87rem; display: flex; align-items: center; gap: 8px; }
.spec-list li:last-child { border-bottom: none; }
.spec-list li::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; }

/* ── INDUSTRIES ── */
.industries-section { background: var(--dark2); }
.industries-section .section-title h2 { color: white; }
.industries-section .section-title p { color: rgba(255,255,255,0.68); }
.industries-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.industry-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 24px 14px; text-align: center; transition: background var(--trans), border-color var(--trans), transform var(--trans); }
.industry-card:hover { background: rgba(91,142,29,0.14); border-color: var(--green); transform: translateY(-4px); }
.ind-icon { width: 50px; height: 50px; background: rgba(91,142,29,0.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; transition: background var(--trans); }
.industry-card:hover .ind-icon { background: var(--green); }
.ind-icon svg { width: 22px; height: 22px; fill: var(--green-light); transition: fill var(--trans); }
.industry-card:hover .ind-icon svg { fill: white; }
.industry-card h4 { color: white; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.3; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--grey-light); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card { background: white; border-radius: var(--radius); padding: 24px 20px; border: 1px solid var(--border-grey); transition: box-shadow var(--trans), transform var(--trans); display: flex; flex-direction: column; }
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testi-q { font-size: 2.6rem; color: var(--green); font-family: Georgia,serif; line-height: 0.8; opacity: 0.5; }
.testi-card > p { font-size: 0.88rem; font-style: italic; color: var(--grey); line-height: 1.7; margin: 10px 0 16px; flex: 1; }
.testi-meta { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--border-grey); padding-top: 13px; margin-top: auto; }
.testi-av { width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; color: white; font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 0.88rem; color: var(--dark); }
.testi-co { font-size: 0.76rem; color: var(--grey-mid); margin-top: 1px; }
.testi-stars { color: #f5a623; font-size: 0.82rem; margin-top: 2px; letter-spacing: 2px; }

/* ── FAQ ── */
.faq-section { background: white; }
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-grey); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-item.open { border-color: var(--green); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; cursor: pointer; background: white; transition: background var(--trans); gap: 12px; }
.faq-q:hover, .faq-item.open .faq-q { background: var(--green-pale); }
.faq-q h4 { font-size: 0.93rem; color: var(--dark); margin: 0; font-weight: 600; line-height: 1.4; }
.faq-tog { width: 26px; height: 26px; flex-shrink: 0; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; transition: transform var(--trans), background var(--trans); line-height: 1; }
.faq-item.open .faq-tog { transform: rotate(45deg); background: var(--dark); }
.faq-ans { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-ans { max-height: 300px; }
.faq-ans-inner { padding: 0 18px 16px; }
.faq-ans-inner p { font-size: 0.88rem; color: var(--grey); margin: 0; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); padding: 60px 20px; text-align: center; }
.cta-banner h2 { color: white; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 560px; margin: 0 auto 26px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--dark2); color: rgba(255,255,255,0.75); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.footer-logo-svg { width: 42px; height: 42px; flex-shrink: 0; }
.footer-logo-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: white; text-transform: uppercase; line-height: 1; letter-spacing: 0.04em; }
.footer-logo-sub { font-size: 0.6rem; color: var(--green-light); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-top: 2px; }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 13px; }
.footer-gstin { font-size: 0.76rem; color: rgba(255,255,255,0.42); padding: 7px 10px; background: rgba(255,255,255,0.05); border-radius: 4px; border-left: 2px solid var(--green); }
.footer-gstin span { color: var(--green-light); font-weight: 600; }
.footer-col h5 { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: white; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--green); display: inline-block; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.55); transition: color var(--trans), padding-left var(--trans); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--green-light); padding-left: 5px; }
.footer-links a::before { content: '›'; color: var(--green); font-size: 0.95rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.fc-item { display: flex; gap: 9px; align-items: flex-start; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.fc-item svg { width: 13px; height: 13px; fill: var(--green); flex-shrink: 0; margin-top: 3px; }
.fc-item a { color: rgba(255,255,255,0.55); transition: color var(--trans); }
.fc-item a:hover { color: var(--green-light); }
.footer-bottom { padding: 16px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--green-light); }

/* ── FLOATING BUTTONS ── */
.floating-actions { position: fixed; bottom: 24px; right: 18px; z-index: 999; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.25); transition: transform var(--trans), box-shadow var(--trans); text-decoration: none; }
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(0,0,0,0.3); }
.float-wa { background: #25D366; }
.float-wa svg { width: 23px; height: 23px; fill: white; }
.float-call { background: var(--green); }
.float-call svg { width: 20px; height: 20px; fill: white; }
.back-top { background: var(--dark); opacity: 0; pointer-events: none; transition: opacity var(--trans); }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top svg { width: 18px; height: 18px; fill: white; }

/* ── BREADCRUMB ── */
.breadcrumb-bar { background: var(--grey-light); border-bottom: 1px solid var(--border-grey); padding: 10px 0; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--green); font-weight: 600; }
.breadcrumb span { color: var(--grey-mid); }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%); padding: 48px 0; border-bottom: 4px solid var(--green); }
.page-hero h1 { color: white; margin-bottom: 8px; }
.page-hero > .container > p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0; font-size: 0.97rem; }
.pg-badges { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pg-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(91,142,29,0.22); border: 1px solid var(--green); color: var(--green-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }

/* ── ABOUT PAGE ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }

/* About key facts grid */
.keyfacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.keyfact-box { text-align: center; background: rgba(255,255,255,0.07); border-radius: 4px; padding: 14px 10px; }
.keyfact-num { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--green-light); line-height: 1; }
.keyfact-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; display: block; }

/* Process steps grid */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.process-card { background: white; border-radius: var(--radius); padding: 22px 16px; text-align: center; border: 1px solid var(--border-grey); }
.process-num { width: 50px; height: 50px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 13px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: white; }
.process-card h4 { font-size: 0.92rem; margin-bottom: 6px; text-transform: uppercase; }
.process-card p { font-size: 0.82rem; margin: 0; }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value-card { padding: 26px 22px; border-radius: var(--radius); background: var(--green-pale); border-top: 4px solid var(--green); }
.value-card svg { width: 34px; height: 34px; fill: var(--green); margin-bottom: 12px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 9px; }
.value-card p { font-size: 0.88rem; margin: 0; }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--border-grey); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item::before { content: ''; position: absolute; left: -26px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); border: 3px solid white; box-shadow: 0 0 0 2px var(--green); }
.tl-year { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 3px; }
.tl-item h3 { font-size: 0.98rem; margin-bottom: 6px; }
.tl-item p { font-size: 0.86rem; margin: 0; }

/* Mission / Vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { padding: 30px 22px; border-radius: var(--radius); }
.mv-card.mission { background: var(--green); }
.mv-card.vision { background: var(--dark); }
.mv-card svg { width: 34px; height: 34px; fill: rgba(255,255,255,0.55); margin-bottom: 12px; }
.mv-card h3 { color: white; font-size: 1.3rem; margin-bottom: 10px; }
.mv-card p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.9rem; }

/* ── PRODUCTS PAGE FILTER ── */
.filter-bar { background: white; border-bottom: 1px solid var(--border-grey); padding: 16px 0; position: sticky; top: 70px; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.filter-controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter-btn { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border: 2px solid var(--border-grey); border-radius: 30px; background: white; color: var(--grey); cursor: pointer; transition: all var(--trans); white-space: nowrap; }
.filter-btn.active, .filter-btn:hover { background: var(--green); border-color: var(--green); color: white; }
.filter-search-wrap { margin-left: auto; display: flex; align-items: center; border: 1px solid var(--border-grey); border-radius: 30px; overflow: hidden; }
.filter-search-wrap input { border: none; outline: none; padding: 7px 13px; font-family: var(--font-body); font-size: 0.86rem; width: 190px; }
.filter-search-wrap button { padding: 7px 13px; background: var(--green); border: none; cursor: pointer; }
.filter-search-wrap button svg { width: 15px; height: 15px; fill: white; display: block; }
.product-card.hide { display: none; }

/* Products page section heading */
.prod-section-title { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 22px; margin-top: 0; padding-bottom: 10px; border-bottom: 3px solid var(--green); display: inline-block; }

/* ── GALLERY ── */
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.gallery-tab { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 16px; border: 2px solid var(--border-grey); border-radius: 30px; background: white; color: var(--grey); cursor: pointer; transition: all var(--trans); }
.gallery-tab.active, .gallery-tab:hover { background: var(--green); border-color: var(--green); color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.gallery-item { aspect-ratio: 1; background: var(--grey-light); border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--border-grey); display: flex; align-items: center; justify-content: center; transition: transform var(--trans); }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item svg { width: 50px; height: 50px; fill: var(--green); opacity: 0.3; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(91,142,29,0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--trans); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { width: 30px; height: 30px; fill: white; opacity: 1; }
.gallery-item.span2 { grid-column: span 2; grid-row: span 2; }
.gallery-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.65); color: white; padding: 7px 11px; font-size: 0.78rem; font-weight: 600; transform: translateY(100%); transition: transform var(--trans); }
.gallery-item:hover .gallery-label { transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.active { display: flex; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; cursor: pointer; border: none; line-height: 1; }
.lb-content { max-width: 90vw; max-height: 80vh; background: #222; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; min-width: 280px; min-height: 200px; }
.lb-content svg { width: 72px; height: 72px; fill: var(--green); opacity: 0.4; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
.contact-form-card { background: white; border-radius: var(--radius); border: 1px solid var(--border-grey); padding: 32px 28px; box-shadow: var(--shadow); }
.contact-form-card h3 { margin-bottom: 5px; }
.contact-form-card > p { font-size: 0.88rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grp { margin-bottom: 15px; }
.form-grp label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; letter-spacing: 0.04em; text-transform: uppercase; }
.form-grp input, .form-grp select, .form-grp textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border-grey); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.9rem; color: var(--dark); background: white; transition: border-color var(--trans), box-shadow var(--trans); outline: none; }
.form-grp input:focus, .form-grp select:focus, .form-grp textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(91,142,29,0.1); }
.form-grp textarea { resize: vertical; min-height: 90px; }
.form-submit-btn { width: 100%; padding: 13px; font-size: 0.95rem; }
.form-success { display: none; background: var(--green-pale); border: 1px solid var(--green); border-radius: var(--radius); padding: 13px; text-align: center; color: var(--green-dark); font-weight: 600; margin-top: 13px; }
.form-error   { display: none; background: #fff0f0; border: 1px solid #e53935; border-radius: var(--radius); padding: 13px; text-align: center; color: #c62828; font-weight: 600; margin-top: 13px; }
.ci-cards { display: flex; flex-direction: column; gap: 16px; }
.ci-card { background: white; border-radius: var(--radius); border: 1px solid var(--border-grey); padding: 18px 20px; }
.ci-card h4 { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 2px solid var(--green); }
.ci-card h4 svg { width: 15px; height: 15px; fill: var(--green); flex-shrink: 0; }
.ci-row { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 8px; font-size: 0.86rem; color: var(--grey); }
.ci-row:last-child { margin-bottom: 0; }
.ci-row svg { width: 13px; height: 13px; fill: var(--green); flex-shrink: 0; margin-top: 3px; }
.ci-row a { color: var(--dark); transition: color var(--trans); }
.ci-row a:hover { color: var(--green); }
.biz-hours-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--border-grey); font-size: 0.86rem; }
.biz-hours-row:last-child { border-bottom: none; }
.biz-hours-row .day { font-weight: 600; color: var(--dark); }
.biz-hours-row .time-open { color: var(--green); font-weight: 700; }
.biz-hours-row .time-closed { color: var(--grey-mid); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-grey); height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* Quick contact strip */
.quick-contact-strip { background: var(--green); padding: 32px 0; }
.quick-contact-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.quick-contact-text h3 { color: white; font-size: clamp(1.1rem,2.5vw,1.4rem); margin-bottom: 4px; }
.quick-contact-text p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.93rem; }
.quick-contact-btns { display: flex; gap: 11px; flex-wrap: wrap; }

/* ── UTILITY ── */
.text-green { color: var(--green); }
.mb-0 { margin-bottom: 0 !important; }
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ======================================================
   RESPONSIVE — 1100px
   ====================================================== */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ======================================================
   RESPONSIVE — 900px (Tablet)
   ====================================================== */
@media (max-width: 900px) {
  .section-pad { padding: 52px 0; }
  .section-pad-sm { padding: 40px 0; }

  /* Grids → 1 column */
  .intro-grid,
  .etable-inner,
  .two-col-grid,
  .contact-grid,
  .about-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Est badge reposition */
  .intro-visual { padding-bottom: 20px; }
  .est-badge { bottom: 4px; left: -10px; width: 86px; height: 86px; }
  .est-badge span:last-child { font-size: 1.6rem; }

  /* E-table table reorder */
  .etable-inner .etable-table-wrap { order: -1; }

  /* Testimonials 2-col */
  .testi-grid { grid-template-columns: repeat(2, 1fr); }

  /* Products 2-col */
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Stats 2x2 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }

  /* Industries 2-col */
  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero padding */
  .hero-content { padding-left: 24px; padding-right: 24px; max-width: 100%; }

  /* Mission/Vision 1-col */
  .mv-grid { grid-template-columns: 1fr; }

  /* Values 2-col */
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  /* Process 2-col */
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  /* Form rows → single col */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Key facts for about */
  .keyfacts-grid { grid-template-columns: 1fr 1fr; }

  /* pspec-grid 1-col */
  .pspec-grid { grid-template-columns: 1fr; }

  /* Contact card padding */
  .contact-form-card { padding: 24px 20px; }
}

/* ======================================================
   RESPONSIVE — 768px (Mobile Nav)
   ====================================================== */
@media (max-width: 768px) {
  /* Hide desktop nav, show hamburger */
  .main-nav, .nav-cta { display: none !important; }
  .hamburger { display: flex; }
  .header-inner { height: 60px; padding: 0 14px; }
  .logo-svg-wrap { width: 44px; height: 44px; }

  /* Hide topbar */
  .topbar { display: none; }

  /* Hero */
  .hero-carousel { height: 72vw; min-height: 340px; max-height: 520px; }
  .hero-content { padding: 0 18px; }
  .hero-content h1 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .hero-content p { font-size: 0.88rem; margin-bottom: 18px; }
  .hero-badge { font-size: 0.68rem; padding: 4px 10px; margin-bottom: 10px; }
  .carousel-arrow { width: 34px; height: 34px; font-size: 0.95rem; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }

  /* Footer 1-col */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 5px; }

  /* Testimonials 1-col */
  .testi-grid { grid-template-columns: 1fr; }

  /* Industries 2-col */
  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  /* Products 2-col */
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Why grid 2-col */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery 2-col, remove span */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.span2 { grid-column: span 1; grid-row: span 1; }

  /* Disable filter search */
  .filter-search-wrap { display: none; }

  /* Filter bar scrollable */
  .filter-bar { padding: 12px 0; top: 60px; }
  .filter-controls { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; gap: 7px; }
  .filter-controls::-webkit-scrollbar { height: 3px; }
  .filter-controls::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }
  .filter-btn { flex-shrink: 0; font-size: 0.76rem; padding: 6px 12px; }

  /* CTA buttons stack */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }

  /* Values 1-col */
  .values-grid { grid-template-columns: 1fr; }

  /* Process 2-col */
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  /* Quick contact strip */
  .quick-contact-inner { flex-direction: column; text-align: center; }
  .quick-contact-btns { justify-content: center; }

  /* About key facts */
  .keyfacts-grid { grid-template-columns: repeat(2, 1fr); }

  /* Page hero */
  .page-hero { padding: 36px 0; }
  .pg-badges { gap: 7px; }
  .pg-badge { font-size: 0.68rem; padding: 3px 8px; }

  /* Map height */
  .map-wrap { height: 280px; }

  /* Section title */
  .section-title { margin-bottom: 28px; }

  /* Floating buttons */
  .floating-actions { bottom: 18px; right: 14px; gap: 8px; }
  .float-btn { width: 44px; height: 44px; }
}

/* ======================================================
   RESPONSIVE — 640px (Large Mobile)
   ====================================================== */
@media (max-width: 640px) {
  .section-pad { padding: 40px 0; }
  .section-pad-sm { padding: 32px 0; }

  /* Stats 2x2 tight */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 1.8rem; }
  .stat-item { padding: 20px 10px; }
  .stat-label { font-size: 0.7rem; }

  /* Intro highlights single col */
  .intro-highlights { grid-template-columns: 1fr; }

  /* Products 1-col */
  .products-grid { grid-template-columns: 1fr; }

  /* E table full width */
  .etable-section { background: white; }
  .etable-section .container { padding: 0 14px; }

  /* Why grid 2-col */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Industries 2-col */
  .industries-grid { grid-template-columns: 1fr 1fr; }

  /* Gallery 2-col */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero */
  .hero-carousel { height: 85vw; min-height: 300px; max-height: 480px; }
  .hero-buttons { flex-direction: column; gap: 9px; }
  .hero-buttons .btn { width: 100%; max-width: 260px; text-align: center; padding: 11px 20px; }

  /* Footer links inline */
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

  /* Process grid 1-col */
  .process-grid { grid-template-columns: 1fr; }

  /* pspec grid 1-col */
  .pspec-grid { grid-template-columns: 1fr; }
  .pspec-row { font-size: 0.8rem; }

  /* CTA */
  .cta-banner { padding: 44px 16px; }
  .cta-banner h2 { font-size: 1.5rem; }

  /* Contact form padding */
  .contact-form-card { padding: 20px 16px; }

  /* ci-card padding */
  .ci-card { padding: 15px 16px; }
}

/* ======================================================
   RESPONSIVE — 480px (Small Mobile)
   ====================================================== */
@media (max-width: 480px) {
  .container { padding: 0 12px; }

  /* Logo text hide tagline on tiny */
  .logo-tagline { display: none; }
  .logo-name { font-size: 1rem; }
  .logo-svg-wrap { width: 38px; height: 38px; }

  /* Hero */
  .hero-carousel { height: 90vw; min-height: 280px; }
  .hero-content { padding: 0 14px; }
  .hero-content h1 { font-size: 1.35rem; margin-bottom: 10px; }
  .hero-content p { font-size: 0.83rem; display: none; } /* hide subtext on tiny screens */
  .hero-badge { margin-bottom: 8px; }
  .hero-buttons { gap: 8px; }
  .hero-buttons .btn { font-size: 0.82rem; padding: 10px 16px; }

  /* Stats 2-col very small */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 16px 8px; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.66rem; letter-spacing: 0.06em; }

  /* Products 1-col */
  .products-grid { grid-template-columns: 1fr; }

  /* Why 1-col */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Industries 2-col */
  .industries-grid { grid-template-columns: 1fr 1fr; }

  /* Gallery 1-col */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item.span2 { grid-column: span 1; grid-row: span 1; }

  /* Testi 1-col */
  .testi-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-links { grid-template-columns: 1fr; }
  .footer-grid { gap: 20px; }

  /* FAQ */
  .faq-q h4 { font-size: 0.86rem; }
  .faq-tog { width: 23px; height: 23px; font-size: 0.9rem; }

  /* Section title */
  .section-title { margin-bottom: 22px; }
  .section-title p { font-size: 0.88rem; }

  /* CTA */
  .cta-banner { padding: 36px 14px; }
  .cta-buttons .btn { font-size: 0.85rem; padding: 11px 18px; }

  /* Page hero */
  .page-hero { padding: 28px 0; }
  .page-hero h1 { font-size: 1.5rem; }

  /* Filter bar */
  .filter-bar { top: 60px; padding: 10px 0; }

  /* Gallery tabs wrap */
  .gallery-tabs { gap: 6px; }
  .gallery-tab { font-size: 0.74rem; padding: 6px 11px; }

  /* Contact form */
  .contact-form-card { padding: 18px 14px; }

  /* About timeline */
  .timeline { padding-left: 24px; }
  .tl-item::before { left: -21px; width: 11px; height: 11px; }

  /* Floating btn smaller */
  .floating-actions { right: 10px; bottom: 14px; }
  .float-btn { width: 42px; height: 42px; }
  .float-wa svg { width: 21px; height: 21px; }
  .float-call svg { width: 18px; height: 18px; }

  /* Process grid */
  .process-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Values grid */
  .values-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Keyfacts */
  .keyfacts-grid { grid-template-columns: 1fr 1fr; }

  /* Quick contact */
  .quick-contact-strip { padding: 24px 0; }
  .quick-contact-btns { flex-direction: column; align-items: center; width: 100%; }
  .quick-contact-btns .btn { width: 100%; max-width: 280px; text-align: center; }

  /* Map */
  .map-wrap { height: 240px; }

  /* Spec table scroll hint */
  .spec-table { font-size: 0.78rem; }
  .spec-table th, .spec-table td { padding: 8px 9px; }
}

/* ======================================================
   PRINT STYLES
   ====================================================== */
@media print {
  .topbar, .hamburger, .mobile-nav, .floating-actions, .hero-carousel, .cta-banner { display: none !important; }
  #main-header { position: static; box-shadow: none; }
  .section-pad { padding: 30px 0; }
  body { font-size: 12pt; }
}

/* ── CONTACT ACTION BUTTONS (inside ci-card) ── */
.contact-action-btns {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.contact-action-btns .btn { flex: 1; min-width: 120px; text-align: center; }

@media (max-width: 480px) {
  .contact-action-btns { flex-direction: column; }
  .contact-action-btns .btn { width: 100%; }
}

/* ── EXTRA RESPONSIVE PATCHES ── */

/* Ensure intro image shows properly on mobile */
@media (max-width: 900px) {
  .intro-img-main { aspect-ratio: 4/3; }
  .etable-table-wrap { margin-top: 0; }
}

/* Gallery span2 restore on larger screens */
@media (min-width: 769px) {
  .gallery-item.span2 { grid-column: span 2; grid-row: span 2; }
}

/* Products grid on products page: 3 cols at 900–1100 */
@media (min-width: 769px) and (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Prevent hero text overflow on very small screens */
@media (max-width: 380px) {
  .hero-content h1 { font-size: 1.2rem; }
  .hero-badge { font-size: 0.64rem; }
  .stat-number { font-size: 1.5rem; }
  .container { padding: 0 10px; }
  .footer-bottom { font-size: 0.72rem; }
}

/* Fix filter bar on mobile — prevent horizontal scroll of page */
@media (max-width: 768px) {
  .filter-controls { padding: 0 16px; }
}

/* Ensure CTA banner text doesn't overflow */
.cta-banner h2 { word-break: break-word; }
.cta-banner p { word-break: break-word; }

/* Fix footer-bottom wrapping gracefully */
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* Fix pg-badges overflow on small screens */
@media (max-width: 380px) {
  .pg-badges { flex-direction: column; align-items: flex-start; }
}

/* Gallery tabs overflow on mobile */
@media (max-width: 640px) {
  .gallery-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .gallery-tabs::-webkit-scrollbar { height: 3px; }
  .gallery-tabs::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }
  .gallery-tab { flex-shrink: 0; }
}

/* Fix pspec-row wrapping on ultra-narrow */
@media (max-width: 380px) {
  .pspec-row { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* Testi grid 2-col on medium mobile */
@media (min-width: 541px) and (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
}

/* Ensure spec table scroll is smooth */
.etable-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}

/* Why grid at 640px - ensure 2 col */
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE OVERFLOW FIX ── */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent hero carousel from causing horizontal scroll */
.hero-carousel {
  overflow: hidden;
}

/* Prevent stats border from overflowing */
.stats-bar {
  overflow: hidden;
}

/* Ensure floating actions don't trigger layout overflow */
.floating-actions {
  max-width: 100vw;
}

/* Contain any wide children in sections */
.section-pad,
.hero-carousel,
.stats-bar,
.company-intro,
.why-us,
.products-sec,
.etable-section,
.pipes-section,
.fittings-section,
.industries-section,
.testimonials-section,
.faq-section,
.cta-banner {
  overflow-x: hidden;
}
