/*
Theme Name: Nezatech
Theme URI: https://nezatechltd.com/
Author: Nezatech Company Limited
Author URI: https://nezatechltd.com/
Description: Custom WordPress theme for Nezatech Company Limited - Medical Equipment & Laboratory Solutions.
Version: 1.0.1
Requires at least: 5.0
Requires PHP: 7.4
Text Domain: nezatech
*/

:root{--navy:#062b4f;--navy2:#0b426f;--blue:#0874b9;--orange:#f26a2e;--orange2:#ff8a50;--ink:#10212e;--muted:#627382;--paper:#f4f7f9;--white:#fff;--line:#dce5eb;--max:1240px;--shadow:0 18px 55px rgba(4,35,58,.11)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}img{max-width:100%;display:block}a{color:inherit}button,input,textarea,select{font:inherit}.wrap{width:min(var(--max),calc(100% - 48px));margin-inline:auto}.utility{background:var(--navy);color:#d8e7f2;font-size:12px}.utility .wrap{min-height:38px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:7px 0}.utility a{text-decoration:none;color:#fff}.utility a:hover{color:var(--orange2)}
.header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:inline-flex;align-items:center;text-decoration:none;width:190px;height:62px;overflow:hidden}.brand img{width:190px;height:190px;max-width:none;object-fit:cover;object-position:center center}.links{display:flex;gap:25px;align-items:center;list-style:none;padding:0;margin:0;font-size:14px;font-weight:750}.links a{text-decoration:none}.links a:hover,.links .active{color:var(--orange)}.quote-btn,.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 19px;font-weight:800;font-size:13px;text-decoration:none;border:1px solid transparent;transition:.2s ease}.quote-btn,.btn-primary{background:var(--orange);color:#fff;box-shadow:0 9px 23px rgba(242,106,46,.2)}.quote-btn:hover,.btn-primary:hover{background:#d95720;transform:translateY(-2px)}.btn-outline{border-color:var(--line);background:#fff;color:var(--navy)}.btn-outline:hover{border-color:var(--blue);color:var(--blue)}.hamb{display:none;border:0;background:#f1f5f7;border-radius:12px;width:44px;height:44px}.hamb span{display:block;width:22px;height:2px;background:var(--navy);margin:4px auto}.mobile{display:none;border-top:1px solid var(--line);padding:8px 24px 16px}.mobile a{display:block;padding:11px 0;border-bottom:1px solid var(--line);text-decoration:none;font-weight:750}.header.open .mobile{display:block}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--navy),#0a3d67 62%,#075d89);color:#fff}.hero:before{content:"";position:absolute;width:680px;height:680px;right:-280px;top:-300px;border-radius:50%;background:rgba(8,116,185,.35)}.hero-grid{min-height:560px;padding:70px 0;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:60px;position:relative}.eyebrow{display:inline-flex;gap:9px;align-items:center;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:900;color:var(--orange2)}.eyebrow:before{content:"";height:2px;width:28px;background:currentColor}.hero h1{font-size:clamp(44px,5.2vw,72px);line-height:1.04;letter-spacing:-.04em;margin:18px 0 20px}.hero h1 span{color:var(--orange2)}.hero p{font-size:17px;line-height:1.7;color:#d2e1eb;max-width:660px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero .btn-outline{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.3);color:#fff}.hero .btn-outline:hover{background:rgba(255,255,255,.13);color:#fff}.hero-stats{display:flex;gap:25px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.15);margin-top:30px;padding-top:22px}.hero-stat strong{display:block;font-size:18px}.hero-stat small{text-transform:uppercase;letter-spacing:.08em;color:#9fb9cb;font-size:9px;font-weight:900}
.slider{position:relative;height:430px;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.18);background:#0a3154;box-shadow:0 28px 75px rgba(0,0,0,.24)}.slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .45s ease}.slide.active{opacity:1;visibility:visible}.slide-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.62}.slide:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(2,22,38,.9))}.slide-body{position:absolute;z-index:2;left:25px;right:25px;bottom:24px}.slide-brand{color:#ff9a67;text-transform:uppercase;letter-spacing:.11em;font-size:10px;font-weight:900}.slide h2{font-size:29px;line-height:1.1;margin:7px 0}.slide p{font-size:13px;color:#d5e4ed;margin:0;max-width:500px}.slide a{display:inline-block;margin-top:12px;color:#fff;font-size:11px;font-weight:800;text-decoration:none}.slider-nav{position:absolute;z-index:5;right:17px;top:17px;display:flex;gap:7px}.dot,.arrow{cursor:pointer;border:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.25);color:#fff}.dot{width:9px;height:9px;border-radius:50%;padding:0}.dot.active{background:#fff}.arrow{width:34px;height:34px;border-radius:50%}
.section{padding:88px 0}.section.white{background:#fff}.section.dark{background:var(--navy);color:#fff}.head{max-width:750px;margin-bottom:40px}.head .kicker,.kicker{font-size:10px;color:var(--orange);font-weight:900;text-transform:uppercase;letter-spacing:.13em}.head h2{font-size:clamp(33px,4vw,48px);line-height:1.08;margin:11px 0}.head p{color:var(--muted);margin:0;font-size:15px}.dark .head p{color:#c3d5e2}.cards{display:grid;gap:17px}.cards-4{grid-template-columns:repeat(4,1fr)}.cards-3{grid-template-columns:repeat(3,1fr)}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px;box-shadow:0 1px 0 rgba(0,0,0,.01)}.card h3{color:var(--navy);font-size:19px;margin:10px 0 7px}.card p{font-size:13px;color:var(--muted);margin:0}.icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;background:#eaf4fa;color:var(--blue);font-weight:900}.split{display:grid;grid-template-columns:1.08fr .92fr;gap:60px;align-items:start}.copy p{color:var(--muted);font-size:15px;margin:0 0 16px}.check{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:11px}.check li{font-size:14px;font-weight:750;display:flex;gap:10px}.check li:before{content:"✓";width:21px;height:21px;display:grid;place-items:center;flex:0 0 21px;border-radius:50%;background:#e8f4fa;color:var(--blue);font-size:11px}.info-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:var(--shadow)}.row{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}.row:last-child{border:0}.row span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:900;letter-spacing:.08em}.row strong{color:var(--navy);text-align:right}
.product-card{overflow:hidden;padding:0}.product-image{height:230px;position:relative;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center}.product-image img{width:100%;height:100%;object-fit:contain;object-position:center;padding:12px;box-sizing:border-box;background:#fff;color:transparent}.product-image img:not([src]),.product-image img::before{content:"";position:absolute;inset:0;display:grid;place-items:center;font-weight:900;color:var(--navy);background:linear-gradient(135deg,#e9f5fb,#c8dfea)}.product-image .fallback{position:absolute;inset:0;display:grid;place-items:center;color:var(--navy);font-size:40px;font-weight:900;background:linear-gradient(135deg,#e9f5fb,#c8dfea)}.product-body{padding:19px}.product-body .brand-tag{color:var(--orange);font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.product-body h3{font-size:18px;margin:6px 0}.product-body p{font-size:12px;color:var(--muted);margin:0 0 14px}.product-body a{font-size:11px;font-weight:900;text-decoration:none;color:var(--blue)}
.brand-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.brand-card{background:#fff;border:1px solid var(--line);border-radius:17px;min-height:150px;padding:20px;display:flex;flex-direction:column;justify-content:space-between}.brand-card strong{font-size:20px;color:var(--navy)}.brand-card span{font-size:11px;color:var(--muted)}.brand-card a{font-size:10px;font-weight:900;color:var(--blue);text-decoration:none;margin-top:10px}
.process{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line)}.step{padding:25px 25px 10px 0;border-right:1px solid var(--line);margin-right:25px}.step:last-child{border-right:0;margin:0}.step-no{font-size:32px;color:var(--orange);font-weight:900}.step h3{font-size:18px;color:var(--navy);margin:8px 0}.step p{font-size:13px;color:var(--muted);margin:0}
.serve{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.serve-card{min-height:185px;border-radius:18px;padding:24px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.13)}.serve-card h3{color:#fff;font-size:20px;margin:8px 0}.serve-card p{color:#bfd2df;font-size:13px;margin:0}
.quote{background:var(--orange);border-radius:23px;padding:45px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.quote h2{font-size:clamp(30px,4vw,44px);line-height:1.05;margin:0}.quote p{color:#ffe8dc;margin:10px 0 0}.quote .btn{background:#fff;color:var(--navy)}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px}.contact-dark{background:var(--navy);color:#fff;border-radius:20px;padding:30px}.contact-dark h2{font-size:30px;margin:8px 0}.contact-dark p{color:#c6d8e4;font-size:13px}.contact-item{padding:15px 0;border-top:1px solid rgba(255,255,255,.13)}.contact-item small{display:block;color:#8eaec3;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.contact-item a,.contact-item span{display:block;color:#fff;text-decoration:none;font-weight:700;font-size:13px;margin-top:4px}.form{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-field.full{grid-column:1/-1}.form label{font-size:11px;font-weight:900;color:var(--navy)}.form input,.form textarea,.form select{width:100%;margin-top:6px;padding:12px;border:1px solid #d1dde5;border-radius:11px;background:#fbfcfd;outline:0}.form textarea{min-height:125px;resize:vertical}.form input:focus,.form textarea:focus,.form select:focus{border-color:#79aeca;box-shadow:0 0 0 4px rgba(8,116,185,.08)}
.footer{background:#041f38;color:#a9c0cf;padding:35px 0 20px}.footer-grid{display:grid;grid-template-columns:1.4fr .6fr .7fr;gap:45px;padding-bottom:25px;border-bottom:1px solid rgba(255,255,255,.1)}.footer .brand{width:180px;height:58px}.footer .brand img{width:180px;height:180px}.footer p{font-size:12px;max-width:400px}.footer h4{font-size:12px;color:#fff;margin:0 0 12px}.footer a{display:block;text-decoration:none;font-size:12px;margin:7px 0}.footer a:hover{color:#fff}.copy{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:11px;padding-top:16px}
.page-hero{background:linear-gradient(135deg,var(--navy),#0b4b78);color:#fff;padding:65px 0}.page-hero h1{font-size:clamp(38px,5vw,58px);margin:10px 0}.page-hero p{max-width:760px;color:#c9dbe7;margin:0;font-size:16px}.breadcrumbs{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#ff9a67}.catalog-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:25px}.search{max-width:360px;width:100%;padding:12px 15px;border:1px solid var(--line);border-radius:999px;background:#fff;outline:0}.category-nav{display:flex;gap:8px;flex-wrap:wrap}.category-nav button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:800;cursor:pointer}.category-nav button.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.reveal{opacity:0;transform:translateY(15px);transition:.55s ease}.reveal.in{opacity:1;transform:none}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.slide{transition:none}}
@media(max-width:1080px){.links,.quote-btn{display:none}.hamb{display:block}.mobile{display:none}.header.open .mobile{display:block}.hero-grid{grid-template-columns:1fr}.slider{max-width:760px;width:100%;margin:auto}.cards-4{grid-template-columns:repeat(2,1fr)}.brand-grid{grid-template-columns:repeat(3,1fr)}.split{grid-template-columns:1fr}.process{grid-template-columns:1fr 1fr}.step:nth-child(2){border-right:0}.step:nth-child(3){border-top:1px solid var(--line)}.serve{grid-template-columns:1fr 1fr}.contact-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.wrap{width:min(var(--max),calc(100% - 28px))}.utility .wrap{justify-content:center;text-align:center;font-size:10px}.nav{height:68px}.brand img{width:155px}.hero-grid{padding:45px 0}.hero h1{font-size:43px}.hero p{font-size:15px}.hero-stats{gap:15px}.slider{height:385px}.slide h2{font-size:24px}.section{padding:65px 0}.cards-4,.cards-3,.brand-grid,.serve,.process,.form-grid{grid-template-columns:1fr}.step{border-right:0!important;border-bottom:1px solid var(--line);margin:0;padding:22px 0}.step:last-child{border-bottom:0}.form-field.full{grid-column:auto}.quote{padding:32px 24px;align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr}.product-image{height:180px}}

/* Final layout safety */
.wrap{max-width:1240px}
main,section,header,footer{max-width:100%;overflow-x:clip}
.brand{flex:0 0 auto}
.brand img{display:block}
.nav nav{min-width:0}
.links{white-space:nowrap}
@media(max-width:1180px){
  .links{gap:16px;font-size:13px}
  .brand{width:170px}.brand img{width:170px;height:170px}
}
@media(max-width:1080px){
  .links,.quote-btn{display:none}.hamb{display:block}
}

/* Final visual fixes: clearer homepage imagery and properly cropped transparent logo. */
.brand{width:210px;height:58px;overflow:visible;display:inline-flex;align-items:center}
.brand img{width:210px;height:auto;max-height:58px;object-fit:contain;object-position:center;display:block}
.footer .brand{width:210px;height:58px;overflow:visible}
.footer .brand img{width:210px;height:auto;max-height:58px;object-fit:contain;display:block}
.slider{background:#0a3154}
.slide-bg{opacity:.9;image-rendering:auto}
.slide:after{background:linear-gradient(180deg,rgba(0,0,0,.02) 0%,rgba(2,22,38,.72) 100%)}
@media(max-width:1180px){.brand{width:190px}.brand img{width:190px}.footer .brand,.footer .brand img{width:190px}}
@media(max-width:650px){.brand{width:175px;height:50px}.brand img{width:175px;max-height:50px}.footer .brand,.footer .brand img{width:175px;max-height:50px}.slide-bg{opacity:.92}}

/* Selected products: prioritize clear, uncropped product photography. */
.section.white .product-card .product-image{height:250px;background:#fff}
.section.white .product-card .product-image img{object-fit:contain;object-position:center;padding:14px;background:#fff}
@media(max-width:650px){.section.white .product-card .product-image{height:220px}}

/* Selected Products final image visibility fix */
.section.white .product-card .product-image{height:260px;background:#f7fbfd;padding:0}
.section.white .product-card .product-image img{width:100%;height:100%;object-fit:contain;object-position:center;padding:10px;background:#f7fbfd}
.section.white .product-card .product-image img[src$="bsc.svg"],.section.white .product-card .product-image img[src$="freezer.svg"]{padding:0}
@media(max-width:650px){.section.white .product-card .product-image{height:230px}}

/* WordPress homepage product-image reliability */
.product-image img{display:block;max-width:100%;}
.section.white .product-card .product-image{background:#f7fbfd;}
.section.white .product-card .product-image img{opacity:1;visibility:visible;}
