/* === LAYOUT: TOP BAR & NAVBAR === */
/* ===================================================================
   TOP BAR (MODERN CLEANTECH DASHBOARD FINISH)
   =================================================================== */
.top-bar {
  background: linear-gradient(90deg, #021a14 0%, #06372c 50%, #03231a 100%);
  color: #d1fae5;
  font-size: 0.77rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(52, 211, 153, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  max-width: 100%;
  padding: 0 20px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.77rem;
  letter-spacing: -0.1px;
}

.pulse-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.38) 100%);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
  font-size: 0.67rem;
  font-weight: 800;
  padding: 2.5px 9px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
}

.pulse-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseRadar 1.8s infinite ease-in-out;
}

@keyframes pulseRadar {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 4px #34d399;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 12px #34d399, 0 0 18px rgba(52, 211, 153, 0.6);
  }
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-contact a,
.top-bar-contact button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e6fffa;
  font-size: 0.76rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  padding: 3px 6px;
  border-radius: 6px;
}

.top-bar-contact a:hover,
.top-bar-contact button:hover {
  color: #34d399;
  background: rgba(255, 255, 255, 0.08);
}

.top-bar-contact a[href*="wa.me"] {
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 2.5px 9px;
  border-radius: var(--radius-full);
  color: #86efac;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.15);
}

.top-bar-contact a[href*="wa.me"]:hover {
  background: rgba(37, 211, 102, 0.32);
  border-color: #25d366;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.top-portal-btn {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.32) 100%) !important;
  color: #fef3c7 !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  padding: 2.5px 10px !important;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.71rem !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
  transition: all 0.22s ease !important;
}

.top-portal-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(217, 119, 6, 0.5) 100%) !important;
  border-color: #fbbf24 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
}

/* ===================================================================
   MAIN NAVBAR (PREMIUM GLASSMORPHIC AESTHETIC - FITS 100% NORMAL ZOOM)
   =================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 30px rgba(6, 78, 59, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(5, 150, 105, 0.14);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header .container.navbar {
  max-width: 100%;
  padding: 0 20px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}

/* Brand Link */
.brand-link {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(5, 150, 105, 0.16));
  transition: transform 0.25s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-info {
  display: flex;
  align-items: center;
  gap: 7px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, #064e3b 0%, #047857 55%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.4px;
  line-height: 1;
}

.brand-tag-pill {
  font-size: 0.63rem;
  font-weight: 800;
  color: #047857;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid rgba(5, 150, 105, 0.28);
  padding: 2.5px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
  transition: all 0.2s ease;
}

.brand-tag-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.brand-tag-pill:hover {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-color: #059669;
  transform: translateY(-1px);
}

/* Nav Menu & Dropdowns */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding: 6px 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.nav-link:hover {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
}

.nav-link.active {
  color: #047857;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(16, 185, 129, 0.14) 100%);
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.22);
}

.nav-link .caret {
  font-size: 0.55rem;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  color: #64748b;
  display: inline-block;
  margin-left: 1px;
}

.nav-item:hover .caret {
  transform: rotate(180deg);
  color: #059669;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  box-shadow: 0 20px 45px -10px rgba(6, 78, 59, 0.16), 0 8px 18px -4px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

/* Invisible Hover Tunnel Bridge - eliminates gap so cursor moving to dropdown never loses hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -12px;
  right: -12px;
  height: 20px;
  background: transparent;
  pointer-events: auto;
  z-index: 1;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-item {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.dropdown-item span.item-title {
  color: #0f172a;
  font-weight: 700;
  transition: color 0.2s ease;
}

.dropdown-item span.item-desc {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 400;
  line-height: 1.35;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(236, 253, 245, 0.9) 0%, rgba(240, 253, 250, 0.5) 100%);
  color: #047857;
  border-left-color: #059669;
  transform: translateX(3px);
}

.dropdown-item:hover span.item-title {
  color: #059669;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.nav-actions .btn {
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: -0.1px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#btnHeaderCompatibility {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  padding: 7px 15px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

#btnHeaderCompatibility::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

#btnHeaderCompatibility:hover::after {
  left: 100%;
}

#btnHeaderCompatibility:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

#btnHeaderPartner {
  background: rgba(255, 255, 255, 0.92);
  color: #047857;
  border: 1.5px solid #059669;
  padding: 6px 13px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
}

#btnHeaderPartner:hover {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
  box-shadow: 0 6px 18px rgba(4, 120, 87, 0.35);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}

.btn-solar {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-solar:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 1.5rem;
  color: #047857;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}


/* === LAYOUT: FOOTER === */
/* ===================================================================
   FOOTER (RICH AESTHETICS, DARK TECH THEME, LEGAL & CREDENTIALS)
   =================================================================== */
.main-footer,
.footer,
footer {
  background: radial-gradient(circle at 15% 0%, rgba(5, 150, 105, 0.16) 0%, transparent 45%),
              radial-gradient(circle at 85% 25%, rgba(2, 132, 199, 0.12) 0%, transparent 40%),
              linear-gradient(180deg, #09131f 0%, #050a12 100%);
  color: #e2e8f0;
  padding: 70px 0 28px;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.main-footer::before,
.footer::before,
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #059669 25%, #34d399 50%, #f59e0b 75%, transparent);
}

.footer-top,
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-logo,
.footer-brand .brand-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-brand .brand-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  display: block;
  line-height: 1.2;
}

.footer-brand .brand-tag-pill {
  font-size: 0.62rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: 3px;
}

.footer-brand-desc,
.footer-about {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 18px;
}

.footer-brand-desc strong,
.footer-about strong {
  color: #f1f5f9;
  font-weight: 700;
}

.footer-statutory-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.stat-badge:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.45);
  color: #34d399;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: -0.2px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.footer-links-list,
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
  margin: 0;
}

.footer-links-list li,
.footer-links li {
  margin: 0;
}

.footer-links-list a,
.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s ease;
  text-decoration: none;
}

.footer-links-list a::before,
.footer-links a::before {
  content: '›';
  font-size: 1.15rem;
  line-height: 1;
  color: rgba(52, 211, 153, 0.5);
  transition: all 0.22s ease;
}

.footer-links-list a:hover,
.footer-links a:hover {
  color: #34d399;
  transform: translateX(4px);
}

.footer-links-list a:hover::before,
.footer-links a:hover::before {
  color: #34d399;
  transform: translateX(2px);
}

.footer-disclaimer-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #10b981;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 28px;
}

.footer-disclaimer-box strong {
  color: #cbd5e1;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-copy {
  color: #94a3b8;
  font-size: 0.82rem;
}

.footer-copy strong {
  color: #e2e8f0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #94a3b8;
  font-size: 0.82rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #34d399;
}

.footer-legal-links span {
  color: rgba(255, 255, 255, 0.15);
}

