/* ============================================================
   0. Design Tokens
   ============================================================ */
:root {
  --eco-green:        #39b54a;
  --eco-green-dark:   #2a8c39;
  --eco-green-light:  #eaf7ec;
  --eco-charcoal:     #37423b;
  --eco-gray:         #939598;
  --eco-blue:         #2ca1db;
  --eco-blue-dark:    #1a88c0;
  --eco-bg-light:     #f8faf8;
  --eco-border:       #deeade;
  --font-sans:        'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm:        0.5rem;
  --radius-md:        0.75rem;
  --radius-lg:        1.25rem;
  --shadow-sm:        0 1px 6px rgba(55,66,59,.08);
  --shadow-md:        0 4px 20px rgba(55,66,59,.13);
  --shadow-lg:        0 8px 40px rgba(55,66,59,.18);
  --transition:       0.25s ease;
}

/* ============================================================
   1. Base
   ============================================================ */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--eco-charcoal);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--eco-charcoal);
}

/* ============================================================
   2. Header
   ============================================================ */
#header {
  background: #fff;
  transition: box-shadow var(--transition);
  z-index: 997;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--eco-green);
}

/* ============================================================
   3. Navbar
   ============================================================ */
#header-menu {
  background-image: url('../images/nav-background.png');
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 767px) {
  #header-menu {
    background-image: url('../images/nav-background.png');
    background-repeat: no-repeat;
    background-position: left;
  }
}

.navbar a,
.navbar a:focus,
.navbar .nav-link,
.navbar .nav-link:focus,
.navbar .dropdown-item,
.navbar .dropdown-item:focus {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--eco-charcoal);
  white-space: nowrap;
  transition: color var(--transition);
  position: relative;
  letter-spacing: .01em;
}

.navbar a i,
.navbar a:focus i {
  line-height: 0;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--eco-green);
}

.navbar .nav-link {
  border-radius: 999px;
}

.navbar .nav-item > .nav-link {
  font-weight: 600 !important;
}

.navbar button.nav-link,
.navbar button.dropdown-item {
  text-align: left;
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  font-weight: 600;
}

/* Subtle underline slide-in on desktop nav links */
.navbar .nav-item > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--eco-green);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}

.navbar .nav-item > .nav-link:hover::after,
.navbar .nav-item > .nav-link.active::after {
  left: 8px;
  right: 8px;
}

/* Dropdowns */
.dropdown-menu {
  border: 1px solid var(--eco-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
  animation: dropFadeIn 0.15s ease;
  min-width: 13rem;
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--eco-charcoal);
  padding: 0.5rem 1.25rem;
  transition: background var(--transition), color var(--transition);
}

.dropdown-item.dropdown-toggle {
  width: 100%;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--eco-green-light);
  color: var(--eco-green-dark);
}

.navbar .dropdown-toggle::after {
  margin-left: 0.45em;
  vertical-align: 0.15em;
  transition: transform var(--transition);
}

.navbar .dropdown-toggle.show::after {
  transform: rotate(180deg);
}

.dropdown-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--eco-gray);
  padding: 0.5rem 1.25rem 0.25rem;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .navbar .dropend {
    position: relative;
  }

  .navbar .dropend::after {
    content: '';
    position: absolute;
    top: -0.35rem;
    right: -0.55rem;
    width: 0.55rem;
    height: calc(100% + 0.7rem);
  }

  .navbar .dropend:hover > .dropdown-menu,
  .navbar .dropend:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  #mainNavbar {
    justify-content: flex-end;
  }

  .navbar-nav {
    gap: 0.15rem;
    align-items: center;
  }

  .navbar .nav-item > .nav-link {
    padding: 0.6rem 0.95rem !important;
  }

  .navbar .dropdown-menu {
    margin-top: 0.3rem;
  }

  .navbar .dropend > .dropdown-menu {
    margin-left: 0.55rem;
    margin-top: 0;
    top: -0.3rem;
    left: 100%;
  }
}

@media (max-width: 767px) {
  #header {
    box-shadow: 0 6px 20px rgba(55,66,59,.13);
  }

  #header .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .navbar-brand img {
    height: 72px;
    width: auto;
  }

  .navbar-toggler {
    border: 1px solid var(--eco-border);
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
    box-shadow: 0 2px 8px rgba(55,66,59,.12);
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(57,181,74,.25);
  }

  #mainNavbar {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--eco-border);
    border-radius: 14px;
    margin-top: 0.65rem;
    margin-bottom: 0.35rem;
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0.35rem;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  @supports (backdrop-filter: blur(8px)) {
    #mainNavbar {
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
  }

  #mainNavbar > .container {
    padding-left: 0;
    padding-right: 0;
  }

  #mainNavbar > .container > .d-flex {
    float: none !important;
    width: 100%;
  }

  #mainNavbar .navbar-nav {
    width: 100%;
    gap: 0.15rem;
  }

  #mainNavbar .nav-item + .nav-item {
    margin-top: 0.15rem;
  }

  #mainNavbar .nav-link,
  #mainNavbar .dropdown-item {
    white-space: normal;
  }

  #mainNavbar .nav-link {
    padding: 0.75rem 0.9rem !important;
    border-radius: 10px;
  }

  #mainNavbar .nav-link.dropdown-toggle,
  #mainNavbar .dropdown-item.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  #mainNavbar .dropdown-toggle.show {
    background: var(--eco-green-light);
    color: var(--eco-green-dark);
  }

  #mainNavbar .dropdown-toggle::after {
    margin-left: auto;
  }

  #mainNavbar .dropdown-menu {
    position: static;
    float: none;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    background: #f7faf7;
    margin: 0.2rem 0 0.4rem;
    padding: 0.35rem 0;
    min-width: 100%;
    animation: none;
  }

  #mainNavbar .dropend > .dropdown-menu {
    margin-left: 0;
  }

  #mainNavbar .dropdown-menu .dropdown-menu {
    background: #fff;
    margin: 0.25rem 0.35rem 0.45rem 0.65rem;
    border-left: 3px solid rgba(57,181,74,.25);
  }

  #mainNavbar .dropdown-item {
    padding: 0.62rem 1rem;
    border-radius: 8px;
    margin: 0 0.35rem;
    width: auto;
  }

  #mainNavbar .dropdown-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-us-button {
    margin: 0.4rem 0.5rem 0.15rem;
    text-align: center;
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar .dropdown-toggle::after,
  .dropdown-menu,
  .contact-us-button,
  .card,
  .back-to-top {
    transition: none !important;
    animation: none !important;
  }
}

/* Contact CTA button */
.contact-us-button {
  margin-left: 1.5rem;
  background: linear-gradient(135deg, var(--eco-green) 0%, var(--eco-green-dark) 100%);
  color: #fff !important;
  border-radius: 50px;
  padding: 8px 22px !important;
  white-space: nowrap;
  transition: box-shadow var(--transition), transform var(--transition);
  font-size: 0.9rem !important;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(57,181,74,.35);
  letter-spacing: .02em;
}

.contact-us-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57,181,74,.48);
}

/* ============================================================
   4. Misc layout helpers
   ============================================================ */
.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   5. Placeholder image helper
   ============================================================ */
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg { font-size: 3.5rem; }
}

/* ============================================================
   6. Breadcrumb
   ============================================================ */
#breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#breadcrumb li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#breadcrumb ul a {
  color: var(--eco-green);
  transition: color var(--transition);
  display: inline-block;
  line-height: 1;
}

#breadcrumb ul a:hover {
  text-decoration: none;
  color: #777;
}

/* ============================================================
   7. Hero image (home page)
   ============================================================ */
#heroImage {
  margin-bottom: 5rem;
  position: relative;
  padding-top: 6.7rem;
  overflow: hidden;
}

#heroImage img {
  display: block;
  width: 100%;
}

#heroImage .text-hero {
  min-width: 15rem;
  max-width: 24rem;
  position: absolute;
}

#heroImage .text-hero div {
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, rgba(57,181,74,.78), rgba(42,140,57,.65));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Mobile */
@media only screen and (max-width: 767px) {
  #heroImage .text-hero { bottom: 0.6rem; left: 0.6rem; }
  #heroImage .text-hero div { margin: 0.2rem; padding: 0.4rem; }
  #heroImage .text-hero div h2 { font-size: 1.5rem; }
}

/* Tablet */
@media only screen and (min-width: 768px) {
  #heroImage .text-hero { bottom: 4rem; left: 6rem; }
  #heroImage .text-hero div { margin: 0.3rem; padding: 0.5rem; }
  #heroImage .text-hero div h2 { font-size: 2rem; }
}

/* Desktop */
@media only screen and (min-width: 1024px) {
  #heroImage .text-hero { bottom: 10rem; left: 15rem; }
  #heroImage .text-hero div { margin: 0.6rem; padding: 0.75rem 1rem; }
  #heroImage .text-hero div h2 { font-size: 3rem; }
}


/* ============================================================
   8. Page title banners
   ============================================================ */
.page_title {
  margin-top: 100px;
  text-align: center;
  background: linear-gradient(135deg, var(--eco-green) 0%, var(--eco-green-dark) 100%);
  padding: 52px 0 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Subtle dot pattern overlay */
.page_title::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='%23ffffff' fill-opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}

.page_title h1,
.page_title h2 {
  color: #fff;
  position: relative;
  z-index: 1;
  font-weight: 800;
  letter-spacing: -.02em;
}

/* ============================================================
   9. Utility color classes
   ============================================================ */
.ecoac-green { color: var(--eco-green); }
.ecoac-grey  { color: var(--eco-gray); }
a.ecoac-green { color: var(--eco-green); text-decoration: none; }
a.ecoac-blue  { color: var(--eco-blue);  text-decoration: none; }

/* ============================================================
   10. Product page
   ============================================================ */
.product-detail-hero {
  padding-top: 56px;
  padding-bottom: 48px;
  background: linear-gradient(125deg, #2d9f45 0%, #38b24a 58%, #4ac587 100%);
}

.product-detail-hero h2 {
  margin-bottom: 0.45rem;
}

.product-detail-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.product-detail-hero-content {
  position: relative;
  z-index: 1;
}

.product-detail-page {
  background: linear-gradient(180deg, #edf8f1 0%, #f8fcf9 24%, #ffffff 64%);
  padding-bottom: 2.5rem;
}

.product-breadcrumb-wrap {
  margin-top: 1rem;
}

.product-detail-main {
  position: relative;
}

.product-detail-intro {
  margin-bottom: 1.15rem;
}

.product-detail-image-wrap {
  border-radius: 20px;
  border: 1px solid #d8e7d9;
  background: radial-gradient(circle at 12% 10%, #f7fcf8 0%, #edf6ef 42%, #f8fbf9 100%);
  box-shadow: 0 14px 38px rgba(41, 71, 50, 0.12);
  padding: 1.2rem;
}

.product-detail-image {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
}

.product-detail-summary {
  background: linear-gradient(180deg, #ffffff 0%, #f5faf6 100%);
  border: 1px solid #dbe9dc;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(47, 89, 61, 0.11);
  padding: 1.35rem 1.35rem 1.2rem;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-detail-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #2b6843;
  background: #e9f5ec;
  border: 1px solid #cfe5d5;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.product-detail-title {
  margin: 0;
  color: #1f4030;
  font-size: clamp(1.75rem, 1.4rem + 1.15vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.product-detail-name {
  margin: 0.7rem 0 0.5rem;
  color: #2e5a43;
  font-size: 1.16rem;
  font-weight: 600;
}

.product-detail-specs {
  margin-bottom: 0;
  color: #557062;
  line-height: 1.55;
}

.product-gallery-row {
  row-gap: 0.65rem;
}

.product-gallery-col {
  padding-right: 6px;
  padding-left: 6px;
}

.product-gallery-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  border: 1px solid #d6e6d7;
  border-radius: 12px;
  overflow: hidden;
  background: #f9fcf9;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-gallery-item:hover {
  transform: translateY(-2px);
  border-color: #b5d4bc;
  box-shadow: 0 10px 20px rgba(36, 87, 56, 0.16);
}

.product-gallery-thumb {
  width: 100%;
  height: 86px;
  object-fit: contain;
  padding: 0.45rem;
}

.product-detail-main hr.my-5 {
  border-color: #d8e6dc;
  opacity: 1;
  margin-top: 2.4rem !important;
  margin-bottom: 2rem !important;
}

.product-detail-main h2.subtitle {
  display: inline-block;
  border-bottom: 3px solid #2a8c39;
  padding-bottom: 6px;
}

.product-detail-main .row > .col-md-12 {
  background: #fff;
  border: 1px solid #dde9df;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 8px 25px rgba(40, 73, 52, 0.08);
}

.product-detail-main .table {
  margin-bottom: 0;
  border-color: #d6e4d8;
}

.product-detail-main .table > :not(caption) > * > * {
  padding: 0.72rem 0.8rem;
}

.product-detail-main tr.tablecontent:nth-child(even) {
  background: #f8fbf8;
}

@media (max-width: 767px) {
  .product-detail-hero {
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .product-detail-image-wrap {
    border-radius: 16px;
    padding: 0.9rem;
  }

  .product-detail-summary {
    padding: 1rem;
    border-radius: 14px;
  }

  .product-detail-name {
    font-size: 1.02rem;
  }

  .product-detail-main .row > .col-md-12 {
    border-radius: 14px;
    padding: 0.85rem;
  }

  .product-detail-main .table > :not(caption) > * > * {
    padding: 0.56rem 0.58rem;
    font-size: 0.86rem;
  }
}

h2.subtitle {
  display: inline-block;
  border-bottom: 3px solid var(--eco-green);
  padding-bottom: 6px;
}

.card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-body {
  background-color: #f7f9f7;
}

.card-img-top {
  background-color: #f7f9f7;
}

/* Product category page refresh */
.product-category-hero {
  padding-top: 56px;
  padding-bottom: 48px;
  background: linear-gradient(125deg, #2d9f45 0%, #38b24a 58%, #4ac587 100%);
}

.product-category-hero-content {
  position: relative;
  z-index: 1;
}

.product-category-hero h2 {
  margin-bottom: 0.45rem;
}

.product-category-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.product-category-page {
  background: linear-gradient(180deg, #edf7ef 0%, #f9fdf9 24%, #ffffff 62%);
  padding-bottom: 2.2rem;
}

.category-breadcrumb-wrap {
  margin-top: 1.1rem;
  margin-bottom: 0.9rem;
  background: rgba(248, 252, 248, 0.96);
  border: 1px solid var(--eco-border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 0 1.1rem;
}

.category-breadcrumb-wrap .breadcrumb {
  margin-bottom: 0;
  padding: 0.55rem 0;
  background: transparent;
}

.category-breadcrumb-wrap .breadcrumb-item {
  font-size: 0.9rem;
  color: #647067;
}

.category-breadcrumb-wrap .breadcrumb-item a {
  color: #2a8c39;
  font-weight: 600;
}

.category-breadcrumb-wrap .breadcrumb-item a:hover {
  color: #1f6f2d;
  text-decoration: none;
}

.category-breadcrumb-wrap .breadcrumb-item.active,
.category-breadcrumb-wrap .breadcrumb-item:last-child {
  color: #395246;
  font-weight: 600;
}

.category-breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  color: #95a49a;
}

.category-grid-container {
  padding-top: 0.35rem;
}

.category-grid-row {
  margin-left: -10px;
  margin-right: -10px;
}

.category-grid-col {
  padding: 10px;
}

.category-card {
  height: 100%;
  border: 1px solid #dfeadd;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: #c5dbc4;
  box-shadow: 0 12px 30px rgba(44, 71, 50, 0.16);
}

.category-card-image-link {
  display: block;
  overflow: hidden;
  background: #edf4ed;
}

.category-card-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  transition: transform 0.45s ease;
  padding: 0.8rem;
}

.category-card:hover .category-card-img {
  transform: scale(1.03);
}

.category-card-body {
  padding: 1.05rem 1.05rem 1.15rem;
  background: linear-gradient(180deg, #fcfefc 0%, #f2f8f3 100%);
}

.category-card-title {
  font-size: 1.08rem;
  color: #274437;
  margin-bottom: 0.65rem;
  min-height: 2.45rem;
}

.category-card-text {
  font-size: 0.92rem;
  color: #587063;
  line-height: 1.45;
  min-height: 3.95rem;
  margin-bottom: 0.85rem;
}

.category-card-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-top: 0.48rem;
  padding-bottom: 0.48rem;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.category-card--sub .category-card-btn {
  background: linear-gradient(135deg, #2fa545, #27893a);
}

.category-card--product .category-card-btn {
  background: linear-gradient(135deg, #1f965f, #18794c);
}

.category-card-btn:hover,
.category-card-btn:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(34, 98, 54, 0.25);
  filter: brightness(1.03);
}

.category-empty-state {
  margin: 2rem auto 1rem;
  border: 1px dashed #bcd2bf;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #f8fcf8 0%, #eff7ef 100%);
}

.category-empty-state h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #3f5b4a;
}

@media (max-width: 767px) {
  .product-category-hero {
    padding-top: 48px;
    padding-bottom: 38px;
  }

  .product-category-hero p {
    font-size: 0.95rem;
  }

  .category-breadcrumb-wrap {
    border-radius: 14px;
    padding: 0 0.8rem;
  }

  .category-breadcrumb-wrap .breadcrumb {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .category-breadcrumb-wrap .breadcrumb-item {
    font-size: 0.83rem;
  }

  .category-card-img {
    height: 190px;
  }

  .category-card-title {
    min-height: 0;
  }

  .category-card-text {
    min-height: 0;
  }
}

tr.tableheader {
  background-color: var(--eco-green);
  text-align: left;
  vertical-align: middle;
  height: 36px;
  font-weight: 700;
  color: #fff;
}

tr.tablecontent {
  height: 1.2rem;
  font-size: 1rem;
}

a.roundedbutton {
  border-radius: 100px;
  background: linear-gradient(135deg, var(--eco-blue), var(--eco-blue-dark));
  color: #fff !important;
  padding: 10px 30px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: box-shadow var(--transition), transform var(--transition);
}

a.roundedbutton:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44,161,219,.4);
}

.thumbnail-container {
  border: 1px solid var(--eco-border);
  width: 200px !important;
  height: 200px !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
}

.thumbnail {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
}

/* ============================================================
   11. Thank-you page
   ============================================================ */
.thank-you-message {
  margin-top: 100px;
  text-align: center;
}

.form-group label.required::after {
  content: "*";
  color: red;
}

/* ============================================================
   12. Marketing / featurette (home page)
   ============================================================ */
.marketing {
  padding-top: 1rem;
}

.marketing .col-lg-4 {
  text-align: center;
  padding: 1.5rem 1rem;
}

.marketing .col-lg-4 img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 4px solid var(--eco-green);
}

.marketing .col-lg-4 img:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(57,181,74,.32);
}

.marketing .col-lg-4 h2 {
  font-size: 1.2rem;
  margin-top: 1.1rem;
  color: var(--eco-charcoal);
  font-weight: 700;
}

.featurette-divider {
  border-color: var(--eco-border);
  margin: 4rem 0;
}

.featurette-heading {
  letter-spacing: -.03em;
}

/* ============================================================
   13. Footer
   ============================================================ */
#footer {
  color: rgba(255,255,255,.55);
  font-size: 0.95rem;
  background: var(--eco-charcoal);
}

#footer .footer-top {
  padding: 64px 0 40px;
  background: var(--eco-charcoal);
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

#footer .footer-top h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--eco-green);
  border-radius: 2px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 6px;
  color: var(--eco-green);
  font-size: 14px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  display: inline-block;
  line-height: 1;
  text-decoration: none;
  font-size: 0.9rem;
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--eco-green);
  text-decoration: none;
}

/* Bottom bar */
#footer .footer-bottom {
  background: #222e26;
  padding: 14px 0;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
}

.copyright strong span {
  color: var(--eco-green);
}

#footer .social-links a {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin-right: 6px;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

#footer .social-links a:hover {
  background: var(--eco-green);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   14. Back to top
   ============================================================ */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--eco-green);
  border: 2px solid var(--eco-green);
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.back-to-top:hover {
  background: var(--eco-green);
  color: #fff;
  border-color: var(--eco-green);
  transform: translateY(-3px);
}
