
/* ===================================================
   SANTRONICS SOLUTIONS — UNIFIED SITE STYLESHEET
   Design: Clean corporate, light theme, green accent
   =================================================== */

/* ---- RESET & BASE ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --green: #5c9e31;
  --green-light: #7ab84a;
  --green-dark: #427020;
  --green-bg: #f0f7e8;
  --green-subtle: #e8f5d8;
  --charcoal: #1a2332;
  --charcoal-mid: #2d3f55;
  --grey-dark: #4a5568;
  --grey-mid: #718096;
  --grey-light: #e2e8f0;
  --grey-bg: #f7f9fc;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1200px;
  --transition: all 0.3s ease;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--white); color: var(--charcoal); overflow-x: hidden; line-height: 1.6; }
::selection { background: var(--green); color: white; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--grey-bg); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { color: var(--grey-dark); }

/* ---- LAYOUT HELPERS ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-alt { background: var(--grey-bg); }
.section-green { background: var(--green-bg); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--green); background: var(--green-subtle); border-radius: 30px; padding: 4px 14px; margin-bottom: 14px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-title .accent { color: var(--green); }
.section-desc { color: var(--grey-mid); max-width: 580px; margin: 0 auto; font-size: 1rem; line-height: 1.8; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: var(--transition); border: 2px solid transparent; letter-spacing: 0.3px; }
.btn-green { background: var(--green); color: white; border-color: var(--green); box-shadow: 0 4px 16px rgba(92,158,49,0.25); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(92,158,49,0.35); color: white; }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: white; transform: translateY(-2px); }
.btn-outline-green { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: white; transform: translateY(-2px); }

/* ---- NAVBAR ---- */
#mainHeader { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; height: 72px; display: flex; align-items: center; background: rgba(255,255,255,0.98); border-bottom: 1px solid rgba(0,0,0,0.06); transition: var(--transition); }
#mainHeader.scrolled { box-shadow: var(--shadow-md); backdrop-filter: blur(10px); }
.nav-container { max-width: var(--max-w); width: 100%; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img { height: 38px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--charcoal); letter-spacing: 1.5px; }
.nav-logo-sub { font-size: 0.55rem; font-weight: 600; color: var(--green); letter-spacing: 3px; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--grey-dark); font-weight: 500; font-size: 0.9rem; padding: 6px 12px; border-radius: 6px; position: relative; transition: var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: 2px; left: 12px; width: 0; height: 2px; background: var(--green); border-radius: 2px; transition: width 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); background: var(--grey-bg); }
.nav-links a:hover::after, .nav-links a.active::after { width: calc(100% - 24px); }
.nav-links .nav-admin { color: var(--grey-mid); font-size: 0.85rem; }
.btn-nav-cta { padding: 9px 22px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; background: var(--green); color: white; border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 2px 10px rgba(92,158,49,0.3); }
.btn-nav-cta:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(92,158,49,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }
.mobile-nav { position: fixed; top: 0; right: -100%; width: min(300px, 86vw); max-width: 320px; height: 100vh; background: white; z-index: 9998; padding: 90px 24px 40px; transition: right 0.4s cubic-bezier(0.77,0,0.175,1); box-shadow: -4px 0 30px rgba(0,0,0,0.08); display: flex; flex-direction: column; border-left: 3px solid var(--green); }
.mobile-nav.open { right: 0; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav ul li a { display: block; color: var(--charcoal); font-size: 1rem; font-weight: 600; padding: 10px 14px; border-radius: 8px; transition: var(--transition); }
.mobile-nav ul li a:hover, .mobile-nav ul li a.active { color: var(--green); background: var(--green-subtle); }
.btn-nav-mobile { margin-top: auto; padding: 13px; border-radius: 10px; background: var(--green); color: white; border: none; font-weight: 700; font-size: 0.95rem; width: 100%; cursor: pointer; letter-spacing: 0.5px; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 9997; opacity: 0; visibility: hidden; transition: var(--transition); }
.nav-backdrop.open { opacity: 1; visibility: visible; }
@media(max-width:900px) { .nav-links, .btn-nav-cta { display: none; } .hamburger { display: flex; } }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-mid) 100%); padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(92,158,49,0.12) 0%, transparent 60%), radial-gradient(circle at 80% 50%, rgba(92,158,49,0.08) 0%, transparent 50%); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 12px; }
.page-hero .breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 12px; }
.page-hero .breadcrumb a { color: var(--green-light); }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ---- CARDS ---- */
.card { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--grey-light); transition: var(--transition); overflow: hidden; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: rgba(92,158,49,0.2); }

/* ---- SERVICE CARDS ---- */
.service-card { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--grey-light); transition: var(--transition); overflow: hidden; display: flex; flex-direction: column; height: 100%; position: relative; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: rgba(216, 115, 57, 0.3); }
.service-card-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-img-wrap { overflow: hidden; position: relative; height: 220px; }
.service-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(26,35,50,0.5) 100%); }
.service-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card-icon { width: 46px; height: 46px; background: var(--green-subtle); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 1.1rem; margin-bottom: 14px; }
.service-card-title { font-size: 1.05rem; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.service-card-desc { font-size: 0.88rem; color: var(--grey-dark); line-height: 1.7; flex: 1; }
.service-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.82rem; font-weight: 600; color: var(--green); transition: gap 0.3s ease; }
.service-card-link:hover { gap: 10px; color: var(--green-dark); }
/* Mouse-glow effect on service cards */
.service-card { --glow-x: 50%; --glow-y: 50%; }
.service-card::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-md); background: radial-gradient(circle 160px at var(--glow-x) var(--glow-y), rgba(92,158,49,0.80), transparent 90%); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 0; }
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

/* ---- PRODUCT CARDS ---- */
.product-card { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--grey-light); transition: var(--transition); overflow: hidden; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: rgba(92,158,49,0.25); }
.product-img-wrapper { position: relative; height: 220px; overflow: hidden; background: var(--grey-bg); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.07); }
.stock-badge { position: absolute; top: 12px; left: 12px; font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.badge-mass { background: #dcfce7; color: #15803d; }
.badge-prototype { background: #fef3c7; color: #92400e; }
.badge-custom { background: #ede9fe; color: #5b21b6; }
.badge-oem { background: #e0f2fe; color: #0369a1; }
.badge-bto { background: var(--green-subtle); color: var(--green-dark); }
.optional-badge { position: absolute; top: 12px; right: 12px; font-size: 0.6rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: var(--green); color: white; letter-spacing: 0.5px; }
.product-info { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-title { font-size: 1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.product-category { font-size: 0.72rem; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.product-desc { font-size: 0.85rem; color: var(--grey-dark); line-height: 1.6; flex: 1; }
.product-divider { border: none; border-top: 1px solid var(--grey-light); margin: 16px 0; }
.product-mfg-label { font-size: 0.72rem; color: var(--grey-mid); font-style: italic; margin-bottom: 12px; }
.btn-corporate { display: block; width: 100%; padding: 11px; border-radius: 8px; background: var(--charcoal); color: white; border: none; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: var(--transition); text-align: center; }
.btn-corporate:hover { background: var(--green); transform: translateY(-2px); }

/* ---- FILTER SECTION ---- */
.filter-section { max-width: var(--max-w); margin: 0 auto; padding: 32px 24px 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.search-bar { flex: 1; min-width: 220px; padding: 11px 18px; border: 1.5px solid var(--grey-light); border-radius: 50px; font-size: 0.9rem; color: var(--charcoal); outline: none; transition: var(--transition); background: white; }
.search-bar:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(92,158,49,0.1); }
#filterButtons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { padding: 8px 18px; border-radius: 50px; border: 1.5px solid var(--grey-light); background: white; color: var(--grey-dark); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.filter-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-subtle); }
.filter-btn.active { background: var(--green); color: white; border-color: var(--green); }

/* ---- PRODUCTS GRID ---- */
.products-grid { max-width: var(--max-w); margin: 0 auto; padding: 36px 24px 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fade-out { opacity: 0; transition: opacity 0.3s ease; }

/* ---- PAGE HEADER (products) ---- */
.page-header { background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-mid) 100%); padding: 140px 24px 80px; text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(92,158,49,0.15) 0%, transparent 60%); }
.page-header h1 { color: white; position: relative; z-index: 1; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.65); position: relative; z-index: 1; max-width: 500px; margin: 0 auto; }
.hero-graphics { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tech-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(92,158,49,0.2); animation: ringPulse 4s ease-in-out infinite; }
.ring-1 { width: 280px; height: 280px; top: -80px; right: 5%; animation-delay: 0s; }
.ring-2 { width: 180px; height: 180px; bottom: -40px; left: 10%; animation-delay: 1.5s; }
.glow-node { position: absolute; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 16px 4px rgba(92,158,49,0.4); animation: nodePulse 3s ease-in-out infinite; }
.n1 { width: 8px; height: 8px; top: 35%; right: 20%; animation-delay: 0.5s; }
.n2 { width: 6px; height: 6px; top: 60%; right: 35%; animation-delay: 1s; }
.n3 { width: 5px; height: 5px; bottom: 30%; left: 25%; animation-delay: 1.5s; }
.scan-line { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(92,158,49,0.4), transparent); top: 0; animation: scanDown 5s linear infinite; }
.animate-fade-up { animation: fadeUp 0.8s ease forwards; }
.max-w-600-center { max-width: 560px; margin: 0 auto; }
.text-muted { color: rgba(255,255,255,0.6) !important; }
@keyframes ringPulse { 0%,100%{transform:scale(1);opacity:.3} 50%{transform:scale(1.05);opacity:.6} }
@keyframes nodePulse { 0%,100%{opacity:.4;transform:scale(1)} 50%{opacity:1;transform:scale(1.4)} }
@keyframes scanDown { from{top:0} to{top:100%} }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ---- GALLERY ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(26,35,50,0); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; }
.gallery-item:hover .gallery-overlay { background: rgba(26,35,50,0.55); }
.gallery-zoom { color: white; font-size: 1.5rem; opacity: 0; transform: scale(0.7); transition: all 0.3s ease; }
.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }
/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,15,26,0.95); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox-close { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.1); border: none; color: white; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-close:hover { background: var(--green); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; width: 50px; height: 50px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-nav:hover { background: var(--green); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* ---- ABOUT PAGE ---- */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { width: 100%; border-radius: var(--radius-lg); object-fit: cover; height: 480px; box-shadow: var(--shadow-lg); }
.process-img, .quality-img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; height: 420px; box-shadow: var(--shadow-lg); }
.about-img-badge { position: absolute; bottom: -24px; right: -24px; background: var(--green); color: white; border-radius: var(--radius-md); padding: 20px 24px; text-align: center; box-shadow: 0 10px 30px rgba(92,158,49,0.4); }
.about-img-badge .num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; }
.about-img-badge .lbl { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }
.about-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.about-list-item { display: flex; align-items: flex-start; gap: 12px; color: var(--grey-dark); font-size: 0.92rem; }
.check-dot { width: 22px; height: 22px; background: var(--green-subtle); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 0.65rem; flex-shrink: 0; margin-top: 1px; }
.capabilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.capability-card { background: white; border: 1px solid var(--grey-light); border-radius: var(--radius-md); padding: 28px 22px; text-align: center; transition: var(--transition); }
.capability-card:hover { border-color: rgba(92,158,49,0.3); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cap-icon { width: 56px; height: 56px; background: var(--green-subtle); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 1.3rem; margin: 0 auto 14px; }
.cap-title { font-size: 0.95rem; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.cap-desc { font-size: 0.82rem; color: var(--grey-mid); line-height: 1.6; }
.value-card { background: var(--green); color: white; border-radius: var(--radius-md); padding: 28px; text-align: center; }
.value-card h3 { color: white; font-size: 1rem; margin-bottom: 8px; }
.value-card p { color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.value-icon { font-size: 1.8rem; margin-bottom: 14px; }

/* ---- CONTACT PAGE ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; }
.contact-info-card { background: var(--charcoal); color: white; border-radius: var(--radius-lg); padding: 40px 36px; position: sticky; top: 100px; }
.contact-info-card h3 { color: white; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,0.6); margin-bottom: 32px; font-size: 0.9rem; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-item-icon { width: 44px; height: 44px; background: rgba(92,158,49,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--green-light); font-size: 1rem; flex-shrink: 0; }
.contact-item-text label { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.contact-item-text span, .contact-item-text a { color: rgba(255,255,255,0.85); font-size: 0.92rem; display: block; }
.contact-item-text a:hover { color: var(--green-light); }
.contact-form-card { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--grey-light); }
.contact-form-card h3 { margin-bottom: 6px; }
.contact-form-card > p { color: var(--grey-mid); margin-bottom: 28px; font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; letter-spacing: 0.3px; }
.form-group label .req { color: var(--green); }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--grey-light); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--charcoal); outline: none; transition: var(--transition); background: var(--grey-bg); font-family: var(--font-body); }
.form-control:focus { border-color: var(--green); background: white; box-shadow: 0 0 0 3px rgba(92,158,49,0.1); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-submit { width: 100%; padding: 14px; border-radius: 50px; background: var(--green); color: white; border: none; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; }
.form-submit:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(92,158,49,0.35); }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.88rem; display: none; }
.form-msg.success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; display: block; }
.form-msg.error { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; display: block; }
.form-field-error { font-size: 0.75rem; color: #dc2626; margin-top: 4px; }
.map-iframe-container iframe { width: 100%; height: 450px; border: 0; display: block; }
@media(max-width: 768px) {
  .map-iframe-container iframe { height: 320px; }
}

/* ---- ADMIN PORTAL ---- */
.admin-portal { min-height: 100vh; background: var(--grey-bg); }
.login-page { min-height: 100vh; background: var(--grey-bg); display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { background: white; border-radius: var(--radius-lg); padding: 50px 44px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); border: 1px solid var(--grey-light); }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo img { height: 44px; margin: 0 auto 10px; }
.login-logo h2 { font-size: 1.1rem; color: var(--charcoal); margin: 0; }
.login-logo p { font-size: 0.78rem; color: var(--grey-mid); margin-top: 4px; }
.login-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.login-input-wrap { position: relative; margin-bottom: 16px; }
.login-input { width: 100%; padding: 12px 44px 12px 44px; border: 1.5px solid var(--grey-light); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--charcoal); outline: none; transition: var(--transition); background: var(--grey-bg); }
.login-input:focus { border-color: var(--green); background: white; box-shadow: 0 0 0 3px rgba(92,158,49,0.1); }
.login-input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--grey-mid); font-size: 0.85rem; }
.toggle-password { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--grey-mid); font-size: 0.85rem; cursor: pointer; background: none; border: none; padding: 0; }
.login-btn { width: 100%; padding: 13px; border-radius: 50px; background: var(--green); color: white; border: none; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: var(--transition); margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.login-btn:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(92,158,49,0.4); }
.login-btn.loading { opacity: 0.7; pointer-events: none; }
.login-error { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.82rem; margin-top: 12px; display: none; }
.login-hint { margin-top: 20px; text-align: center; font-size: 0.78rem; color: var(--grey-mid); background: var(--grey-bg); padding: 10px; border-radius: 8px; }
/* Dashboard */
.dashboard-layout { display: flex; min-height: calc(100vh - 72px); margin-top: 72px; }
.sidebar { width: 240px; background: var(--charcoal); color: white; flex-shrink: 0; display: flex; flex-direction: column; position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; }
.sidebar-brand { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 10px; }
.sidebar-brand img { height: 30px; filter: brightness(10); }
.sidebar-brand span { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: 1.5px; text-transform: uppercase; }
.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; color: rgba(255,255,255,0.6); font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: var(--transition); margin-bottom: 4px; }
.sidebar-nav-item:hover, .sidebar-nav-item.active { background: rgba(92,158,49,0.2); color: var(--green-light); }
.sidebar-nav-item i { width: 16px; text-align: center; }
.sidebar-logout { padding: 16px 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.btn-logout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border-radius: 8px; background: rgba(220,38,38,0.15); color: #fca5a5; border: none; cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.btn-logout:hover { background: rgba(220,38,38,0.3); color: #f87171; }
.dashboard-main { flex: 1; padding: 36px; overflow-y: auto; }
.dashboard-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.dashboard-topbar h1 { font-size: 1.5rem; }
.dashboard-topbar .welcome { color: var(--grey-mid); font-size: 0.88rem; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.dash-stat { background: white; border-radius: var(--radius-md); padding: 22px; border: 1px solid var(--grey-light); box-shadow: var(--shadow-sm); }
.dash-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--charcoal); line-height: 1; }
.dash-stat-lbl { font-size: 0.72rem; font-weight: 600; color: var(--grey-mid); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.dash-stat-icon { font-size: 1.2rem; color: var(--green); margin-bottom: 10px; }
.panel { background: white; border-radius: var(--radius-md); padding: 28px; border: 1px solid var(--grey-light); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.panel-title { font-size: 1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--grey-light); }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; }
.form-group-admin { margin-bottom: 16px; }
.form-group-admin label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--charcoal); margin-bottom: 5px; }
.form-control-admin { width: 100%; padding: 10px 14px; border: 1.5px solid var(--grey-light); border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--charcoal); outline: none; transition: var(--transition); background: var(--grey-bg); }
.form-control-admin:focus { border-color: var(--green); background: white; box-shadow: 0 0 0 3px rgba(92,158,49,0.08); }
.btn-admin-submit { padding: 11px 24px; border-radius: 8px; background: var(--green); color: white; border: none; font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: var(--transition); }
.btn-admin-submit:hover { background: var(--green-dark); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 10px 14px; font-size: 0.72rem; font-weight: 700; color: var(--grey-mid); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1.5px solid var(--grey-light); }
.data-table td { padding: 12px 14px; font-size: 0.88rem; color: var(--charcoal); border-bottom: 1px solid var(--grey-light); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--grey-bg); }
.btn-edit { background: var(--green-subtle); color: var(--green-dark); border: none; padding: 6px 12px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-edit:hover { background: var(--green); color: white; }
.btn-delete { background: #fef2f2; color: #dc2626; border: none; padding: 6px 12px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: var(--transition); margin-left: 6px; }
.btn-delete:hover { background: #dc2626; color: white; }
.action-btns { display: flex; gap: 6px; }
.image-preview { max-width: 100%; height: 100px; object-fit: cover; border-radius: 8px; margin-top: 10px; display: none; border: 1px solid var(--grey-light); }
.tab-panels { display: none; }
.tab-panels.active { display: block; }

/* ---- FOOTER (ADMIN NAVBAR LIGHT GREEN THEME) ---- */
.site-footer { 
  background: #E8F5E9 !important; 
  color: #2E4829; 
  border-top: 1px solid #C8E6C9;
}
.footer-top { 
  border-bottom: 1px solid #C8E6C9; 
  padding: 70px 0 50px; 
}
.footer-grid { 
  display: grid; 
  grid-template-columns: 2fr 1fr 1fr 1.4fr; 
  gap: 50px; 
}
.footer-brand-col {}
.footer-brand-logo { 
  display: inline-flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 16px; 
  text-decoration: none;
}
.footer-brand-logo img { 
  height: 42px !important; 
  width: auto !important;
  max-width: 130px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  mix-blend-mode: multiply !important;
  filter: none !important;
}
.footer-brand-name { 
  font-family: var(--font-head), 'Poppins', sans-serif; 
  font-size: 1.05rem; 
  font-weight: 800; 
  color: #1B5E20 !important; 
  letter-spacing: 1.5px; 
  line-height: 1.2;
}
.footer-brand-sub { 
  font-size: 0.58rem; 
  font-weight: 700; 
  color: #2E7D32 !important; 
  letter-spacing: 2.5px; 
  text-transform: uppercase; 
  margin-top: 1px; 
  line-height: 1;
}
.footer-brand-desc { 
  font-size: 0.88rem; 
  line-height: 1.8; 
  color: #374151; 
  margin-bottom: 20px; 
}
.footer-tag { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  font-size: 0.65rem; 
  font-weight: 700; 
  letter-spacing: 1.5px; 
  color: #1B5E20; 
  background: #C8E6C9;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase; 
}
.footer-tag-dot { 
  width: 6px; 
  height: 6px; 
  background: #2E7D32; 
  border-radius: 50%; 
  animation: tagBlink 2s ease-in-out infinite; 
}
@keyframes tagBlink { 0%,100%{opacity:1} 50%{opacity:.3} }
.footer-social { 
  display: flex; 
  gap: 8px; 
  margin-top: 20px; 
}
.social-btn { 
  width: 36px; 
  height: 36px; 
  background: #C8E6C9; 
  border: 1px solid #A5D6A7;
  border-radius: 8px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #1B5E20; 
  text-decoration: none; 
  font-size: 0.9rem; 
  transition: var(--transition); 
}
.social-btn:hover { 
  background: #2E7D32; 
  border-color: #2E7D32;
  color: white; 
  transform: translateY(-3px); 
}
.footer-col h4 { 
  font-size: 0.78rem; 
  font-weight: 700; 
  letter-spacing: 2px; 
  color: #1B5E20; 
  text-transform: uppercase; 
  margin-bottom: 18px; 
  padding-bottom: 10px; 
  border-bottom: 2px solid #81C784; 
}
.footer-links { 
  display: flex; 
  flex-direction: column; 
  gap: 9px; 
}
.footer-links a { 
  color: #374151; 
  font-size: 0.88rem; 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  font-weight: 500;
  transition: var(--transition); 
  text-decoration: none;
}
.footer-links a::before { 
  content: '›'; 
  color: #2E7D32; 
  font-size: 1.1rem; 
  font-weight: 700;
}
.footer-links a:hover { 
  color: #1B5E20; 
  padding-left: 5px; 
  font-weight: 600;
}
.footer-contact-item { 
  display: flex; 
  align-items: flex-start; 
  gap: 12px; 
  margin-bottom: 14px; 
}
.footer-contact-icon { 
  width: 34px; 
  height: 34px; 
  background: #C8E6C9; 
  border: 1px solid #A5D6A7;
  border-radius: 6px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #1B5E20; 
  font-size: 0.85rem; 
  flex-shrink: 0; 
}
.footer-contact-text label { 
  display: block; 
  font-size: 0.62rem; 
  font-weight: 700; 
  letter-spacing: 1.2px; 
  text-transform: uppercase; 
  color: #2E7D32; 
  margin-bottom: 2px; 
}
.footer-contact-text span, 
.footer-contact-text a { 
  color: #374151; 
  font-size: 0.85rem; 
  display: block; 
  line-height: 1.5;
  text-decoration: none;
}
.footer-contact-text a:hover { 
  color: #1B5E20; 
  font-weight: 600;
}
.footer-bottom { 
  padding: 22px 0; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 10px; 
}
.footer-bottom p { 
  font-size: 0.82rem; 
  color: #4B5563; 
}
.footer-bottom p strong { 
  color: #1B5E20; 
}
.footer-legal { 
  display: flex; 
  gap: 20px; 
}
.footer-legal a { 
  font-size: 0.8rem; 
  color: #2E7D32; 
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease; 
}
.footer-legal a:hover { 
  color: #1B5E20; 
  text-decoration: underline;
}

/* ---- FLOATING BUTTONS ---- */
.floating-actions { position: fixed; bottom: 28px; right: 28px; z-index: 998; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-btn { display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; transition: var(--transition); box-shadow: var(--shadow-md); text-decoration: none; }
.float-btn-enquiry { background: var(--green); color: white; }
.float-btn-enquiry:hover { background: var(--green-dark); transform: translateY(-3px); color: white; }
.float-btn-wa { background: #25d366; color: white; border-radius: 50%; width: 48px; height: 48px; padding: 0; justify-content: center; }
.float-btn-wa:hover { background: #1da851; transform: translateY(-3px); color: white; }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0); }

/* ---- STATS STRIP ---- */
.stats-strip { background: var(--green); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-block { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-block:last-child { border-right: none; }
.stat-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: white; line-height: 1; }
.stat-lbl { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.75); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 6px; }

/* ---- RESPONSIVE SYSTEM ---- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* TABLET LANDSCAPE (<= 1024px) */
@media(max-width: 1024px) {
  .container { padding: 0 20px; }
  .grid-3, .capabilities-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-info-card { position: static; }
  .dash-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .admin-grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .dashboard-layout { flex-direction: column; }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
  }
  .sidebar-brand { display: none; }
  .sidebar-nav {
    display: flex;
    flex-direction: row;
    padding: 0;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar-nav-item {
    padding: 9px 14px;
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 0.82rem;
  }
  .sidebar-logout { display: none; }
}

/* TABLET PORTRAIT (<= 768px) */
@media(max-width: 768px) {
  .section { padding: 50px 0; }
  .page-header { padding: 110px 20px 50px; }
  .page-hero { padding: 110px 0 50px; }
  .grid-2, .about-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-main, .process-img, .quality-img { height: 280px; }
  .about-img-badge {
    bottom: 12px;
    right: 12px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
  }
  .about-img-badge .num { font-size: 1.4rem; }
  .about-img-badge .lbl { font-size: 0.6rem; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form-card { padding: 30px 22px; }
  .contact-info-card { padding: 30px 22px; }
  .values-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block { border-bottom: 1px solid rgba(255,255,255,0.2); padding: 16px 10px; }
  .dashboard-main { padding: 16px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 0.95rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 16px; right: 16px; width: 38px; height: 38px; font-size: 1rem; }
}

/* SMARTPHONES (<= 600px) */
@media(max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn, .hero-btns a { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { flex-direction: column; gap: 14px; align-items: center; }
  .promo-strip-inner { flex-direction: column; gap: 8px; text-align: center; }
  .promo-sep { display: none; }
  .nav-logo-title { font-size: 0.95rem; }
  .nav-logo-sub { font-size: 0.5rem; letter-spacing: 2px; }
  .modal-meta-grid { grid-template-columns: 1fr; gap: 10px; }
  .modal-footer { flex-direction: column; align-items: stretch; }
  .modal-actions-left { flex-direction: column; }
  .modal-actions-left a { justify-content: center; width: 100%; }
  .btn-modal-close { width: 100%; }
}

/* SMALL SMARTPHONES (<= 480px) */
@media(max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 42px 0; }
  .filter-section { flex-direction: column; align-items: stretch; gap: 10px; padding: 20px 16px 0; }
  .search-bar { width: 100%; min-width: 0; }
  #filterButtons { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .filter-btn { white-space: nowrap; padding: 6px 14px; font-size: 0.78rem; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .dash-stats { grid-template-columns: 1fr; gap: 12px; }
  .stat-num { font-size: 2rem; }
  .contact-item { gap: 12px; }
  .contact-item-icon { width: 38px; height: 38px; font-size: 0.85rem; }
  .floating-actions { bottom: 18px; right: 16px; gap: 8px; }
  .float-btn { padding: 9px 15px; font-size: 0.72rem; }
  .float-btn-wa { width: 42px; height: 42px; }
  .login-card { padding: 32px 20px; }
  .panel { padding: 18px 14px; }
  .data-table th, .data-table td { padding: 9px 10px; font-size: 0.78rem; }
}
