@keyframes shine {
  from {
    opacity: 0;
    left: 0%;
  }
  50% {
    opacity: 1;
  }
  to {
    opacity: 0;
    left: 100%;
  }
}
main {
  overflow: hidden;
}

.home-banner {
  position: relative;
  color: white;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media only screen and (max-width: 991px) {
  .home-banner {
    height: 80vh;
  }
}
@media only screen and (max-width: 768px) {
  .home-banner {
    height: 70vh;
  }
}
@media only screen and (max-width: 540px) {
  .home-banner {
    height: 65vh;
  }
}
.home-banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  transform: scaleX(-1);
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%), linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0) 69.27%, rgba(0, 0, 0, 0.6) 88.72%);
  z-index: 2;
}
.home-banner .videoSlider {
  position: absolute;
  inset: 0;
}
.home-banner .videoSlider .swiper-wrapper .swiper-slide video, .home-banner .videoSlider .swiper-wrapper .swiper-slide img:not(.banner-category li > img) {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in-out;
}
.home-banner .videoSlider .swiper-wrapper .swiper-slide:first-child video, .home-banner .videoSlider .swiper-wrapper .swiper-slide:first-child img {
  transform: scaleX(-1);
}
.home-banner .bg-content {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 550px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
@media only screen and (max-width: 1280px) {
  .home-banner .bg-content {
    max-width: 450px;
  }
}
@media only screen and (max-width: 991px) {
  .home-banner .bg-content {
    max-width: 398px;
    left: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    text-align: center;
  }
}
@media only screen and (max-width: 768px) {
  .home-banner .bg-content {
    gap: 15px;
    top: 60%;
  }
}
@media only screen and (max-width: 540px) {
  .home-banner .bg-content {
    max-width: 358px;
  }
}
.home-banner .bg-content .textSlider {
  height: 230px;
  overflow: hidden;
  width: 100%;
}
@media only screen and (max-width: 1280px) {
  .home-banner .bg-content .textSlider {
    height: 185px;
  }
}
@media only screen and (max-width: 1024px) {
  .home-banner .bg-content .textSlider {
    height: 150px;
  }
}
@media only screen and (max-width: 540px) {
  .home-banner .bg-content .textSlider {
    height: 120px;
  }
}
.home-banner .bg-content .textSlider .swiper-wrapper .swiper-slide {
  padding-bottom: 35px;
}
@media only screen and (max-width: 768px) {
  .home-banner .bg-content .textSlider .swiper-wrapper .swiper-slide {
    padding-bottom: 20px;
  }
}
.home-banner .bg-content .textSlider .swiper-wrapper .swiper-slide h2 span {
  font-size: inherit;
  font-weight: inherit;
  color: var(--primary);
}
.home-banner .banner-category {
  position: absolute;
  left: 50%;
  bottom: 50px;
  width: var(--container);
  display: flex;
  justify-content: space-between;
  z-index: 2;
  padding: 0 20px 15px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: border-bottom 0.5s ease;
}
@media only screen and (max-width: 991px) {
  .home-banner .banner-category {
    bottom: 30px;
    width: 90%;
    padding: 0 15px 12px;
  }
}
@media only screen and (max-width: 768px) {
  .home-banner .banner-category {
    gap: 20px;
  }
}
@media only screen and (max-width: 540px) {
  .home-banner .banner-category {
    bottom: 20px;
    gap: 15px;
    padding: 0 0px 10px;
  }
}
.home-banner .banner-category.hide-border {
  border-bottom: 1px solid transparent;
}
.home-banner .banner-category li {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
  font-size: 20px;
  position: relative;
  font-weight: 600;
}
@media only screen and (max-width: 991px) {
  .home-banner .banner-category li {
    gap: 15px;
  }
}
@media only screen and (max-width: 768px) {
  .home-banner .banner-category li {
    gap: 10px;
  }
}
@media only screen and (max-width: 540px) {
  .home-banner .banner-category li {
    gap: 8px;
  }
}
.home-banner .banner-category li::before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 160px;
  background: transparent;
  transition: all 0.1s ease;
  opacity: 0;
}
@media only screen and (max-width: 768px) {
  .home-banner .banner-category li::before {
    width: 100px;
    bottom: -10px;
  }
}
.home-banner .banner-category li:first-child::before {
  left: 45%;
}
.home-banner .banner-category li:last-child::before {
  left: 60%;
}
.home-banner .banner-category li.active {
  opacity: 1;
}
.home-banner .banner-category li.active::before {
  background: var(--white);
  opacity: 1;
  transition: all 3s ease;
}
.home-banner .banner-category li img, .home-banner .banner-category li svg {
  width: 34px;
  height: 34px;
}
@media only screen and (max-width: 768px) {
  .home-banner .banner-category li img, .home-banner .banner-category li svg {
    width: 28px;
    height: 28px;
  }
}
@media only screen and (max-width: 540px) {
  .home-banner .banner-category li img, .home-banner .banner-category li svg {
    width: 24px;
    height: 24px;
  }
}
.home-banner .banner-category li span {
  font-size: 20px;
  color: var(--white);
}
@media only screen and (max-width: 768px) {
  .home-banner .banner-category li span {
    font-size: 16px;
  }
}
@media only screen and (max-width: 540px) {
  .home-banner .banner-category li span {
    font-size: 14px;
  }
}

.home-secA {
  background: var(--gray);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}
@media only screen and (max-width: 991px) {
  .home-secA {
    padding: 50px 0;
  }
}
@media only screen and (max-width: 768px) {
  .home-secA {
    padding: 40px 0;
  }
}
@media only screen and (max-width: 540px) {
  .home-secA {
    padding: 30px 0;
  }
}
.home-secA::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 340px;
  height: 340px;
  background-image: url(../../icon/brush.svg);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
}
@media only screen and (max-width: 991px) {
  .home-secA::before {
    display: none;
  }
}
.home-secA::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  background-image: url(../../icon/Rectangle-white.png);
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: contain;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}
@media only screen and (max-width: 991px) {
  .home-secA::after {
    display: none;
  }
}
.home-secA .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 20px;
}
@media only screen and (max-width: 991px) {
  .home-secA .grid {
    gap: 30px;
  }
}
@media only screen and (max-width: 768px) {
  .home-secA .grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
@media only screen and (max-width: 540px) {
  .home-secA .grid {
    gap: 20px;
  }
}
.home-secA .grid .item-left,
.home-secA .grid .item-right {
  padding: 20px 0;
  z-index: 2;
}
@media only screen and (max-width: 991px) {
  .home-secA .grid .item-left,
  .home-secA .grid .item-right {
    padding: 15px 0;
  }
}
@media only screen and (max-width: 768px) {
  .home-secA .grid .item-left,
  .home-secA .grid .item-right {
    padding: 10px 0;
  }
}
.home-secA .grid .item-left {
  z-index: 2;
  padding-right: 3rem;
}
@media only screen and (max-width: 991px) {
  .home-secA .grid .item-left {
    padding-right: 0;
    text-align: center;
  }
}
@media only screen and (max-width: 768px) {
  .home-secA .grid .item-left {
    text-align: center;
  }
}
.home-secA .grid .item-left h6 {
  margin-bottom: 10px;
}
@media only screen and (max-width: 540px) {
  .home-secA .grid .item-left p {
    padding: 0 10px;
  }
}
.home-secA .grid .item-center {
  position: relative;
}
@media only screen and (max-width: 991px) {
  .home-secA .grid .item-center {
    display: flex;
    justify-content: center;
  }
}
.home-secA .grid .item-center img {
  z-index: 1;
  position: relative;
  max-width: 100%;
  height: auto;
}
.home-secA .grid .item-center::before, .home-secA .grid .item-center::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 340px;
  height: 340px;
  background-image: url(../../icon/Rectangle-color.png);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
}
@media only screen and (max-width: 991px) {
  .home-secA .grid .item-center::before, .home-secA .grid .item-center::after {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
  }
}
.home-secA .grid .item-center::after {
  background: var(--white);
  border-radius: 50%;
  filter: blur(96px);
}
@media only screen and (max-width: 991px) {
  .home-secA .grid .item-right {
    text-align: center;
  }
}
.home-secA .grid .item-right p:not(:last-child) {
  color: var(--text);
}
.home-secA .grid .item-right h6 {
  color: var(--black);
  font-size: 16px;
  margin: 14px 0 30px;
}
@media only screen and (max-width: 768px) {
  .home-secA .grid .item-right h6 {
    margin: 10px 0 20px;
  }
}

.home-secB {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}
@media only screen and (max-width: 991px) {
  .home-secB {
    padding: 50px 0;
  }
}
@media only screen and (max-width: 768px) {
  .home-secB {
    padding: 40px 0;
  }
}
@media only screen and (max-width: 540px) {
  .home-secB {
    padding: 30px 0;
  }
}
.home-secB::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../../images/home/men.png);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  opacity: 1;
  z-index: -1;
  pointer-events: none;
}
@media only screen and (max-width: 991px) {
  .home-secB::before {
    opacity: 0.3;
  }
}
.home-secB .heading {
  text-align: center;
  margin-bottom: 4rem;
}
@media only screen and (max-width: 991px) {
  .home-secB .heading {
    margin-bottom: 3rem;
  }
}
@media only screen and (max-width: 768px) {
  .home-secB .heading {
    margin-bottom: 2.5rem;
  }
}
@media only screen and (max-width: 540px) {
  .home-secB .heading {
    margin-bottom: 2rem;
  }
}
.home-secB .cares-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 20px;
}
@media only screen and (max-width: 991px) {
  .home-secB .cares-wrapper {
    margin-bottom: 2rem;
    gap: 30px 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 540px) {
  .home-secB .cares-wrapper {
    gap: 25px;
    grid-template-columns: 1fr;
  }
}
.home-secB .cares-wrapper li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}
@media only screen and (max-width: 991px) {
  .home-secB .cares-wrapper li {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }
}
@media only screen and (max-width: 540px) {
  .home-secB .cares-wrapper li {
    flex: 1;
    gap: 12px;
  }
}
.home-secB .cares-wrapper li h2 {
  font-size: 20rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 20rem;
  color: var(--black);
  transition: color 0.3s ease;
}
@media only screen and (max-width: 1366px) {
  .home-secB .cares-wrapper li h2 {
    font-size: 12rem;
    line-height: 12rem;
  }
}
@media only screen and (max-width: 1024px) {
  .home-secB .cares-wrapper li h2 {
    font-size: 10rem;
    line-height: 10rem;
  }
}
@media only screen and (max-width: 991px) {
  .home-secB .cares-wrapper li h2 {
    font-size: 8rem;
    line-height: 8rem;
  }
}
@media only screen and (max-width: 768px) {
  .home-secB .cares-wrapper li h2 {
    font-size: 6rem;
    line-height: 6rem;
    flex-shrink: 0;
    width: 70px;
    display: flex;
    align-items: anchor-center;
    justify-content: center;
  }
}
@media only screen and (max-width: 540px) {
  .home-secB .cares-wrapper li h2 {
    font-size: 5rem;
    line-height: 1;
  }
}
.home-secB .cares-wrapper li .care-content {
  width: 100%;
  max-width: 260px;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.8s ease-in-out;
  position: relative;
  left: 50px;
}
@media only screen and (max-width: 991px) {
  .home-secB .cares-wrapper li .care-content {
    max-width: none;
    left: 0;
    transform: translateX(0);
    opacity: 1;
    order: 3;
  }
}
@media only screen and (max-width: 540px) {
  .home-secB .cares-wrapper li .care-content {
    max-width: none;
  }
}
.home-secB .cares-wrapper li .care-content h6 {
  font-weight: 600;
  margin-bottom: 5px;
}
@media only screen and (max-width: 540px) {
  .home-secB .cares-wrapper li .care-content h6 {
    margin-bottom: 0;
  }
}
.home-secB .cares-wrapper li .care-content p {
  margin: 5px 0 10px;
}
@media only screen and (max-width: 991px) {
  .home-secB .cares-wrapper li .care-content p {
    margin: 0;
  }
}
.home-secB .cares-wrapper li .line {
  width: 2px;
  height: 50px;
  background: var(--primary);
  margin: 10px 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.8s ease-in-out 0.7s;
}
@media only screen and (max-width: 991px) {
  .home-secB .cares-wrapper li .line {
    height: 70px;
    width: 2px;
    transform: scaleY(1);
    order: 2;
    margin: 0;
  }
}
.home-secB .cares-wrapper li.active .line {
  transform: scaleY(1);
}
.home-secB .cares-wrapper li.active .care-content {
  opacity: 1;
  transform: translateX(0);
}
.home-secB .cares-wrapper li.active h2 {
  color: var(--primary);
}
.home-secB .btn-primary {
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: center;
}

.home-secC {
  position: relative;
  height: calc(100vh - 60px);
  overflow: hidden;
}
@media only screen and (max-width: 991px) {
  .home-secC {
    height: auto;
    min-height: 60vh;
  }
}
@media only screen and (max-width: 540px) {
  .home-secC {
    min-height: 50vh;
  }
}
.home-secC .heading {
  margin-bottom: 40px;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}
@media only screen and (max-width: 991px) {
  .home-secC .heading {
    margin-bottom: 45px;
    position: relative;
    transform: none;
    top: 0;
    left: 0;
    padding: 30px 0 0;
    top: 10px;
  }
}
@media only screen and (max-width: 540px) {
  .home-secC .heading {
    margin-bottom: 35px;
    padding: 20px 0 0;
  }
}
.home-secC .heading h4 {
  color: var(--white);
}
@media only screen and (max-width: 991px) {
  .home-secC .heading h4 {
    color: var(--black);
  }
}
.home-secC .grid-wrapper {
  position: relative;
}
.home-secC .grid-wrapper .programSlider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .programSlider {
    display: none;
  }
}
.home-secC .grid-wrapper .programSlider .swiper-wrapper .swiper-slide > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}
.home-secC .grid-wrapper .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid {
    gap: 20px;
  }
}
@media only screen and (max-width: 540px) {
  .home-secC .grid-wrapper .grid {
    gap: 10px;
  }
}
.home-secC .grid-wrapper .grid::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 64.28%, rgba(0, 0, 0, 0.16) 94.05%), linear-gradient(180deg, rgba(0, 0, 0, 0) 69.51%, rgba(0, 0, 0, 0.7) 89.1%);
  z-index: 1;
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid {
    grid-template-columns: 1fr;
  }
}
.home-secC .grid-wrapper .grid .item {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  cursor: pointer;
  z-index: 4;
}
.home-secC .grid-wrapper .grid .item:not(:first-child) {
  border-left: 1px solid rgba(233, 233, 233, 0.1019607843);
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid .item:not(:first-child) {
    border-left: none;
    border-top: 1px solid rgba(233, 233, 233, 0.1019607843);
  }
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid .item {
    min-height: 450px;
    cursor: default;
  }
}
@media only screen and (max-width: 768px) {
  .home-secC .grid-wrapper .grid .item {
    min-height: 400px;
  }
}
@media only screen and (max-width: 540px) {
  .home-secC .grid-wrapper .grid .item {
    min-height: 350px;
  }
}
.home-secC .grid-wrapper .grid .item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  z-index: 1;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid .item::before {
    display: none;
  }
}
.home-secC .grid-wrapper .grid .item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.43) 69.27%, rgba(0, 0, 0, 0.6) 88.72%);
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid .item::after {
    display: block;
  }
}
.home-secC .grid-wrapper .grid .item .item-img {
  display: none;
  height: 100%;
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid .item .item-img {
    display: block;
  }
}
.home-secC .grid-wrapper .grid .item .item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.home-secC .grid-wrapper .grid .item .content {
  position: absolute;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 260px;
  text-align: center;
  z-index: 2;
  transition: bottom 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid .item .content {
    bottom: 80px;
    max-width: 450px;
  }
}
@media only screen and (max-width: 768px) {
  .home-secC .grid-wrapper .grid .item .content {
    bottom: 60px;
  }
}
@media only screen and (max-width: 540px) {
  .home-secC .grid-wrapper .grid .item .content {
    bottom: 40px;
    max-width: 280px;
  }
}
.home-secC .grid-wrapper .grid .item .content h6 {
  font-size: 24px;
  margin-bottom: 10px;
  font-family: "Poppins";
  color: var(--white);
  opacity: 0.5;
  font-weight: 500;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid .item .content h6 {
    opacity: 1;
  }
}
.home-secC .grid-wrapper .grid .item .content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  color: var(--white);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid .item .content p {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
  }
}
.home-secC .grid-wrapper .grid .item .content .btn-secondary {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@media only screen and (max-width: 991px) {
  .home-secC .grid-wrapper .grid .item .content .btn-secondary {
    opacity: 1;
    margin-top: 30px;
    max-height: 60px;
    transform: translateY(0);
  }
}
@media (min-width: 992px) {
  .home-secC .grid-wrapper .grid .item:hover::before, .home-secC .grid-wrapper .grid .item.active::before {
    opacity: 1;
    height: 100%;
  }
  .home-secC .grid-wrapper .grid .item:hover .content, .home-secC .grid-wrapper .grid .item.active .content {
    bottom: 20%;
  }
  .home-secC .grid-wrapper .grid .item:hover .content h6, .home-secC .grid-wrapper .grid .item.active .content h6 {
    opacity: 1;
  }
  .home-secC .grid-wrapper .grid .item:hover .content p, .home-secC .grid-wrapper .grid .item.active .content p {
    transform: translateY(0);
    opacity: 1;
    max-height: 200px;
  }
  .home-secC .grid-wrapper .grid .item:hover .content .btn-secondary, .home-secC .grid-wrapper .grid .item.active .content .btn-secondary {
    opacity: 1;
    margin-top: 30px;
    max-height: 60px;
    transform: translateY(0);
  }
}

.home-secD {
  padding: 60px 0;
  background: var(--gray);
}
@media only screen and (max-width: 991px) {
  .home-secD {
    padding: 50px 0;
  }
}
@media only screen and (max-width: 768px) {
  .home-secD {
    padding: 40px 0;
  }
}
@media only screen and (max-width: 540px) {
  .home-secD {
    padding: 30px 0;
  }
}
.home-secD .grid {
  display: grid;
  grid-template-columns: 450px 1fr;
  align-items: center;
  gap: 7rem;
  width: 100%;
  max-width: 76%;
  margin: 0 auto;
}
@media only screen and (max-width: 1366px) {
  .home-secD .grid {
    max-width: 85%;
    gap: 4rem;
  }
}
@media only screen and (max-width: 1024px) {
  .home-secD .grid {
    max-width: 100%;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
  }
}
@media only screen and (max-width: 991px) {
  .home-secD .grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media only screen and (max-width: 768px) {
  .home-secD .grid {
    gap: 2rem;
  }
}
@media only screen and (max-width: 540px) {
  .home-secD .grid {
    gap: 1.5rem;
  }
}
.home-secD .grid .form-img {
  height: 470px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}
@media only screen and (max-width: 1024px) {
  .home-secD .grid .form-img {
    height: 400px;
  }
}
@media only screen and (max-width: 991px) {
  .home-secD .grid .form-img {
    display: none;
  }
}
.home-secD .grid .form-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  z-index: 2;
}
.home-secD .grid .form-img::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  background-image: url(../../images/home/Rectangle-form.png);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
}
@media only screen and (max-width: 1024px) {
  .home-secD .grid .form-img::before {
    width: 280px;
    height: 280px;
  }
}
@media only screen and (max-width: 768px) {
  .home-secD .grid .form-img::before {
    width: 220px;
    height: 220px;
  }
}
@media only screen and (max-width: 540px) {
  .home-secD .grid .form-img::before {
    width: 180px;
    height: 180px;
  }
}
@media only screen and (max-width: 991px) {
  .home-secD .grid .form-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}
.home-secD .grid .form-wrapper h4 {
  width: 100%;
  max-width: 550px;
}
@media only screen and (max-width: 991px) {
  .home-secD .grid .form-wrapper h4 {
    max-width: 100%;
    text-align: center;
  }
}
.home-secD .grid .form-wrapper .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 50px 0 0;
  margin: 0 auto;
  gap: 25px;
}
@media only screen and (max-width: 991px) {
  .home-secD .grid .form-wrapper .form-grid {
    padding: 40px 0 0;
    gap: 20px;
  }
}
@media only screen and (max-width: 768px) {
  .home-secD .grid .form-wrapper .form-grid {
    width: 100%;
    padding: 30px 0 0;
    gap: 18px;
  }
}
@media only screen and (max-width: 540px) {
  .home-secD .grid .form-wrapper .form-grid {
    width: 100%;
    grid-template-columns: 1fr;
    padding-top: 20px;
    gap: 15px;
  }
}
.home-secD .grid .form-wrapper .form-grid .form-group {
  position: relative;
}
@media only screen and (max-width: 540px) {
  .home-secD .grid .form-wrapper .form-grid .form-group {
    grid-column: 1/span 2;
  }
}
.home-secD .grid .form-wrapper .form-grid .form-group:nth-last-of-type(1) {
  grid-column: span 2;
}
.home-secD .grid .form-wrapper .form-grid .form-group::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--borderwidth);
  background: #666;
}
.home-secD .grid .form-wrapper .form-grid .form-group.active::before {
  background: var(--primary);
}
.home-secD .grid .form-wrapper .form-grid .form-group::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--borderwidth);
  background: red;
  width: 0;
  transition: 0.5s ease;
}
.home-secD .grid .form-wrapper .form-grid .form-group input, .home-secD .grid .form-wrapper .form-grid .form-group textarea {
  color: #000;
  font-family: "Poppins";
}
.home-secD .grid .form-wrapper .form-grid .form-group label {
  color: #666;
  font-family: "Poppins";
}
.home-secD .grid .form-wrapper .form-grid .form-group:focus, .home-secD .grid .form-wrapper .form-grid .form-group.valid {
  outline: none;
}
.home-secD .grid .form-wrapper .form-grid .form-group:focus ~ label, .home-secD .grid .form-wrapper .form-grid .form-group.valid ~ label {
  color: var(--black);
}
.home-secD .grid .form-wrapper .form-grid .form-group .custom-select .current {
  color: #666;
}
.home-secD .grid .form-wrapper .form-grid .form-group .custom-select::before {
  filter: brightness(0);
}
.home-secD .grid .form-wrapper .form-grid .form-group.active .custom-select .current {
  color: #000;
}
.home-secD .grid .form-wrapper .form-grid .form-group.active .label {
  color: var(--black);
}
.home-secD .grid .form-wrapper .form-grid .btn-primary {
  grid-column: 1/span 2;
  justify-self: center;
  margin: 30px auto 0;
  cursor: pointer;
  position: relative;
}
@media only screen and (max-width: 768px) {
  .home-secD .grid .form-wrapper .form-grid .btn-primary {
    margin: 20px auto 0;
  }
}/*# sourceMappingURL=home.css.map */