/* Base styles of the services tab section (.ect-web-solutions): tabs strip + image/text panel.
   Copied from website.css so pages that do not load website.css (Zoho) get the same layout. */

.ect-web-solutions,
.ect-web-solutions *,
.ect-web-solutions *::before,
.ect-web-solutions *::after {
  box-sizing: border-box;
}

.ect-web-solutions {
  --ect-primary: #0C3C01;
  --ect-secondary: #5B6D49;
  --ect-accent: #A2AC82;
  --ect-light-background: #F5F5F3;
  --ect-muted-background: #F9F9F7;
  --ect-white: #FFFFFF;
  --ect-black: #000000;

  position: relative;
  width: 1240px;
  height: 902px;
  margin: 50px auto 0;
  overflow-x: clip;
  color: var(--ect-black);
  font-family: "Montserrat";
}



.ect-web-solutions__eyebrow,
.ect-web-solutions__heading,
.ect-web-solutions__content-title,
.ect-web-solutions__description,
.ect-web-solutions__perfect-label,
.ect-web-solutions__audience {
  margin: 0;
}

.ect-web-solutions__header {
  position: relative;
  height: 92px;
}

.ect-web-solutions__eyebrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 327px;
  height: 24px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 16px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.ect-web-solutions__heading {
  position: absolute;
  top: 32px;
  left: 0;
  width: 629px;
  height: 78px;
  color: var(--ect-black);
  font-family: "Montserrat", sans-serif;
  font-size: 31px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.ect-web-solutions__controls {
  position: absolute;
  top: 50px;
  right: 5px;
  display: flex;
  width: 100px;
  gap: 16px;
  z-index: 4;
}

.ect-web-solutions__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--ect-primary);
  color: var(--ect-white);
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}

.ect-web-solutions__arrow svg {
  display: block;
  width: 18px;
  height: 18px;
}

.ect-web-solutions__arrow:hover {
  background: #0f4a02;
  transform: translateY(-1px);
}

.ect-web-solutions__arrow:focus-visible {
  outline: 3px solid rgba(12, 60, 1, 0.26);
  outline-offset: 3px;
}
/* 
.ect-web-solutions__component {
  position: absolute;
  top: 142px;
  left: 0;
  width: 1240px;
  height: 760px;
} */


.ect-web-solutions__component {
  position: absolute;
  top: 142px;
  left: 0;
  width: 1240px;
  height: 760px;
}


.ect-web-solutions__tabs {
  position: absolute;
  top: 0;
  left: 0;
  width: 379px;
  height: 760px;
}

.ect-web-solutions__tab {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 292px;
  height: 100px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--ect-muted-background);
  color: var(--ect-black);
  cursor: pointer;
  overflow: visible;
  text-align: left;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
  z-index: 1;
}

.ect-web-solutions__tab:nth-child(1) {
  top: 0;
}

.ect-web-solutions__tab:nth-child(2) {
  top: 132px;
}

.ect-web-solutions__tab:nth-child(3) {
  top: 264px;
}

.ect-web-solutions__tab:nth-child(4) {
  top: 396px;
}

.ect-web-solutions__tab:nth-child(5) {
  top: 528px;
}

.ect-web-solutions__tab:nth-child(6) {
  top: 660px;
}

.ect-web-solutions__tab:hover {
  background: #f0f0ec;
}

.ect-web-solutions__tab:focus-visible {
  outline: 3px solid rgba(12, 60, 1, 0.24);
  outline-offset: 4px;
}

.ect-web-solutions__tab.is-active {
  width: 379px;
  background: var(--ect-light-background);
  color: var(--ect-secondary);
  z-index: 2;
}

.ect-web-solutions__tab-label {
  display: block;
  width: 292px;
  padding: 0 14px;
  color: inherit;
  font-family: "Montserrat";
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  white-space: pre-line;
}
/* 
.ect-web-solutions__panel {
  position: absolute;
  top: 0;
  left: 318px;
  width: 922px;
  height: 760px;
  border-radius: 24px;
  background: var(--ect-light-background);
  overflow: hidden;
  z-index: 3;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 240ms ease, transform 240ms ease;
} */



.ect-web-solutions__panel {
  position: absolute;
  top: 0;
  left: 318px;
  width: 922px;
  height: 760px;
  border-radius: 24px;
  background: var(--ect-light-background);
  overflow: hidden;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
}

.ect-web-solutions__panel.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}
/* 
.ect-web-solutions__media {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 874px;
  height: 502px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ect-white);
} */



.ect-web-solutions__media {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 874px;
  height: 502px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ect-white);
}


.ect-web-solutions__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.ect-web-solutions__content-title {
  position: absolute;
  top: 542px;
  left: 24px;
  width: 874px;
  min-height: 30px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

.ect-web-solutions__description {
  position: absolute;
  top: 576px;
  left: 24px;
  width: 890px;
  min-height: 48px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.ect-web-solutions__perfect-label {
  position: absolute;
  top: 632px;
  left: 25px;
  min-height: 20px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
}

.ect-web-solutions__audience {
  position: absolute;
  top: 656px;
  left: 25px;
  min-height: 24px;
  color: var(--ect-black);
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.ect-web-solutions__cta {
  position: absolute;
  top: 696px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 40px;
  padding: 8px 24px;
  border-radius: 8px;
  background: var(--ect-primary);
  color: var(--ect-white);
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.ect-web-solutions__cta:hover {
  background: #0f4a02;
  transform: translateY(-2px);
}

.ect-web-solutions__cta:focus-visible {
  outline: 3px solid rgba(12, 60, 1, 0.26);
  outline-offset: 3px;
}
