/*Global CSS for home page */
@media (min-width: 1400px) {
  .container {
    max-width: 1460px !important;
  }
}

/* Hero section */

#hero {
  min-height: 86vh;
  height: 100%;
  color: #fff;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-row {
  max-width: 650px;
}

@media screen and (min-width: 901px) {
  .hero-img-left {
    left: 0;
    top: 0;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    width: 73px;
    height: calc(53% - 80px);
    background-image: url("../img/hero-left.png");
  }

  .hero-img-right {
    right: 0;
    bottom: 0;
    -webkit-clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
    width: 76px;
    height: calc(53% - 45px);
    background-image: url("../img/hero-right.png");
  }

  .hero-img-left,
  .hero-img-right {
    background-color: transparent;
  }

  .hero-img-right,
  .hero-img-left {
    position: absolute;
  }
}

@media screen and (max-width: 1024px) {
  .hero-row {
    max-width: 400px;
  }
}

@media screen and (max-width: 1400px) and (min-width: 1025px) {
  .hero-row {
    max-width: calc(50% + 40px); /* Adjust the value as needed */
  }
}

.transparent {
  background: transparent;
  position: absolute;
  z-index: 1;
  width: 100%;
}

#hero h2 {
  font-weight: 700;
  letter-spacing: 0.1rem;
  font-size: 32px;
}

@media screen and (min-width: 1400px) {
  #hero h2 {
    font-size: 38px;
  }
}

#hero .container-fluid {
  max-width: 745px !important;
}

@media screen and (min-width: 2000px) {
  #hero .container-fluid {
    max-width: 1500px !important;
  }
}

#hero p {
  font-size: 20px;
}

#hero .plight {
  font-family: "dei-light";
  font-size: 20px;
}

#hero a {
  font-size: 1.2rem;
}

/* Counters section */
#counters {
  height: 100%;
}
.container-progress {
  max-width: 600px !important;
  position: relative;
}

.progressbar-row {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.progressbar-row p {
  margin: 0 !important;
}

.animated-progress {
  width: 100%;
  height: 30px;
  border-radius: 15px;
  margin: 20px 10px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}

.animated-progress span {
  height: 100%;
  display: block;
  width: 0;
  line-height: 30px;
  position: absolute;
  text-align: end;
  padding-right: 5px;
}

.progress-date span {
  background-color: #000f1e;
}

.dates:after {
  content: "";
  display: block;
  border-left: 2px dashed #f0f0f0;
  position: absolute;
  right: -12px;
  height: 65%;
  top: 28px;
}

.dates:before {
  content: "";
  display: block;
  border-left: 2px dashed #f0f0f0;
  position: absolute;
  left: 9px;
  height: 65%;
  top: 25px;
}

.labels,
.dates {
  max-width: 600px;
  color: #091f2c;
}

.date {
  color: #091f2c;
  font-size: 22px;
}

@media screen and (min-width: 768px) {
  .date:nth-child(1) {
    position: relative;
    right: 20px;
    top: 15px;
  }
  .date:nth-child(2) {
    position: relative;
    left: 55px;
    bottom: -15px;
  }
  .end {
    position: relative;
    left: 35px;
    top: 0;
  }
  .start {
    position: relative;
    right: 20px;
    top: 0px;
  }
}

/* Suggestions */

.allsuggestions {
  max-width: 195px;
  padding: 1rem 1.3rem;
}

/* Steps */

#steps {
  background: #f2f2f2;
}

.steps-title,
.counters-title {
  color: #000f1e;
  font-family: "dei-bold";
  font-size: 35px;
}

.step-photo {
  max-width: 530px;
}

.box-right {
  background: #fff;
  transform: matrix(1, 0.05, -0.05, 1, 0, 0);
  box-shadow: 0px 0px 50px #4949490d;
  border-radius: 24px;
  padding: 3.2rem;
  width: 100%;
  max-width: 540px;
}

.step-right-content {
  transform: matrix(1, -0.05, 0.05, 1, 0, 0);
  position: relative;
  top: -10px;
}

.box-left {
  background: #fff;
  transform: matrix(1, -0.03, 0.03, 1, 0, 0);
  width: 100%;
  max-width: 540px;
  box-shadow: 0px 0px 50px #4949490d;
  border-radius: 24px;
  padding: 35px;
}

.step-box {
  background: #ffffff 0% 0% no-repeat padding-box;
  border: 1px solid #9f9f9f;
  border-radius: 15px;
  height: 100%;
  min-height: 370px;
  padding: 2rem;
  color: #000f1e;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.stepbutton {
  max-width: 180px !important;
  font-size: 14px;
  padding: 1rem 2rem !important;
  font-weight: bold;
}

.step-box .step-title {
  font-size: 27px;
  font-weight: bold;
}

.step-left-content {
  transform: matrix(1, 0.03, -0.03, 1, 0, 0);
}

.step-number {
  font-size: 40px;
  font-family: "dei-bold";
  color: #49a1db;
}

.step-title {
  color: #000f1e;
  font-size: 22px;
  font-family: "dei-bold";
  margin-bottom: 1rem;
}

.step-content {
  font-size: 16px;
  color: #616161;
  margin: 25px 0px;
}

.about-text {
  font-size: 1.5em;
}

#about .row {
  max-width: calc(100% - 800px) !important;
}

@media screen and (min-width: 1400px) and (max-width: 1700px) {
  .about-text {
    margin-left: 20%;
  }
}

@media screen and (min-width: 1401px) {
  #about {
    background: url("../img/deitemplate20242.png");
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    min-height: 768px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }

  .about-img-left {
    left: 0;
    top: 0;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    width: 73px;
    height: calc(53% - 80px);
    background-image: url("../img/WHAT-01-GL.png");
  }

  .about-img-right {
    right: 0;
    bottom: 0;
    -webkit-clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
    width: 76px;
    height: calc(53% - 45px);
    background-image: url("../img/WHAT-01-GR.png");
  }

  .about-img-left,
  .about-img-right {
    background-color: transparent;
  }

  .about-img-right,
  .about-img-left {
    position: absolute;
  }
}

@media screen and (max-width: 1400px) {
  #about {
    background: url("../img/bgabout2024.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
  }
  .about-img-left {
    display: none;
  }
  .about-img-right {
    display: none;
  }
  #about .row {
    max-width: 100% !important;
    padding: 3rem 0;
  }
}

@media (max-width: 1360px) {
  #steps .container {
    max-width: 1340px !important;
  }
}

@media screen and (max-width: 990px) {
  #steps .container > .row {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  #steps .container > .row > .col-md-3 {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.about-text h2 {
  font-family: "dei-bold";
}

.sec-title {
  position: relative;
}

.sec-title::before {
  content: "";
  height: 1px;
  width: 200px;
  background-color: #49a1db;
  position: absolute;
  top: 95px;
  left: -10px;
}

.sec-empty::before {
  top: 58px !important;
  left: -12px !important;
}

#steps > div > hr {
  top: 136px;
}

.steps-title::before {
  top: 122px;
  left: 0px;
}

#counters > div > hr {
  top: 104px;
}

.counters-title::before {
  top: 122px;
  left: 0;
}

#suggestions-winners .suggestion-box {
  background-size: 130% 130%;
  background-position: center;
  color: #fff;
  max-height: max-content !important;
  min-height: 500px !important;
}

#suggestions-winners .suggestion-box p {
  color: #fff;
}

#suggestions-winners .suggestion-bottom {
  justify-content: start;
}

#suggestions-winners .suggestion-box .button-lg {
  max-width: 380px !important;
}

#suggestions-winners .caticon {
  filter: invert(94%) sepia(92%) saturate(111%) hue-rotate(248deg)
    brightness(121%) contrast(100%);
}

#suggestions-winners .likebtn-end {
  background: transparent;
  border: 1px solid #f2f2f2;
}

#suggestions-winners .titleshr {
  top: 100px;
}

#suggestions-winners .sec-title::before {
  top: 52px;
}
/* Responsive */

@media screen and (max-width: 768px) {
  .suggestion-box {
    box-shadow: none;
  }
  .slick-dots {
    bottom: -25px !important;
    padding: 2rem 0rem !important;
    right: 0;
  }
  .hero-text {
    width: 100%;
  }
  #suggestions-section .col-md-8 {
    justify-content: center !important;
  }
  .suggestions-sec-title,
  .counters-title,
  .steps-title {
    font-size: 19px;
  }
  .step-title {
    font-size: 16px !important;
  }
  #suggestions-section .col-md-6 {
    justify-content: center;
  }
}

@media screen and (max-width: 1024px) {
  .titleshr {
    display: none;
  }
  .sec-title::before {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  #steps .button-small {
    padding: 0.4rem;
  }
}

@media screen and (min-width: 1024px) {
  #hero .container-fluid {
    max-width: calc(100% - 200px) !important; /* Adjust the value as needed */
  }
}
