:root {
  --navy:   #0d2147;
  --teal:   #0a8c9e;
  --blue:   #1565c0;
  --purple: #6a1aaa;
  --cyan:   #0b7faa;
  --green:  #267a2e;
}

/* Category panel colors */
.cat-net    { background: var(--navy); }
.cat-sec    { background: var(--teal); }
.cat-cloud  { background: var(--blue); }
.cat-obs    { background: var(--purple); }
.cat-auto   { background: var(--cyan); }
.cat-itops  { background: var(--teal); }
.cat-ddi    { background: var(--green); }

/* Eco row card (Base container) */
.eco-row {
  background: #fff;
  border: 1px solid #c6dde9;
  border-radius: 10px;
  overflow: hidden; /* Contains the overlay to the row's rounded corners */
  box-shadow: 0 1px 4px rgba(0,60,100,.06);
  position: relative;
  transition: box-shadow 0.3s ease;
}

.eco-row:hover {
  box-shadow: 0 5px 15px rgba(0,60,100,.12);
}

/* Category panel */
.cat-panel {
  color: #fff;
  padding: 1rem;
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.cat-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
}
.cat-icon svg { width: 20px; height: 20px; }

.cat-title {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  margin: 0; color: #fff;
  line-height: 1.3;
}

/* Overlay description covering ONLY the category panel */
.cat-desc { 
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  margin: 0;
  font-size: .85rem; 
  color: #fff; 
  line-height: 1.4;
  background: rgba(10, 22, 94, 0.95); /* Solid Navy overlay */
  
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Reveal the overlay when the category panel is hovered */
.cat-panel:hover .cat-desc {
  opacity: 1;
  visibility: visible;
}

/* Ensure right side boxes stretch to match left side */
.brands-area {
  display: flex;
  flex-direction: column;
}
.brands-area > .row {
  flex-grow: 1;
}

/* Brand cell */
.brand-cell {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: .75rem .5rem .5rem;
  border-right: 1px solid #e2eef5;
  min-height: 75px; gap: .3rem; text-align: center;
}
.brand-cell:last-child { border-right: none; }
.brand-logo-wrap {
  min-height: 60px;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
}
.brand-logo-wrap svg, .brand-logo-wrap img {
  transform: scale(1.35);
  transform-origin: center;
  transition: transform 0.3s ease;
  max-width: 100%;
}
.brand-logo-wrap:hover svg, .brand-logo-wrap:hover img {
  transform: scale(1.45);
}
.brand-label {
  display: none;
}

/* Sidebar */
.eco-sidebar {
  background: #fff;
  border: 1px solid #c6dde9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,60,100,.06);
  display: flex;
  flex-direction: column;
}
.sidebar-head {
  background: var(--navy); color: #fff;
  font-size: .95rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  text-align: center; padding: 1rem; line-height: 1.3;
}
.sb-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid #e8f2f8;
  flex-grow: 1;
}
.sb-item:last-child { border-bottom: none; }
.sb-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%; border: 2px solid #7bb5cf;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.sb-icon svg { width: 16px; height: 16px; }
.sb-title { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.sb-desc { font-size: .75rem; color: #3d5a72; margin: 0; line-height: 1.4; }

/* brands-area left border on md+ */
@media (min-width: 768px) {
  .brands-area { border-left: 1.5px solid #d5e8f2; }
}
@media (max-width: 767px) {
  .brands-area { border-top: 1.5px solid #d5e8f2; }
  .brand-cell { border-bottom: 1px solid #e2eef5; }
}

    @media (max-width: 767px) {
  .row1 {
    padding-top: 25px;
  }
}