/* =====================================================
   ECO GREEN RECYCLE — Modern Theme
   Clean, top-nav design. Replaces old vertical sidebar.
   ===================================================== */

:root {
  --green:       #2e7d32;
  --green-light: #43a047;
  --green-dark:  #1b5e20;
  --green-pale:  #e8f5e9;
  --text:        #2c2c2c;
  --text-light:  #666;
  --border:      #e0e0e0;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
}

/* ── BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #fff;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  padding-top: 72px; /* offset for fixed nav */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--text);
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-light); text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── NAVBAR ──────────────────────────────────────── */
.eco-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.09);
  transition: box-shadow .3s;
}

.eco-nav .navbar-brand {
  padding: 6px 0;
}

.eco-nav .navbar-brand img {
  height: 48px;
  width: auto;
}

.eco-nav .nav-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  color: var(--text) !important;
  padding: 8px 14px !important;
  transition: color .2s;
}

.eco-nav .nav-link:hover,
.eco-nav .nav-item.active > .nav-link {
  color: var(--green) !important;
}

.eco-nav .dropdown-menu {
  border: none;
  border-top: 3px solid var(--green);
  border-radius: 0 0 6px 6px;
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 8px 0;
}

.eco-nav .dropdown-item {
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  padding: 8px 20px;
  color: var(--text) !important;
  background-color: #fff !important;
  transition: background .15s, color .15s;
}

.eco-nav .dropdown-item:hover,
.eco-nav .dropdown-item:focus,
.eco-nav .dropdown-item.active,
.eco-nav .dropdown-item:active {
  background: var(--green-pale) !important;
  color: var(--green) !important;
}

.eco-nav .lang-link {
  border: 2px solid var(--green) !important;
  border-radius: 20px;
  color: var(--green) !important;
  padding: 5px 14px !important;
  margin-left: 8px;
  font-size: 13px !important;
}

.eco-nav .lang-link:hover {
  background: var(--green);
  color: #fff !important;
  text-decoration: none;
}

.navbar-toggler {
  border-color: var(--green);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232e7d32' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── HERO ────────────────────────────────────────── */
.eco-hero {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.eco-hero-home {
  height: 100vh;
  min-height: 560px;
}

.eco-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.50);
}

.eco-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
}

.eco-hero-content h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
  margin-bottom: 16px;
}

.eco-hero-content .hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  opacity: .9;
  max-width: 600px;
  margin: 0 auto 28px;
}

.eco-hero-content .hero-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
}

/* ── PAGE HEADER BAR (non-home pages) ────────────── */
.eco-page-header {
  background: var(--green-pale);
  border-bottom: 3px solid var(--green);
  padding: 14px 0;
}

.eco-page-header h6 {
  margin: 0;
  color: var(--green-dark);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── SECTIONS ────────────────────────────────────── */
.eco-section {
  padding: 72px 0;
}

.eco-section-grey {
  background: #f8f9fa;
}

.eco-section-green {
  background: var(--green-pale);
}

.eco-section-dark {
  background: var(--green-dark);
  color: #fff;
}

.eco-section-dark h2,
.eco-section-dark h3,
.eco-section-dark p {
  color: #fff;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--green);
  margin-top: 10px;
}

.section-title-center {
  display: block;
  text-align: center;
}

.section-title-center::after {
  margin: 10px auto 0;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ── CARDS ───────────────────────────────────────── */
.eco-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 36px 28px;
  height: 100%;
  border-top: 4px solid var(--green);
  transition: transform .25s, box-shadow .25s;
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.eco-card .card-icon {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 16px;
}

.eco-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.eco-card p {
  font-size: .93rem;
  color: var(--text-light);
  margin: 0;
}

/* ── STAT BOXES ──────────────────────────────────── */
.eco-stat {
  text-align: center;
  padding: 32px 16px;
}

.eco-stat .stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.eco-stat .stat-label {
  font-size: .85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ── PRODUCT PAGE ────────────────────────────────── */
.product-gallery img {
  border-radius: 10px;
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

.product-gallery .main-img {
  height: 420px;
  margin-bottom: 16px;
}

.product-gallery .thumb-img {
  height: 160px;
  cursor: pointer;
}

.product-features {
  background: var(--green-pale);
  border-radius: 10px;
  padding: 28px 32px;
}

.product-features h5 {
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features ul li {
  padding: 6px 0;
  font-size: .94rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.product-features ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--green);
  font-size: .8rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.eco-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.eco-badge-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

/* ── CONTENT PROSE ───────────────────────────────── */
.eco-prose p {
  margin-bottom: 1.2rem;
  color: var(--text);
}

.eco-prose ol, .eco-prose ul {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}

.eco-prose li {
  margin-bottom: .5rem;
}

blockquote.eco-quote {
  border-left: 4px solid var(--green);
  padding: 16px 24px;
  background: var(--green-pale);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--green-dark);
}

blockquote.eco-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
}

/* ── SERVICES SIDEBAR BOX ────────────────────────── */
.eco-sidebar-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
  overflow: hidden;
}

.eco-sidebar-box .box-head {
  background: var(--green);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 20px;
}

.eco-sidebar-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eco-sidebar-box ul li {
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.eco-sidebar-box ul li:last-child { border-bottom: none; }

.eco-sidebar-box ul li i {
  color: var(--green);
  font-size: .85rem;
  flex-shrink: 0;
}

/* ── FEATURE ICONS (IT services) ─────────────────── */
.eco-feature {
  text-align: center;
  padding: 28px 20px;
}

.eco-feature .feat-icon {
  width: 72px;
  height: 72px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  color: var(--green);
  transition: background .2s;
}

.eco-feature:hover .feat-icon {
  background: var(--green);
  color: #fff;
}

.eco-feature h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.eco-feature p {
  font-size: .88rem;
  color: var(--text-light);
  margin: 0;
}

/* ── HOME SERVICES PREVIEW ───────────────────────── */
.home-services-img {
  height: 220px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  width: 100%;
}

.home-service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-service-card:hover { transform: translateY(-4px); }

.home-service-card .card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-service-card h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.home-service-card p {
  font-size: .88rem;
  color: var(--text-light);
  flex: 1;
}

.home-service-card .btn-link-eco {
  color: var(--green);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn-eco {
  background: var(--green);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .5px;
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  transition: background .2s, transform .15s;
  display: inline-block;
}

.btn-eco:hover {
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-eco-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-eco-outline:hover {
  background: var(--green);
  color: #fff;
}

.btn-eco-white {
  background: #fff;
  color: var(--green);
}

.btn-eco-white:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}

/* ── DIVIDER ─────────────────────────────────────── */
.eco-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light), transparent);
  border: none;
  margin: 0;
}

/* ── CTA STRIP ───────────────────────────────────── */
.eco-cta {
  background: var(--green);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.eco-cta h2 { color: #fff; font-size: 1.8rem; margin-bottom: 10px; }
.eco-cta p  { color: rgba(255,255,255,.85); margin-bottom: 28px; }

/* ── FOOTER ──────────────────────────────────────── */
.eco-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  padding: 60px 0 0;
}

.eco-footer h5 {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: .95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}

.eco-footer p, .eco-footer address {
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(255,255,255,.75);
  margin: 0;
}

.eco-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eco-footer ul li {
  padding: 4px 0;
  font-size: .88rem;
}

.eco-footer ul li a {
  color: rgba(255,255,255,.75);
  transition: color .2s;
}

.eco-footer ul li a:hover {
  color: #fff;
  text-decoration: none;
}

.eco-footer .footer-contact i {
  color: var(--green-light);
  width: 18px;
  margin-right: 8px;
}

.eco-copyright {
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  text-align: center;
  padding: 16px 0;
  margin-top: 48px;
}

/* ── BACK TO TOP ─────────────────────────────────── */
#eco-totop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 999;
  text-decoration: none;
}

#eco-totop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 991px) {
  .eco-nav .dropdown-menu {
    box-shadow: none;
    border: none;
    border-top: none;
    background: #f8f9fa;
    padding: 0;
  }

  .eco-nav .dropdown-item { padding: 8px 16px; }

  .eco-nav .lang-link {
    display: inline-block;
    margin: 8px 0 4px 8px;
  }

  .eco-hero { height: 300px; }
  .eco-hero-home { height: 80vh; }
}

@media (max-width: 575px) {
  body { padding-top: 64px; }
  .eco-section { padding: 48px 0; }
  .eco-hero-home { height: 70vh; }
}
