:root {
  --kotla-green-950: #053b2f;
  --kotla-green-900: #064e3b;
  --kotla-green-800: #065f46;
  --kotla-green-600: #059669;
  --kotla-green-500: #10b981;
  --kotla-green-300: #6ee7b7;
  --kotla-surface: #ffffff;
  --kotla-text: #10231d;
  --kotla-muted: #64748b;
  --kotla-radius: 12px;
  --kotla-shadow: 0 8px 24px rgba(5, 59, 47, .14);
}

html { font-family: Inter, Outfit, "Noto Sans Arabic", system-ui, sans-serif; }

.kotla-ecosystem-nav,
.eco-nav,
.nav.kotla-standard-nav,
header.header {
  box-sizing: border-box;
  height: 56px;
  padding: 0 clamp(12px, 2.5vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(90deg, #064e3b, #065f46);
  border-bottom: 1px solid rgba(110, 231, 183, .22);
  box-shadow: 0 4px 18px rgba(5, 59, 47, .16);
  color: #fff;
  position: relative;
  z-index: 10000;
}

/* Shared public header standard for older pages */
header.header {
  min-height: 56px;
}

header.header h1,
header.header p {
  margin: 0;
}

header.header h1 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
}

header.header p {
  color: var(--kotla-green-300);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .55px;
  text-transform: uppercase;
}

/* Slim Ecosystem Navigation Bar (Rule 11) */
.kotla-ecosystem-nav.eco-nav-slim,
.eco-nav.eco-nav-slim,
.nav.kotla-standard-nav.eco-nav-slim {
  height: 44px;
  padding: 0 16px;
}

.eco-nav-slim img,
.eco-nav-slim .eco-brand img,
.eco-nav-slim .nav-logo img {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
}

.eco-nav-slim .eco-brand-name {
  font-size: 14px !important;
}

.eco-nav-slim .eco-brand-tag {
  font-size: 9px !important;
}

.eco-nav-slim .eco-link {
  font-size: 12px !important;
  padding: 5px 10px !important;
}

.eco-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .15);
  margin: 0 4px;
  flex-shrink: 0;
}

.kotla-ecosystem-nav .kotla-brand,
.eco-nav .eco-brand,
.nav.kotla-standard-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.kotla-ecosystem-nav img,
.eco-nav .eco-brand img,
.eco-brand-img,
.nav.kotla-standard-nav .nav-logo img {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  object-fit: contain;
  border-radius: 9px;
  flex-shrink: 0;
}

.kotla-brand-name,
.eco-brand-name,
.nav.kotla-standard-nav .nav-logo span {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: .2px;
}

.kotla-brand-tag,
.eco-brand-tag,
.nav.kotla-standard-nav .nav-logo small {
  display: block;
  color: var(--kotla-green-300);
  font-size: 9px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.kotla-nav-links,
.eco-links,
.nav.kotla-standard-nav .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.kotla-nav-links::-webkit-scrollbar,
.eco-links::-webkit-scrollbar,
.nav.kotla-standard-nav .nav-links::-webkit-scrollbar {
  display: none;
}

.kotla-nav-link,
.eco-nav .eco-link,
.nav.kotla-standard-nav .nav-links a {
  color: rgba(255, 255, 255, .86);
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  padding: 9px 10px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.kotla-nav-link:hover,
.kotla-nav-link:focus-visible,
.eco-nav .eco-link:hover,
.nav.kotla-standard-nav .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.kotla-nav-link.is-current {
  color: #fff !important;
  background: linear-gradient(135deg, var(--kotla-green-500), var(--kotla-green-600));
  box-shadow: 0 3px 10px rgba(16, 185, 129, .28);
}

.eco-link.eco-cta {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, .4);
  padding: 6px 12px !important;
  border-radius: 20px !important;
}

.eco-link.eco-cta-blue {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, .4);
  padding: 6px 12px !important;
  border-radius: 20px !important;
}

.eco-link.eco-cta-gold {
  background: linear-gradient(135deg, #d97706, #b45309) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, .4);
  padding: 6px 12px !important;
  border-radius: 20px !important;
}

.eco-link.eco-cta-purple {
  background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(124, 58, 237, .45);
  padding: 6px 14px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: all .2s ease;
}

.eco-link.eco-cta-purple:hover {
  background: linear-gradient(135deg, #9333ea, #4338ca) !important;
  box-shadow: 0 4px 14px rgba(147, 51, 234, .6);
  transform: translateY(-1px);
}

.eco-link.eco-cta-cyan {
  background: linear-gradient(135deg, #0284c7, #0d9488) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, .45);
  padding: 6px 14px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: all .2s ease;
}

.eco-link.eco-cta-cyan:hover {
  background: linear-gradient(135deg, #0369a1, #0f766e) !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, .6);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .kotla-ecosystem-nav,
  .eco-nav,
  .nav.kotla-standard-nav {
    min-height: 56px;
    padding: 8px 10px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .kotla-ecosystem-nav .kotla-brand,
  .eco-nav .eco-brand,
  .nav.kotla-standard-nav .nav-logo {
    flex: 1 1 auto;
    min-width: 0;
  }
  .kotla-nav-links,
  .eco-links,
  .nav.kotla-standard-nav .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 2px;
  }
  .kotla-nav-links::-webkit-scrollbar,
  .eco-links::-webkit-scrollbar,
  .nav.kotla-standard-nav .nav-links::-webkit-scrollbar { display: none; }
  .kotla-nav-link,
  .eco-nav .eco-link,
  .nav.kotla-standard-nav .nav-links a {
    padding: 7px 9px;
    font-size: 11px;
  }
  .kotla-hide-mobile,
  .eco-txt,
  .eco-brand-tag {
    display: none;
  }
  .eco-brand-name {
    font-size: 13px !important;
  }
  .eco-link.eco-cta .eco-txt,
  .eco-link.eco-cta-blue .eco-txt,
  .eco-link.eco-cta-gold .eco-txt,
  .eco-link.eco-cta-purple .eco-txt,
  .eco-link.eco-cta-cyan .eco-txt { display: inline !important; }
}

/* Automatically hide navigation bar inside iframes */
html.in-iframe .kotla-ecosystem-nav,
html.in-iframe .eco-nav,
html.in-iframe .nav.kotla-standard-nav {
  display: none !important;
}

/* Shared public footer standard */
.kotla-standard-footer,
footer.kotla-standard-footer,
.footer.kotla-standard-footer {
  background: linear-gradient(180deg, #0f172a 0%, #063f31 100%);
  color: #c8f8e8;
  text-align: center;
  padding: 34px 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 12px;
  line-height: 1.6;
}

.kotla-standard-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 14px;
}

.kotla-standard-footer .footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.kotla-standard-footer .footer-links a:hover {
  color: #6ee7b7;
  text-decoration: underline;
}

.kotla-standard-footer .footer-copy {
  color: rgba(200, 248, 232, .9);
}
