/*start of Hero-AC*/
.hero-ac {
  color: var(--white);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(216.56deg, #26becf 66.79%, #5ebb75 82.87%, #8eb927 93.36%);
}

.hero-ac {
  margin-bottom: -50px;
}

.hero-ac:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 130px;
  width: 100%;
  background: var(--white);
  border-radius: 50% 50% 0 0/100% 100% 0 0;
  transform: scaleX(1.5);
}

.circle-fill::after {
  content: ' ';
  box-sizing: border-box;
  position: absolute;
  left: 60.21%;
  right: -4.2%;
  top: -12%;
  bottom: 14.95%;
  border: 4px solid var(--white);
  border-radius: 1000px;
  transform: rotate(25deg);
  -webkit-transform-origin-y: 16%;
}

.hero-content {
  right: 50%;
  margin-left: 11%;
  position: absolute;
  top: 20%;
  text-shadow: 0px 0px 35px rgba(0, 0, 0, 0.25);
}

.hero-ac-text {
  padding: 0 50px;
  padding-top: 64px;
  z-index: 99;
}

.hero-ac-text .btn {
  margin-top: 24px;
}

.hero-ac-text h1 {
  color: var(--white);
  font-size: 44px;
}

.hero-circle {
  max-height: 784px;
}

.hero-ac .btn-outline-primary.outline-text {
  border-color: transparent;
  color: var(--acBlueText);
  margin-left: 0;
}
.hero-ac .btn-outline-primary.outline-text:hover {
  color: var(--white);
}
.hero-ac:after {
  content: "";
  width: 250%;
  height: 0;
  padding-top: 51%;
  border-radius: 100%;
  background: var(--white);
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-ac {
  margin-bottom: -64px;
}

.circle-fill img {
  background: rgba(15, 28, 63, 0.125);
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
  clip-path: polygon(48.75% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-ac .d-md-block.d-none a:last-child,
.hero-circle .d-block.d-md-none a:last-child {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.hero-ac .d-md-block.d-none a:first-child,
.hero-circle .d-block.d-md-none a:first-child {
  background-color: var(--white);
  color: var(--acBlueShade);
}
.hero-ac .d-md-block.d-none a:first-child:hover,
.hero-circle .d-block.d-md-none a:first-child:hover {
  background-color: var(--acBlueShade);
  border: 1px solid var(--acBlueShade);
  color: var(--white);
}
@media (min-width: 992px) {
  .hero-ac:after {
    top: 90%;
  }
}

@media (max-width: 767px) {
  .hero-ac-text p {
    padding-right: 35px;
  }

  .hero-ac .circle-fill img {
    right: -33px;
  }

  .circle-fill img {
    background: rgba(15, 28, 63, 0.125);
    display: block;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: unset;
    object-fit: cover;
    clip-path: polygon(46.75% 0%, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(82% 0%, 100% 0, 100% 100%, 31% 100%);
  }

  .circle-fill::after {
    top: -23%;
    -webkit-transform-origin-y: 97%;
    transform: rotate(21deg);
    border-width: 2px;
  }
  .hero-circle .d-block.d-md-none {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 20%;
    display: inline-grid !important;
  }
  .hero-circle .d-block.d-md-none a {
    max-width: max-content;
    margin: auto;
    margin-bottom: 16px;
  }
}

@media(min-width:768px) {
  .hero-ac {
    text-align: left;
  }

  .hero-ac:after {
    top: 88%;
  }

  body.path-frontpage .hero-ac {
    margin-top: -72px;
  }

  .hero-ac-text {
    justify-self: center;
    align-self: center;
    padding: 0;
    margin-top: 35px;
  }

  .hero-ac-text p {
    max-width: 66%;
  }

  .hero-ac-text h1 {
    font-size: 38px;
  }

  .hero-ac {
    min-height: 556px;
  }

  .hero-ac:after {
    height: 70px;
  }
}

/*header logo fixes*/
@media (min-width: 992px) {
  .header .header-main {
    padding: 0;
    padding-right: 20px;
  }

  .hero-ac-text h1 {
    font-size: 44px;
  }

  .ac-logo {
    padding: 20px 38px 25px 30px;
  }

  .hero-ac:after {
    height: 100px;
  }
}

@media (min-width: 1200px) {
  .hero-ac-text {
    padding: 0;
    margin-top: 0;
  }

  .hero-ac-text h1 {
    font-size: 64px;
  }

  .hero-ac-text p {
    max-width: 65%;
  }

  .header .header-main {
    padding: 0;
    padding-right: 60px;
  }

  .ac-logo {
    padding: 20px 38px 25px 60px;
  }

  .hero-ac:after {
    height: 130px;
  }

  .hero-content {
    margin-left: 11%;
  }
}


/*newcode*/
@media (max-width:767px) {
  .hero-ac-text {
    padding-top: 0;
  }

  .hero-ac:after {
    height: 50px;
  }

  .hero-ac-text h1 {
    font-size: 32px;
    text-align: left;
  }

  .hero-content {
    text-align: left;
  }

  .hero-content {
    margin-left: 0;
    padding-left: 25px;
    text-align: left;
    top: 5%;
    right: 32%;
  }

  .hero-ac {
    min-height: 400px;
  }

  .circle-fill img {
    right: -175px;
  }

  .circle-fill::after {
    top: -23%;
    -webkit-transform-origin-y: 97%;
    transform: rotate(21deg);
    border-width: 2px;
  }

  .hero-ac-text p {
    padding-right: 20px;
  }

  .hero-ac-text .btn {
    margin-top: 5px;
    margin-left: 0;
  }
}

@media (max-width:768px) {
  .hero-ac .hero-ac-text h1 {
    font-size: 30px;
  }

  .hero-ac .circle-fill img {
    clip-path: polygon(98% 0%, 100% 0, 100% 100%, 28% 100%);
  }

  .hero-content {
    right: 10%;
  }

  .hero-ac-text p {
    max-width: 85%;
  }

  .hero-ac {
    min-height: 580px;
  }

  .hero-ac .circle-fill::after {
    top: -23%;
    -webkit-transform-origin-y: 97%;
    transform: rotate(26deg);
    border-width: 2px;
    left: 53%;
    bottom: 11%;
  }
}


@media (min-width: 769px) {
  .hero-content {
    right: 38%;
  }

  .hero-ac-text h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .hero-ac-text p {
    line-height: 1.5rem;
    max-width: 83%;
    margin-bottom: 15px;
  }

  .hero-ac {
    min-height: 457px;
  }

  .hero-ac-text .btn {
    margin-top: 15px;
  }

  .circle-fill::after {
    left: 53.21%;
    right: -10.2%;
    bottom: 5.95%;
    border: 3px solid var(--white);
  }
}


@media (min-width: 992px) {
  .hero-content {
    right: 33%;
  }

  .hero-ac-text h1 {
    font-size: 44px;
  }

  .hero-ac {
    min-height: 570px;
  }

  .circle-fill::after {
    left: 54.21%;
    right: -12.2%;
    bottom: 8.95%;
    border: 3px solid var(--white);
  }
}


@media (min-width: 1200px) {
  .hero-content {
    right: 33%;
  }

  .hero-ac-text h1 {
    font-size: 50px;
  }

  .hero-ac {
    min-height: 700px;
  }

  .circle-fill::after {
    left: 54.21%;
    right: -12.2%;
    bottom: 12.95%;
  }
}

@media (min-width: 1366px) {
  .hero-content {
    right: 40%;
  }

  .hero-ac-text h1 {
    font-size: 64px;
  }

  .hero-ac {
    min-height: 789px;
  }

  .hero-ac:after {
    top: 86%;
  }

  .circle-fill::after {
    left: 54.21%;
    right: -13.2%;
    bottom: 6.95%;
  }
}

/*pwd phase2 hero changes*/
@media (max-width:768px) {
  .hero-ac .hero-ac-text h1 {
    font-size: 30px;
  }

  .hero-ac .circle-fill img {
    clip-path: polygon(98% 0%, 100% 0, 100% 100%, 28% 100%);
  }

  .hero-content {
    right: 10%;
  }

  .hero-ac-text p {
    max-width: 85%;
  }

  .hero-ac {
    min-height: 580px;
  }

  .hero-ac .circle-fill::after {
    top: -23%;
    -webkit-transform-origin-y: 97%;
    transform: rotate(26deg);
    border-width: 2px;
    left: 53%;
    bottom: 11%;
  }
}


@media (min-width: 769px) {
  .hero-content {
    right: 38%;
  }

  .hero-ac-text h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .hero-ac-text p {
    line-height: 1.5rem;
    max-width: 83%;
    margin-bottom: 15px;
  }

  .hero-ac {
    min-height: 457px;
  }

  .hero-ac-text .btn {
    margin-top: 15px;
  }

  .circle-fill::after {
    left: 53.21%;
    right: -10.2%;
    bottom: 5.95%;
    border: 3px solid var(--white);
  }
}


@media (min-width: 992px) {
  .hero-content {
    right: 33%;
  }

  .hero-ac-text h1 {
    font-size: 44px;
  }

  .hero-ac {
    min-height: 570px;
  }

  .circle-fill::after {
    left: 54.21%;
    right: -12.2%;
    bottom: 8.95%;
    border: 3px solid var(--white);
  }
}


@media (min-width: 1200px) {
  .hero-content {
    right: 33%;
  }

  .hero-ac-text h1 {
    font-size: 50px;
  }

  .hero-ac {
    min-height: 700px;
  }

  .circle-fill::after {
    left: 54.21%;
    right: -12.2%;
    bottom: 12.95%;
    border: 4px solid var(--white);
  }
}

@media (min-width: 1366px) {
  .hero-content {
    right: 40%;
  }

  .hero-ac-text h1 {
    font-size: 64px;
  }

  .hero-ac {
    min-height: 789px;
  }

  .hero-ac:after {
    top: 86%;
  }

  .circle-fill::after {
    left: 54.21%;
    right: -13.2%;
    bottom: 6.95%;
  }
}

@media (min-width:540px) and (max-width: 767px) {
  .hero-ac {
    min-height: 470px;
  }

  .hero-content {
    right: 35%;
  }

  .hero-ac .circle-fill img {
    max-width: 60%;
    float: right;
    clip-path: polygon(64% 0%, 100% 0, 100% 100%, -5% 100%);
  }

  .hero-ac .circle-fill::after {
    left: 57%;
    bottom: 17%;
  }
}
/*end*/
