/* General */

.menu-logo-open {
	position: absolute;
	top: 0;
	left: 120px;
	z-index: 9999;
	display: block;
}
body {
	transition: background-position 1s ease;
}
body.bg-fixed {
	background-position: center center !important;
}

@media screen and (max-width: 767px) {
	body.bg-fixed {
		background-position: 50% 75% !important;
	}
}


.section, .section-img {
	transition: all 0.3s ease-in-out;
}
.section img, .section-img img {
	transition: all 0.3s ease-in-out;
}
.section h1,h2,h3,h4,h5,h6,p,ul,li,a {
	transition: all 0.3s ease-in-out;
}
.section-img:hover{
	 img {
        scale: 1.5 !important;
    }
}
.section:hover{
    img {
        scale: 1.5 !important;
    }
	h1,h2,h3,h4,h5,h6 {
		color: #1C542C !important; 
	}
	p, ul, li, a {
		color: #000000 !important;
	}
	.section-content {
		background-color: #ffffff !important;
		backdrop-filter: inherit !important;
	}
}

.btn .elementor-button, .elementor-post__read-more {
	display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
}
.btn .elementor-button span, .elementor-post__read-more span {
    position: relative !important;
    z-index: 99 !important;
}
.btn.btn-blue .elementor-button:before {
	background-color: var( --e-global-color-bdcbf8f ) !important;
}
.btn.btn-yellow .elementor-button:before, .elementor-post__read-more:before{
	background-color: var( --e-global-color-primary ) !important;
}
.btn .elementor-button:before, .elementor-post__read-more:before{
      content: "";
      border-radius: 50% ;
      aspect-ratio: 1;
	  left: -100%;
	  position: absolute;
	  top: 50%;
	  transform: translateY(-10%) scale(1);
	  transform-origin: left center;
	  transition: transform 0.4s ease-in-out;
	  width: 101%;
}
.btn .elementor-button:hover:before, .elementor-post__read-more:hover:before{
  transform: translateY(-50%) scale(2);
}

.elementor-widget-uael-nav-menu .sub-menu li a.uael-sub-menu-item {
	max-width: 235px !important;
}
.focused {
  position: absolute;
  height: 1px; width: 1px; 
  overflow: hidden;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}
/* End General */

/* Step Component */
.how-it-works {
  --step-spacing: 20%;
  position: relative;
  padding-left: var(--step-spacing);
  background-image: linear-gradient(
      to right,
      rgba(7, 31, 15, 0.9),
      rgba(7, 31, 15, 0.9)
    ),
    url("https://staging.medcure.org/wp-content/uploads/2026/01/step-1-bg.jpg");
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 1100px;
  display: flex;
  gap: 40px;
  .section-title {
    position: absolute;
    left: 40px;
    font-size: 40px;
    font-weight: 800;
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1.2;
    color: #fff;
    width: 100%;
    max-width: 300px;
  }
  .grid-tabs {
    position: relative;
    flex-grow: 1;
    display: grid;
    grid-gap: 2em;
    grid-template-columns: 30% 70%;
  }
  .tab-menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 78px;
    position: relative;
    z-index: 2;
    min-width: 650px;
    min-height: 672px;
    background-image: url("https://staging.medcure.org/wp-content/uploads/2026/01/ellipse.png");
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    padding-left: 150px;
	list-style: none;
    li {
      &:first-child,
      &:last-child {
        a {
          position: relative;
          left: -80px;
        }
      }
      a {
        display: inline-block;
        padding: 24px 27px;
        border: 3px solid #ffffff;
        border-radius: 36px;
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(25px);
        text-decoration: none !important;
        span {
          position: absolute;
          top: 50%;
          left: 110px;
          transform: translate(0, -50%);
          width: 120px;
          font-size: 32px;
          font-weight: 800;
          font-family: "Plus Jakarta Sans", sans-serif;
          line-height: 1.2;
          color: #fff;
        }
        &[role="tab"][aria-selected="true"] {
          background-color: #e9ac21;
          span {
            display: none;
          }
        }
        svg {
          .checkmark {
            backdrop-filter: blur(25px);
          }
        }
      }
    }
  }
  .steps {
    position: absolute;
    width: 940px;
    left: calc(440px + var(--step-spacing));
  }
  .step {
    position: relative;
    display: block;
    visibility: visible;
	opacity: 1;
	transition: all .3s ease-in-out;
    .step-bg {
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 1;
    }
    &[hidden] {
	  opacity: 0;
      visibility: hidden;
    }
    &:first-child {
      top: 96px;
      left: -80px;
    }
    &:nth-child(2) {
      top: 14px;
    }
    &:nth-child(3) {
      top: -68px;
    }
    &:last-child {
      top: -160px;
      left: -80px;
    }
  }
  .step-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    .step-connector {
      position: relative;
      top: 40px;
    }
    .step-content {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 48px;
      width: 100%;
      max-width: 668px;
      height: 100%;
      min-height: 150px;
      border: 3px solid #ffffff;
      border-radius: 36px;
      background-color: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(25px);
      span {
        font-size: 20px;
        font-family: "Plus Jakarta Sans", sans-serif;
        font-style: italic;
        line-height: 1.2;
        color: #fff;
      }
      h4 {
        font-size: 32px;
        font-weight: 800;
        font-family: "Plus Jakarta Sans", sans-serif;
        line-height: 1.2;
        color: #fff;
      }
      p {
        font-size: 16px;
        font-weight: 500;
        font-family: "Plus Jakarta Sans", sans-serif;
        line-height: 1.2;
        color: #fff;
      }
    }
  }
  @media screen and (max-width: 1700px) {
    --step-spacing: 15%;
  }
  @media screen and (max-width: 1650px) {
	  .steps {
		  width: 820px;
	  }
  }
  @media screen and (max-width: 1536px) {
    --step-spacing: 10%;
    .steps {
      width: 775px;
    }
    /* .step-holder .step-content {
      max-width: 400px;
    } */
    .step {
      &:first-child {
        top: 86px;
        left: -80px;
      }
      &:nth-child(2) {
        top: -32px;
      }
      &:nth-child(3) {
        top: -154px;
      }
      &:last-child {
        top: -274px;
        left: -80px;
      }
    }
  }
  @media screen and (max-width: 1400px) {
    --step-spacing: 20px;
    .steps {
      width: 705px;
    }
    /* .step-holder .step-content {
      max-width: 330px;
    } */
    .step {
      &:first-child {
        top: 70px;
        left: -80px;
      }
      &:nth-child(2) {
        top: -80px;
      }
      &:nth-child(3) {
        top: -210px;
      }
      &:last-child {
        top: -340px;
        left: -80px;
      }
    }
  }
  @media screen and (max-width: 1200px) {
    .section-title {
      top: 160px;
    }
    ul {
      padding-left: 0;
      min-width: 400px;
      li {
        &:first-child,
        &:last-child {
          a {
            left: -5px;
          }
        }
        &:nth-child(2),
        &:nth-child(3) {
          a {
            position: relative;
            left: 75px;
          }
        }
      }
    }
    .step {
      &:first-child {
        top: 70px;
        left: -220px;
      }
      &:nth-child(2) {
        top: -80px;
        left: -150px;
      }
      &:nth-child(3) {
        top: -210px;
        left: -150px;
      }
      &:last-child {
        top: -340px;
        left: -220px;
      }
    }
  }

  @media screen and (max-width: 1023px) {
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    padding-top: 100px;
    padding-bottom: 100px;
    min-height: 100%;
    .tab-menu {
      flex-direction: column;
      gap: 30px;
    }
    .section-title {
      position: relative;
      top: auto;
      left: auto;
      text-align: center;
    }
    ul {
      flex-direction: row;
      min-width: 100%;
      background-image: none;
      gap: 20px;
      min-height: 100%;
      li {
        a {
          display: flex;
          align-items: center;
          text-transform: uppercase;
          text-align: center;
          font-size: 16px;
          padding: 20px;
          top: auto !important;
          left: auto !important;
          svg {
            display: none;
          }
          span {
            display: block;
            position: relative;
            top: auto;
            left: auto;
            max-width: 70px;
            transform: initial;
          }
          &[role="tab"][aria-selected="true"] {
            span {
              display: block;
            }
          }
        }
      }
    }
    .steps {
      position: relative;
      top: auto;
      left: auto;
      width: 100%;
      .step-connector {
        display: none;
      }
      .step-holder .step-content {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
      }
      .step {
        position: relative;
        top: auto !important;
        left: auto !important;
        display: block;
        visibility: visible;
        &[hidden] {
          visibility: none;
          display: none;
        }
      }
    }
  }
  @media screen and (max-width: 767px) {
		ul {
		  gap: 10px;
		  li a {
			padding: 10px;
			border-radius: 24px;
			span {
			  font-size: 22px;
			  max-width: 60px;
			}
		  }
		}
	  .steps {
		  .step-holder .step-content {
			  padding: 24px;
		  }
	  }
  }
  @media screen and (max-width: 400px) {
    ul {
      gap: 5px;
      li a {
        padding: 8px;
      }
    }
  }
}
/* End Step Component */