/* ===== Tokens ===== */
:root {
  --navy: #12263f;        /* header, footer, headings */
  --steel: #3e5871;       /* secondary text on light */
  --mist: #eef2f6;        /* light section background */
  --white: #ffffff;
  --orange: #e8791d;      /* accent: buttons, hovers */
  --orange-dark: #c9650f;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", Arial, sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--steel); line-height: 1.65; background: var(--white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 90px 0; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head p { margin-top: 10px; }

/* ===== Buttons ===== */
.btn-main {
  display: inline-block; background: var(--orange); color: var(--white);
  padding: 13px 30px; font-weight: 600; border-radius: 4px;
  position: relative; overflow: hidden; z-index: 1; transition: transform .25s;
}
.btn-main::before {
  content: ""; position: absolute; inset: 0; background: var(--navy);
  transform: translateX(-101%); transition: transform .35s ease; z-index: -1;
}
.btn-main:hover { transform: translateY(-2px); }
.btn-main:hover::before { transform: translateX(0); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--white); box-shadow: 0 2px 14px rgba(18, 38, 63, .08);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(18, 38, 63, .16); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

/*
.logo img { height: 52px; width: auto; }
*/
.logo img { height: 70px;
    width: 121px; }

.logo-text { display: none; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); }



.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a {
  position: relative; display: block; padding: 8px 0;
  font-weight: 500; color: var(--navy); transition: color .25s, transform .25s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--orange); transform: translateY(-2px); }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); transform-origin: left; }

.btn-phone {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy); color: var(--white); padding: 11px 22px; border-radius: 40px;
  font-weight: 600; white-space: nowrap; position: relative; overflow: hidden;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.btn-phone i { transition: transform .3s; }
.btn-phone::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: rgba(255, 255, 255, .3); transform: skewX(-25deg);
}
.btn-phone:hover { background: var(--orange); box-shadow: 0 8px 18px rgba(232, 121, 29, .4); transform: translateY(-2px); }
.btn-phone:hover i { animation: ring .6s ease; }
.btn-phone:hover::after { left: 130%; transition: left .6s ease; }

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-18deg); }
  50% { transform: rotate(16deg); }
  75% { transform: rotate(-10deg); }
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); margin: 6px 8px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== Video ===== */
/*
.video-section { position: relative; height: calc(100vh - var(--header-h)); min-height: 460px; max-height: 760px; overflow: hidden; background: var(--navy); }
.video-section video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.video-section { position: relative; overflow: hidden; background: var(--navy); }
.video-section video { display: block; width: 100%; height: auto; }*/
.video-section { position: relative; height: 600px; overflow: hidden; background: var(--navy); }
.video-section video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 38, 63, .88) 0%, rgba(18, 38, 63, .45) 60%, rgba(18, 38, 63, .2) 100%); }
/*
.video-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
*/
.video-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.video-content h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 760px; margin-bottom: 18px; animation: heroIn .9s ease both; }
.video-content p { color: #d5dfea; font-size: 1.15rem; max-width: 520px; margin-bottom: 30px; animation: heroIn .9s .2s ease both; }
.video-content .btn-main { animation: heroIn .9s .4s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0ms); }
.reveal.from-left { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { margin-bottom: 14px; }
.check-list { margin: 20px 0 28px; }
.check-list li { display: flex; gap: 10px; align-items: center; margin-bottom: 9px; color: var(--navy); font-weight: 500; }
.check-list i { color: var(--orange); }

.about-images { position: relative; height: 480px; }
.about-images img { position: absolute; object-fit: cover; border-radius: 6px; box-shadow: 0 18px 40px rgba(18, 38, 63, .22); }
.img-one { top: 0; left: 0; width: 68%; height: 330px; animation: floatA 6s ease-in-out infinite; }
.img-two { bottom: 0; right: 0; width: 58%; height: 280px; border: 8px solid var(--white); animation: floatB 7s ease-in-out infinite; }
.img-badge {
  position: absolute; left: 6%; bottom: 14%; background: var(--orange); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.15;
  padding: 16px 20px; border-radius: 4px; box-shadow: 0 10px 24px rgba(232, 121, 29, .4);
}
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(14px); } }

/* ===== Features ===== */
.features { background: var(--mist); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--white); padding: 38px 30px; border-radius: 6px; position: relative; overflow: hidden;
  border-bottom: 4px solid transparent;
  transition: opacity .8s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.feature-card.visible:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(18, 38, 63, .16); border-color: var(--orange); }
.feature-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mist); color: var(--orange); font-size: 1.5rem; margin-bottom: 20px;
  transition: background .35s, color .35s, transform .5s;
}
.feature-card:hover .feature-icon { background: var(--orange); color: var(--white); transform: rotateY(360deg); }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.feature-card p { text-align: justify; hyphens: auto; }

/* ===== Product scroller ===== */
.products { overflow: hidden; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: scroll 38s linear infinite; padding: 10px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.product-item { width: 270px; flex-shrink: 0; text-align: center; }
.product-img { height: 220px; overflow: hidden; border-radius: 6px; background: var(--mist); box-shadow: 0 8px 22px rgba(18, 38, 63, .12); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-item:hover .product-img img { transform: scale(1.1); }
.product-item figcaption { margin-top: 14px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--navy); transition: color .25s; }
.product-item:hover figcaption { color: var(--orange); }
@keyframes scroll { to { transform: translateX(calc(-50% - 12px)); } }

/* ===== Footer ===== */
/*
.site-footer {
  position: relative; color: #c5d1de;
  background: url("../../images/footer-bg.jpg") center / cover no-repeat, var(--navy);
}*/

.site-footer {
  position: relative; color: #c5d1de;
  background-color: #12263f;
  background-image: url("../../images/products/footerbackground.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(12, 28, 48, .72), rgba(12, 28, 48, .88));
}
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(12, 28, 48, .97); }
.site-footer > * { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr 1.3fr 1.1fr; gap: 40px; padding: 80px 0 60px; }
.footer-col h4 { color: var(--white); font-size: 1.5rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--orange); }
.footer-col p { margin-bottom: 18px; }

.footer-links li { margin-bottom: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; transition: color .25s, transform .25s; }
.footer-links i { color: var(--orange); font-size: .85rem; width: 16px; }
.footer-links a:hover { color: var(--white); transform: translateX(6px); }

.contact-list li { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.contact-list i {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(232, 121, 29, .16); color: var(--orange); transition: background .3s, color .3s;
}
.contact-list li:hover i { background: var(--orange); color: var(--white); }
.contact-list a:hover { color: var(--white); }
.contact-list li { line-height: 1.5; }

.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); transition: background .3s, transform .3s; }
.social a:hover { background: var(--orange); color: var(--white); transform: translateY(-4px); }

.copyright { border-top: 1px solid rgba(255, 255, 255, .14); padding: 20px 0; text-align: center; font-size: .95rem; background: rgba(8, 20, 36, .55); }

/* ===== Floating call + WhatsApp ===== */
.float-buttons { position: fixed; right: 20px; bottom: 24px; z-index: 150; display: flex; flex-direction: column; gap: 14px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); font-size: 1.6rem; position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3); transition: transform .3s;
  animation: bob 2.6s ease-in-out infinite;
}
.float-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  z-index: -1; animation: pulse 2s ease-out infinite;
}
.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: var(--orange); font-size: 1.3rem; animation-delay: .4s; }
.float-btn.call i { animation: ring 2.4s ease-in-out infinite; }
.float-btn:hover { transform: scale(1.14); }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ===== Process slider ===== */
.process { background: var(--navy); }
.process .section-head h2 { color: var(--white); }
.process .section-head p { color: #b9c7d6; }

.process-slider { max-width: 1050px; margin: 0 auto; }
.process-slide { display: none; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.process-slide.active { display: grid; }

.process-img { position: relative; height: 380px; border-radius: 6px; overflow: hidden; background: #0c1c30; box-shadow: 0 20px 44px rgba(0, 0, 0, .35); }
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.process-slide.active .process-img { animation: fromLeft .8s ease both; }
.step-tag { position: absolute; left: 16px; top: 16px; background: var(--orange); color: var(--white); font-weight: 600; font-size: .9rem; padding: 6px 14px; border-radius: 3px; }

.process-slide.active .process-content { animation: fromRight .8s .1s ease both; }
.process-content h3 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.process-content p { color: #c5d1de; font-size: 1.1rem; max-width: 460px; }

@keyframes fromLeft  { from { opacity: 0; transform: translateX(-90px); } to { opacity: 1; transform: none; } }
@keyframes fromRight { from { opacity: 0; transform: translateX(90px); }  to { opacity: 1; transform: none; } }

/* heading burst: each letter pops out with a small overshoot */
.burst .word { display: inline-block; white-space: nowrap; margin-right: .28em; }
.burst .ch { display: inline-block; animation: burst .7s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes burst {
  0%   { opacity: 0; transform: scale(0) rotate(-25deg); text-shadow: 0 0 0 var(--orange); }
  55%  { opacity: 1; transform: scale(1.6) rotate(6deg); text-shadow: 0 0 22px var(--orange); }
  80%  { transform: scale(.92) rotate(0); }
  100% { opacity: 1; transform: scale(1); text-shadow: none; }
}

.process-controls { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.p-tabs { flex: 1; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.p-tab { background: transparent; color: #b9c7d6; border: 1px solid rgba(255, 255, 255, .22); padding: 9px 18px; border-radius: 40px; font: 500 .95rem var(--font-body); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.p-tab:hover { border-color: var(--orange); color: var(--white); }
.p-tab.active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.p-arrow { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: var(--white); transition: background .3s, transform .3s; }
.p-arrow:hover { background: var(--orange); transform: scale(1.1); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid #d9e1e9; border-left: 4px solid #d9e1e9; border-radius: 6px; margin-bottom: 14px; transition: border-color .3s, box-shadow .3s; }
.faq-item:hover { border-left-color: var(--orange); }
.faq-item.open { border-left-color: var(--orange); box-shadow: 0 10px 26px rgba(18, 38, 63, .1); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font: 600 1.15rem var(--font-body); color: var(--navy); }
.faq-q i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--orange); font-size: .85rem; transition: transform .35s, background .35s, color .35s; }
.faq-item.open .faq-q i { transform: rotate(135deg); background: var(--orange); color: var(--white); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; max-width: 680px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ===== Page title banner ===== */
/*
.page-banner {
  position: relative; padding: 110px 0 100px; text-align: center; color: var(--white);
  background: url("../../images/page-banner.jpg") center / cover no-repeat, var(--navy);
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(18, 38, 63, .84); }
*/
.page-banner {
  position: relative; padding: 110px 0 100px; text-align: center; color: var(--white);
  background-color: #12263f;
 /* background-image: url("../../images/products/footerbackground.png");*/
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(18, 38, 63, .6), rgba(18, 38, 63, .98));
}
.page-banner .container { position: relative; }
.page-banner h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4rem); animation: heroIn .8s ease both; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: #c5d1de; animation: heroIn .8s .15s ease both; }
.breadcrumb a { transition: color .25s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: .75rem; }
.breadcrumb .current { color: var(--orange); font-weight: 600; }

/* ===== Mission & Vision ===== */
.mission-vision { background: var(--mist); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card {
  background: var(--white); padding: 46px 38px; border-radius: 6px; border-top: 5px solid var(--orange);
  box-shadow: 0 10px 26px rgba(18, 38, 63, .08);
  transition: opacity .8s ease, transform .35s ease, box-shadow .35s ease;
}
.mv-card.visible:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(18, 38, 63, .16); }
.mv-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-size: 1.7rem; margin-bottom: 22px;
  transition: background .35s, transform .5s;
}
.mv-card:hover .mv-icon { background: var(--orange); transform: rotateY(360deg); }
.mv-card h3 { font-size: 1.9rem; margin-bottom: 10px; }

/* ===== Contact info cards ===== */
.contact-info { position: relative; z-index: 5; margin-top: -60px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card {
  position: relative; overflow: hidden; text-align: center; background: var(--white);
  padding: 42px 26px 36px; border-radius: 8px; box-shadow: 0 16px 40px rgba(18, 38, 63, .14);
}
.info-card::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 0;
  background: var(--navy); transition: height .45s ease; z-index: 0;
}
.info-card:hover::before { height: 100%; }
.info-card > * { position: relative; z-index: 1; }
.info-icon {
  width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--white); font-size: 1.6rem;
  box-shadow: 0 0 0 8px rgba(232, 121, 29, .18); transition: transform .4s, box-shadow .4s;
}
.info-card:hover .info-icon { transform: translateY(-4px) scale(1.08); box-shadow: 0 0 0 12px rgba(232, 121, 29, .3); }
.info-card h3, .info-card p, .info-card a { transition: color .35s; }
.info-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.info-card:hover h3 { color: var(--white); }
.info-card:hover p, .info-card:hover a { color: #d5dfea; }

/* ===== Enquiry form ===== */
.enquiry-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.enquiry-text h2 { margin-bottom: 14px; }
.enquiry-text .check-list { margin-bottom: 0; }
.enquiry-form { background: var(--white); padding: 38px; border-radius: 8px; border: 1px solid #d9e1e9; box-shadow: 0 16px 40px rgba(18, 38, 63, .1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; font: 400 1rem var(--font-body); color: var(--navy);
  background: var(--mist); border: 2px solid transparent; border-radius: 5px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: 0; background: var(--white); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232, 121, 29, .15); }
.field textarea { resize: vertical; }
.btn-submit { border: 0; cursor: pointer; font: 600 1rem var(--font-body); }
.btn-submit i { margin-left: 8px; transition: transform .3s; }
.btn-submit:hover i { transform: translateX(5px) rotate(-10deg); }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 5px; margin-bottom: 22px; font-weight: 500; }
.form-alert.success { background: #e6f5ec; color: #1b6b3a; }
.form-alert.error { background: #fdeaea; color: #a12626; }
.form-alert i { margin-top: 4px; }

/* ===== Map ===== */
.map-section iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ===== Product page grid ===== */


/* ===== Gallery: 4 columns ===== */

/* ===== Gallery ===== */

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.g-item { display: block; }

.g-box {
  position: relative; overflow: hidden; background: #fff; border-radius: 8px; text-align: center;
  box-shadow: 0 6px 18px rgba(18, 38, 63, .12);
  transition: transform .35s ease, box-shadow .35s ease;
}
.g-img { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 10px; background: #fff; overflow: hidden; }
.g-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .5s ease; }
.g-box h3 { font-size: 1.2rem; padding: 4px 14px 16px; transition: color .3s; }

.g-box::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg);
}
.g-box:hover { transform: translateY(-8px); box-shadow: 0 20px 38px rgba(18, 38, 63, .22); }
.g-box:hover img { transform: scale(1.08); }
.g-box:hover h3 { color: var(--orange); }
.g-box:hover::after { left: 130%; transition: left .7s ease; }

@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 450px)  { .gallery-grid { grid-template-columns: 1fr; } }

/* ===== Gallery limited to 2 rows (home page) ===== */

.gallery-grid.two-rows .g-item:nth-child(n+9) { display: none; }                       /* 4 columns: 8 images */

@media (max-width: 1100px) { .gallery-grid.two-rows .g-item:nth-child(n+7) { display: none; } }  /* 3 columns: 6 images */
@media (max-width: 700px)  { .gallery-grid.two-rows .g-item:nth-child(n+5) { display: none; } }  /* 2 columns: 4 images */
@media (max-width: 450px)  { .gallery-grid.two-rows .g-item:nth-child(n+3) { display: none; } }  /* 1 column: 2 images */


/* ===== Gallery ===== */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 10px 0 20px; }
.gal-item {
  display: block; overflow: hidden; background: #fff; border-radius: 8px; text-align: center;
  box-shadow: 0 6px 18px rgba(18, 38, 63, .12);
  animation: gal-float 4s ease-in-out infinite;
  transition: transform .3s, box-shadow .3s;
}
.gal-item:nth-child(2n) { animation-delay: -1.3s; }
.gal-item:nth-child(3n) { animation-delay: -2.6s; }
.gal-item:hover { animation-play-state: paused; transform: translateY(-6px); box-shadow: 0 20px 38px rgba(18, 38, 63, .22); }
.gal-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 10px; background: #fff; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.08); }
.gal-item h3 { font-size: 1.2rem; padding: 0 14px 16px; transition: color .3s; }
.gal-item:hover h3 { color: var(--orange); }
@keyframes gal-float { 50% { translate: 0 -10px; } }
@media (max-width: 1100px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ===== Certificates ===== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cert-card { display: block; text-align: center; }
.cert-img {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--mist);
  border: 8px solid var(--white); border-radius: 4px;
  box-shadow: 0 0 0 1px #d9e1e9, 0 14px 34px rgba(18, 38, 63, .16);
  transition: transform .45s ease, box-shadow .45s ease;
}
.cert-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
/* shine sweep */
.cert-img::before {
  content: ""; position: absolute; top: 0; left: -90%; width: 50%; height: 100%; z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
}
/* navy veil + magnifier */
.cert-img::after { content: ""; position: absolute; inset: 0; background: rgba(18, 38, 63, .55); opacity: 0; transition: opacity .4s; }
.cert-zoom {
  position: absolute; top: 50%; left: 50%; z-index: 3; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: var(--white); font-size: 1.4rem;
  transform: translate(-50%, -50%) scale(0); transition: transform .4s ease;
}
.cert-card h3 { margin-top: 18px; font-size: 1.35rem; transition: color .3s; }
.cert-card:hover .cert-img { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 0 0 1px var(--orange), 0 26px 50px rgba(18, 38, 63, .28); }
.cert-card:hover .cert-img img { transform: scale(1.06); }
.cert-card:hover .cert-img::before { left: 140%; transition: left .8s ease; }
.cert-card:hover .cert-img::after { opacity: 1; }
.cert-card:hover .cert-zoom { transform: translate(-50%, -50%) scale(1); }
.cert-card:hover h3 { color: var(--orange); }

/* ===== Infrastructure bento grid ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 20px; }
.bento-item { position: relative; overflow: hidden; border-radius: 8px; background: var(--navy); box-shadow: 0 10px 28px rgba(18, 38, 63, .14); }
.bento-item.b1 { grid-column: span 2; grid-row: span 2; }
/*.bento-item.b5 { grid-column: span 2; }*/
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.bento-item::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(18, 38, 63, .92) 0%, rgba(18, 38, 63, .35) 50%, rgba(18, 38, 63, 0) 80%);
  transition: opacity .4s;
}
.bento-step {
  position: absolute; top: 16px; left: 16px; z-index: 3; background: var(--orange); color: var(--white);
  font-weight: 600; font-size: .85rem; padding: 5px 13px; border-radius: 3px;
}
.bento-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 24px 26px; transform: translateY(34px); transition: transform .45s ease; }
.bento-info h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 4px; }
.bento-info p { color: #d5dfea; font-size: .98rem; opacity: 0; transition: opacity .35s .1s; }
.bento-zoom {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .18); color: var(--white);
  backdrop-filter: blur(6px); transform: scale(0); transition: transform .4s ease, background .3s;
}
.bento-item:hover img { transform: scale(1.1); }
.bento-item:hover .bento-info { transform: translateY(0); }
.bento-item:hover .bento-info p { opacity: 1; }
.bento-item:hover .bento-zoom { transform: scale(1); }
.bento-zoom:hover { background: var(--orange); }

/* ===== Lightbox (certificates + infrastructure) ===== */
.lb { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; flex-direction: column; background: rgba(8, 20, 36, .92); padding: 30px 70px; }
.lb.open { display: flex; animation: lbIn .3s ease; }
.lb img { max-width: 100%; max-height: 78vh; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-caption { color: var(--white); margin-top: 16px; font-family: var(--font-head); font-size: 1.5rem; }
.lb button { position: absolute; border: 0; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white); font-size: 1.2rem; transition: background .3s, transform .3s; }
.lb button:hover { background: var(--orange); transform: scale(1.1); }
.lb-close { top: 22px; right: 24px; }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }


/* ===== Machinery, products, commitment ===== */
.machine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 30px; }
.machine-card {
  position: relative; overflow: hidden; text-align: center; padding: 40px 24px 34px;
  background: var(--navy); color: #c5d1de; border-radius: 8px;
  transition: opacity .8s ease, transform .35s ease, box-shadow .35s ease;
}
.machine-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--orange); transition: width .45s ease; }
.machine-card.visible:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(18, 38, 63, .28); }
.machine-card:hover::after { width: 100%; }
.machine-card > i { font-size: 1.8rem; color: var(--orange); margin-bottom: 12px; transition: transform .5s; }
.machine-card:hover > i { transform: rotate(20deg) scale(1.2); }
.machine-count { font-family: var(--font-head); font-size: 4.4rem; font-weight: 700; color: var(--white); line-height: 1; }
.machine-card small { display: block; letter-spacing: 1px; text-transform: uppercase; font-size: .8rem; margin-top: 4px; }
.machine-card h3 { color: var(--white); font-size: 1.6rem; margin-top: 10px; }

.fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fp-card { background: var(--white); border: 1px solid #d9e1e9; border-top: 5px solid var(--orange); border-radius: 6px; padding: 38px 34px; box-shadow: 0 10px 26px rgba(18, 38, 63, .08); }
.fp-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.8rem; margin-bottom: 14px; }
.fp-card h3 i { color: var(--orange); font-size: 1.4rem; }
.fp-card .check-list { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chips span { background: var(--mist); color: var(--navy); font-weight: 600; font-size: .9rem; padding: 7px 15px; border-radius: 40px; transition: background .3s, color .3s; }
.chips span:hover { background: var(--orange); color: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .main-nav ul { gap: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
      .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; padding: 20px 4%; gap: 18px;
    box-shadow: 0 14px 24px rgba(18, 38, 63, .14);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .35s ease, visibility .35s;
  }
  .main-nav.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { height: 420px; }
    .process-slide { grid-template-columns: 1fr; gap: 28px; }
  .process-img { height: 300px; }
    .mv-grid, .enquiry-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-info { margin-top: -40px; }
  .page-banner { padding: 80px 0 80px; }
    .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .bento-item.b1 { grid-column: span 2; grid-row: span 1; }
  .bento-item.b6 { grid-column: span 2; }
    .fp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-images { height: 360px; }
  .img-one { height: 250px; }
  .img-two { height: 210px; }
  .product-item { width: 220px; }
  .product-img { height: 180px; }
  .float-btn { width: 50px; height: 50px; }
    .p-arrow { display: none; }
  .process-img { height: 240px; }
  .faq-q { font-size: 1.05rem; padding: 16px 18px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
  .enquiry-form { padding: 26px 20px; }
  .map-section iframe { height: 320px; }
    .product-grid { grid-template-columns: 1fr; }
    
    /*
  .pc-info { transform: translateY(0); }
  .pc-link { opacity: 1; } */
  
    .cert-grid, .bento { grid-template-columns: 1fr; }
  .bento-item.b1, .bento-item.b6 { grid-column: span 1; }
  .bento-info { transform: translateY(0); }
  .bento-info p { opacity: 1; }
  .lb { padding: 20px 14px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; margin-top: 0; }
    .machine-grid { grid-template-columns: 1fr; }
  .fp-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .video-section { height: auto; }
  .video-section video { position: static; height: auto; }
  .video-overlay { display: none; }
  .video-content { position: static; padding: 28px 0 36px; }
}

/* ===== Typewriter heading ===== */
.typewriter { position: relative; }
.tw-ghost { visibility: hidden; }              /* keeps the heading's final height, so nothing jumps */
.tw-typed { position: absolute; left: 0; top: 0; width: 100%; }
.tw-typed::after {
  content: ""; display: inline-block; width: 3px; height: .85em;
  background: var(--orange); margin-left: 4px; vertical-align: -.08em;
  animation: blink .8s steps(1) infinite;
}
.tw-typed.done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }

/* ===== Floating particles (footer + page title) ===== */
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.site-footer > .particles { position: absolute; }   /* beats the footer's "position: relative" rule */

/* ===== About page: 1 wide image + 2 small images ===== */
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-gallery img { width: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 14px 32px rgba(18, 38, 63, .2); }
.ag-main { grid-column: span 2; height: 260px; animation: floatA 6s ease-in-out infinite; }
.ag-small { height: 180px; }
.ag-small:nth-of-type(2) { animation: floatB 7s ease-in-out infinite; }
.ag-small:nth-of-type(3) { animation: floatA 5s ease-in-out infinite; }
@media (max-width: 600px) { .ag-main { height: 200px; } .ag-small { height: 130px; } }

@media (max-width: 700px) { .gal-grid.one-col { grid-template-columns: 1fr; } }
.process { position: relative; overflow: hidden; }
.process > .container { position: relative; }   /* keeps the slider above the particles */

/*main > section { position: relative; overflow: hidden; }
main > section > * { position: relative; }   */         /* keeps content above the particles */
/*.video-section > .particles { z-index: 1; }     */      /* shows the dots over the video */

/*main > section { position: relative; overflow: hidden; }
main > section > * { position: relative; }
main > section > canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.video-section > canvas.particles { z-index: 1; }*/

@media (max-width: 900px) {
  .about-images { height: auto; }
  .about-images .img-one { position: relative; width: 68%; height: auto; }
  .about-images .img-two { position: relative; width: 58%; height: auto; margin: -14% 0 0 auto; }
}
/* ===== About page: 3-image collage ===== */
.about-collage { position: relative; isolation: isolate; padding-bottom: 10px; }

.ac-main { position: relative; width: 86%; margin-left: auto; animation: floatA 6s ease-in-out infinite; }
.ac-main::before {                       /* orange frame behind the big image */
  content: ""; position: absolute; top: -10px; right: -10px; width: 60%; height: 60%;
  border: 3px solid var(--orange); border-radius: 6px; z-index: -1;
}
.ac-main img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px rgba(18, 38, 63, .25); }
.ac-badge {
  position: absolute; top: 16px; left: 16px; background: var(--orange); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.15;
  padding: 12px 16px; border-radius: 4px; box-shadow: 0 10px 24px rgba(232, 121, 29, .4);
}

.ac-row { position: relative; display: flex; justify-content: space-between; align-items: flex-start; margin-top: -14%; }
.ac-row img {
  height: auto; border: 6px solid var(--white); border-radius: 6px;
  box-shadow: 0 14px 32px rgba(18, 38, 63, .25);
}
.ac-a { width: 44%; animation: floatB 7s ease-in-out infinite; }
.ac-b { width: 40%; margin: 8% 2% 0 0; animation: floatA 5s ease-in-out infinite; }
