/* ============================================================
   GREENTECH INDUSTRIES — SHARED DESIGN SYSTEM
   Font: Plus Jakarta Sans (display) + Inter (body)
   Theme: Clean precision-industrial, light
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --green:        #059669;
  --green-dark:   #047857;
  --green-deep:   #064e3b;
  --green-light:  #d1fae5;
  --green-faint:  #f0fdf4;
  --blue:         #2563eb;
  --blue-dark:    #1d4ed8;
  --blue-faint:   #eff6ff;
  --teal:         #0d9488;
  --ink:          #0f172a;
  --ink-2:        #1e293b;
  --text-body:    #475569;
  --text-muted:   #94a3b8;
  --text-label:   #64748b;
  --border:       #e2e8f0;
  --border-soft:  #f1f5f9;
  --surface:      #ffffff;
  --surface-alt:  #f8fafc;
  --grad-primary: linear-gradient(135deg, #059669, #2563eb);
  --grad-green:   linear-gradient(135deg, #059669, #0d9488);
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.10);
  --shadow-xl:    0 24px 64px rgba(0,0,0,.12);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ff-head: 'Plus Jakarta Sans', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text-body);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
.display-head {
  font-family: var(--ff-head);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
  color: var(--ink);
}
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.022em;
}
.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  color: var(--text-body);
  font-size: .97rem;
  line-height: 1.75;
  font-weight: 400;
  max-width: 560px;
  margin: .9rem auto 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-faint);
  border: 1px solid rgba(5,150,105,.18);
  border-radius: 100px;
  padding: .32rem .9rem;
  margin-bottom: 1.1rem;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  animation: edot 2.2s ease-in-out infinite;
}
@keyframes edot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(1.5)} }
.divider-bar {
  width: 40px; height: 3px;
  background: var(--grad-primary);
  border-radius: 3px;
  margin: 1rem 0 1.6rem;
}

/* ── ANNOUNCE BAR ── */
.announce-bar {
  background: var(--ink);
  padding: .45rem 0;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .07em;
  color: rgba(255,255,255,.55);
}
.announce-bar a { color: #6ee7b7; text-decoration: none; margin-left: .5rem; }
.announce-bar a:hover { text-decoration: underline; }

/* ── NAVBAR ── */
.navbar-main {
  position: fixed; width: 100%; z-index: 1000; top: 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  padding: .7rem 0;
  transition: box-shadow .3s;
}
.navbar-main.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.navbar-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.navbar-brand img { height: 42px; }
.brand-name {
  font-family: var(--ff-head);
  font-weight: 800; font-size: 1.05rem;
  color: var(--ink); letter-spacing: -.01em;
}
.brand-name span { color: var(--green); }
.nav-link-custom {
  font-family: var(--ff-body);
  font-weight: 500; font-size: .84rem;
  color: var(--text-body) !important;
  padding: .45rem .9rem !important;
  border-radius: var(--r-sm);
  transition: all .2s;
}
.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--green) !important;
  background: var(--green-faint);
}
.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  border-radius: 100px;
  padding: .5rem 1.4rem !important;
  font-weight: 600 !important;
  transition: all .25s;
}
.nav-cta:hover { background: var(--green-dark) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(5,150,105,.25); }
.nav-cta.active { background: var(--green-dark) !important; color: #fff !important; }
.nav-dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem; min-width: 200px;
}
.dropdown-item-custom {
  padding: .55rem .9rem; font-size: .84rem; font-weight: 500;
  color: var(--text-body);
  border-radius: var(--r-sm);
  display: flex; align-items: center; gap: .5rem;
  transition: all .15s;
}
.dropdown-item-custom:hover { background: var(--green-faint); color: var(--green); }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(160deg,#f0fdf4 0%,#f8fafc 50%,#eff6ff 100%);
  padding: 7.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px), linear-gradient(90deg,rgba(148,163,184,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-header-eyebrow {
  font-family: var(--ff-mono);
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--green);
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .9rem;
}
.page-header-eyebrow::before { content:''; width:20px;height:1px;background:var(--green); }
.page-header-title {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: .8rem;
}
.breadcrumb { background: none; padding: 0; margin: 0 0 1rem; }
.breadcrumb-item a { color: var(--green); text-decoration: none; font-size: .82rem; font-family: var(--ff-mono); }
.breadcrumb-item.active { color: var(--text-muted); font-size: .82rem; font-family: var(--ff-mono); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ── BUTTONS ── */
.btn-primary-g {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--ink); color: white; border: none;
  padding: .82rem 1.9rem; border-radius: 100px;
  font-family: var(--ff-head); font-weight: 700; font-size: .88rem;
  text-decoration: none; transition: all .3s; cursor: pointer;
}
.btn-primary-g:hover { background: var(--green-dark); color: white; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(5,150,105,.28); }
.btn-outline-g {
  display: inline-flex; align-items: center; gap: .55rem;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border);
  padding: .82rem 1.9rem; border-radius: 100px;
  font-family: var(--ff-head); font-weight: 700; font-size: .88rem;
  text-decoration: none; transition: all .3s; cursor: pointer;
}
.btn-outline-g:hover { border-color: var(--green); color: var(--green); background: var(--green-faint); }
.btn-sm-g {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--border); background: transparent;
  border-radius: 100px; padding: .48rem 1.1rem;
  text-decoration: none; transition: all .22s;
}
.btn-sm-g:hover { border-color: var(--green); color: var(--green); background: var(--green-faint); }

/* ── CARDS ── */
.card-g {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all .3s;
}
.card-g:hover { border-color: rgba(5,150,105,.25); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-g-top-accent::before {
  content: ''; display: block;
  height: 3px; background: var(--grad-primary);
  border-radius: 3px 3px 0 0;
  margin-bottom: 0;
}

/* ── FORMS ── */
.form-label-g {
  font-family: var(--ff-mono); font-size: .7rem;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-label); display: block; margin-bottom: .42rem;
}
.form-ctrl-g {
  width: 100%; background: white;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: .78rem 1rem;
  font-family: var(--ff-body); font-size: .9rem; color: var(--ink);
  outline: none; transition: all .25s;
  appearance: none;
}
.form-ctrl-g:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(5,150,105,.1); }
.form-ctrl-g::placeholder { color: var(--text-muted); }
.form-section-head {
  font-family: var(--ff-mono); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); display: flex; align-items: center; gap: .5rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--green-faint);
  margin-bottom: 1.4rem; margin-top: 2rem;
}

/* ── ALERTS ── */
.alert-success-g {
  background: var(--green-faint); border: 1px solid rgba(5,150,105,.25);
  border-radius: var(--r-sm); padding: .9rem 1.1rem;
  color: var(--green-deep); font-weight: 600; font-size: .88rem;
  display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem;
}
.alert-error-g {
  background: #fff5f5; border: 1px solid #fca5a5;
  border-radius: var(--r-sm); padding: .9rem 1.1rem;
  color: #b91c1c; font-weight: 600; font-size: .88rem;
  display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem;
}

/* ── TICKER ── */
.ticker-strip {
  background: var(--ink); padding: .65rem 0; overflow: hidden; position: relative;
}
.ticker-strip::before, .ticker-strip::after {
  content:''; position:absolute; top:0;bottom:0;width:60px;z-index:2;
}
.ticker-strip::before { left:0; background:linear-gradient(90deg,var(--ink),transparent); }
.ticker-strip::after { right:0; background:linear-gradient(-90deg,var(--ink),transparent); }
.ticker-track { display:flex; white-space:nowrap; animation:ticker 35s linear infinite; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--ff-mono); font-size:.72rem; letter-spacing:.06em;
  color:rgba(255,255,255,.5); padding:0 1.5rem;
}
.ticker-dot { width:3px;height:3px;background:var(--green);border-radius:50%; }
.ticker-hi { color:rgba(255,255,255,.88); }

/* ── SCROLL TOP ── */
#scrollTop {
  position:fixed; bottom:2rem; right:2rem;
  width:42px; height:42px;
  background:var(--ink); border:1px solid rgba(255,255,255,.1);
  color:white; border-radius:var(--r-sm);
  cursor:pointer; font-size:.95rem;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform:translateY(10px);
  transition:all .3s; z-index:999;
}
#scrollTop.visible { opacity:1; transform:translateY(0); }
#scrollTop:hover { background:var(--green); transform:translateY(-3px); }

/* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .65s ease,transform .65s ease; }
.reveal.in { opacity:1; transform:translateY(0); }
.reveal.d1{transition-delay:.08s} .reveal.d2{transition-delay:.16s}
.reveal.d3{transition-delay:.24s} .reveal.d4{transition-delay:.32s}
.reveal.d5{transition-delay:.40s}

/* ── FOOTER ── */
.site-footer {
  background:#070d16; color:rgba(255,255,255,.55);
  padding:4.5rem 0 0;
}
.footer-brand {
  font-family:var(--ff-head); font-weight:800; font-size:1.1rem;
  color:white; margin-bottom:.65rem;
}
.footer-brand span { color:var(--green); }
.footer-desc { font-size:.85rem; line-height:1.8; max-width:280px; }
.footer-col-head {
  font-family:var(--ff-mono); font-size:.68rem;
  letter-spacing:.13em; text-transform:uppercase;
  color:rgba(255,255,255,.3); margin-bottom:1.1rem;
}
.footer-links { list-style:none; padding:0; }
.footer-links li { margin-bottom:.5rem; }
.footer-links a {
  color:rgba(255,255,255,.5); text-decoration:none;
  font-size:.85rem; transition:color .2s;
  display:inline-flex; align-items:center; gap:.4rem;
}
.footer-links a .bi { font-size:.78rem; opacity:.6; }
.footer-links a:hover { color:var(--green); }
.footer-social { display:flex; gap:.45rem; margin-top:1.4rem; }
.social-btn {
  width:34px;height:34px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-sm); display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.45); text-decoration:none; font-size:.88rem;
  transition:all .22s;
}
.social-btn:hover { background:var(--green);border-color:var(--green);color:white;transform:translateY(-2px); }
.footer-contact-item {
  display:flex;align-items:flex-start;gap:.65rem;
  font-size:.85rem; margin-bottom:.85rem;
}
.footer-contact-item .bi { color:var(--green); flex-shrink:0; margin-top:.15rem; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.06);
  padding:1.4rem 0; margin-top:4rem;
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:1rem;
  font-size:.75rem;font-family:var(--ff-mono);
  letter-spacing:.04em; color:rgba(255,255,255,.28);
}
.footer-bottom a { color:var(--green); text-decoration:none; }

/* ── RESPONSIVE ── */
@media(max-width:991px){
  .page-header { padding:6.5rem 0 3rem; }
}
@media(max-width:767px){
  .page-header { padding:6rem 0 2.5rem; }
  .page-header-title { font-size:2rem; }
}