@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: orange;
  --primary-color-dark: rgb(0, 0, 0);
  --text-dark: #020617;
  --text-light: #1e293b;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
}

.section__header {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 3.25rem;
}


#hd {
  display: none;
}

/* Show nav only on mobile view */
@media screen and (max-width: 768px) {
#hd{
display: block;
}
}

.section__header span {
  color: var(--primary-color);
}

.section__description {
  color: var(--text-light);
  line-height: 1.75rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: orange;
  border-radius: 5px;

  cursor: pointer;
  font-family: poppins;
}

.btn:hover {
  background-color: var(--primary-color-dark);
  transition: 0.2s;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 0.75rem 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white);
}

.nav__logo a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  font-family: poppins;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--primary-color);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-weight: 500;
  color: var(--white);
}

.nav__btns {
  display: none;

}

.nav__btns  .Search{
  padding: 0px;
  outline: none;
  border: none;
  font-size: 30px;
  color: rgb(0, 0, 0);
  background-color: #00000000;
  border-radius: 10px;
  transition: 0.2s;
  cursor: pointer;
  margin-right: 18px;
  border: 2px solid transparent;
  font-family: poppins;
}

.header__container {
  display: grid;
  gap: 2rem;
  overflow: hidden;
}


.nav__btns  .Search:hover {
  background-color: #d1d1d100;
  color: orange;

}


.fancy {
  position: relative;
  white-space: nowrap;
  &:after {
    --deco-height: 0.3125em;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--deco-height) * -0.625);
    height: var(--deco-height);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M-17 30.5C-1 22 72-4 54 13 37.9 28.2-2.5 57.5 16 55.5s72-29 104-40' stroke='%2300FDCF' stroke-width='10'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h100v64H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-size: auto 100%;
    background-repeat: round;
    background-position: 0em;
  }
}


.underlined {
  /*   background: red; */
    position: relative;
  }
  
  .underline-mask:after {
    content: '';
    position: absolute;
    top: 95%;
    width: 150%;
    aspect-ratio: 3 / 1;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 50%;
    border: 6px solid hsl(280 80% 50%);
    /* Use a conic gradient mask to hide and show the bits you want */
    --spread: 140deg;
    --start: 290deg;
    mask: conic-gradient(from var(--start), white 0 var(--spread), transparent var(--spread));
  }
  
  
  .underline-overflow {
    display: inline-block;
    /* A little extra padding and overflow hidden   */
    overflow: hidden;
    padding-bottom: clamp(1rem, 2vmin, 2rem);
  }
  .underline-overflow:after {
    content: '';
    position: absolute;
    top: 100%;
    height: 150%;
    aspect-ratio: 2.5 / 1;
    left: 50%;
    transform: translate(-50%, -10%);
    border-radius: 50%;
    border: 6px solid hsl(10 80% 50%);
  }
  
  .underline-clip:after {
    content: '';
    position: absolute;
    top: 85%;
    width: 150%;
    aspect-ratio: 4 / 1;
    left: 55%;
    transform: rotate(2deg) translate(-50%, 0);

    border-radius: 50%;
    border: 4px solid orange;
    /* Use a clip-path to hide and show the bits you want */
    clip-path: polygon(0 0, 50% 50%, 100% 0);
  }




.header__content h1 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 3.25rem;
}

.header__content h1 span {
  /* text-decoration: underline; */
  color: var(--primary-color);
}

.header__content .section__description {
  text-align: left;
}

.image-container img {
  width: 150px;
  cursor: pointer;

}

.image-container img:hover {
  transform: scale(1.1);
  transition: .2s;
  
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}
.rating i {
  color:orange;
          }


.header__content form {
  margin-top: 4rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  background-color: var(--white);
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
}

.header__content .input__group {
  flex: 1 0 125px;
  display: grid;
  gap: 10px;
}

.header__content label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.header__content input {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1rem;
  background-color: transparent;
  color: var(--text-light);
}

.header__content input::placeholder {
  color: var(--text-light);
}

.header__content .btn {
  padding: 13px 15px;
  font-size: 1.75rem;
  border-radius: 1rem;
}

.header__image {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 90px;
}

.header__image img {
  height: 100%;
  
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}





.collage-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  max-width: 300px;
}

.image-box {
  position: relative;
  border: 4px solid #ffae00; /* Yellow border */
  border-radius: 10px;
  overflow: hidden;
}

.image-box img {
  width: 100%;
  display: block;
}


.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffae00;
  color: white;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
}

.artisan-list {
  background: white;
  border-left: 4px solid #ffae00;
  padding: 10px;
  border-radius: 10px;
}

.artisan-list h4 {
  margin-bottom: 8px;
}

.artisan-list ul {
  list-style: none;
  padding: 0;
}

.artisan-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 5px;
}

.artisan-list span {
  color: gray;
  font-size: 12px;
}







@media (max-width: 800px)

{

  
  #xo{
    display: none
  }

}


@media (max-width: 900px)

{

  
  #xod{
    display: none
  }

}




@media (max-width: 600px)

{
  .header__content h1 {

    font-size: 30px;
    line-height: 1.2;
  }

  .header__content .section__description {
    text-align: left;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.8;
  }

  #xo{
    display: none
  }

  .image-container img {
    width: 120px;
    cursor: pointer;

  }

  .rating {
    display: flex;
    flex-direction: column; /* Stacks elements vertically */
    align-items: flex-start; /* Aligns items to the left */
    gap: 8px; /* Spacing between elements */
    font-size: 18px;
    padding-bottom: 80px;
}


.rating p {
font-size: 13px;
            }


            .section__header {
              margin-bottom: 0px;
              line-height: 1.2;
              font-size: 30px;
              font-weight: 500;
              color: var(--text-dark);
            }
            
            .choose__list li p {
              color: var(--text-light);
              font-size: 14px;
            
            }
            

}







.choose__container {
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

.choose__image img {
  max-width: 475px;
  margin-inline: auto;
  border-radius: 2rem;

}

.choose__list {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.choose__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.choose__list li span {
  display: inline-block;
  padding: 6px 14px;
  font-size: 2rem;
  color: var(--primary-color);
  border-radius: 10px;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.choose__list li h4 {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
}

.choose__list li p {
  color: var(--text-light);
  line-height: 1.7;
}

.popular__container {
  position: relative;
  isolation: isolate;
  padding-bottom: 1rem;
}

.popular__bg {
  position: absolute;
  left: 75%;
  top: 0;
  transform: translate(-65%, -50%) rotate(-135deg);
  height: 12rem;
  width: unset;
  aspect-ratio: 1;
  object-fit: contain;
}

.swiper {
  padding-block: 4rem;
  width: 100%;
}

.swiper-slide {
  min-width: 375px;
}

.popular__card {
  margin-inline: 1rem;
  overflow: hidden;
  border-radius: 3rem;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
}

.popular__content {
  position: relative;
  isolation: isolate;
  padding-block: 3rem 2rem;
  padding-inline: 2rem;
}

.popular__rating {
  padding: 0.5rem 1rem;
  position: absolute;
  top: 0;
  left: 2rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  background-color: var(--white);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  border-radius: 2rem;
}

.popular__rating span {
  font-size: 1.2rem;
  color: goldenrod;
}

.popular__content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.popular__content p {
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.popular__content p span {
  color: var(--primary-color);
}

.popular__card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.popular__card__footer div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.popular__card__footer span {
  font-size: 1.2rem;
}

.explore__container {
  display: grid;
  gap: 2rem 1rem;
  overflow: hidden;
}

.explore__image img {
  max-width: 475px;
  margin-inline: auto;
  border-radius: 2rem;
  box-shadow: -30px -30px 0px rgba(0, 0, 0, 0.1);
}

.explore__content .section__description {
  padding-block: 2rem;
}

.explore__content .btn {
  padding: 1.25rem 2.5rem;
  font-size: 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.explore__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.explore__grid h4 {
  font-size: 3rem;
  font-weight: 500;
  color: var(--text-dark);
}

.explore__grid p {
  color: var(--text-light);
}

.client__container {
  position: relative;
  isolation: isolate;
}

.client__bg {
  position: absolute;
  left: 75%;
  top: 0;
  transform: translate(-65%, -35%) rotate(-45deg);
  height: 12rem;
  width: unset;
  aspect-ratio: 1;
  object-fit: contain;
}

.client__card {
  position: relative;
  isolation: isolate;
  margin-top: 4rem;
  display: none;
  animation: fadeEffect 1s;
}

.client__card.active {
  display: block;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.client__card img {
  max-width: 400px;
  border-radius: 2rem;
  box-shadow: 30px -30px 0px rgba(0, 0, 0, 0.1);
}

.client__content {
  padding: 2rem;
  background-color: var(--white);
  border-left: 5px solid var(--primary-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-5rem);
}

.client__content h4 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.client__content h5 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary-color);
}

.client__content p {
  color: var(--text-light);
}

.client__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.client__btns .btn {
  padding: 10px 12px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 100%;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.client__btns .btn:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.subscribe__container :is(.section__header, .section__description) {
  max-width: 700px;

  margin-inline: auto;
  margin-bottom: 10px;
  text-align: center;
}

.subscribe__container form {
  max-width: 600px;
  margin-inline: auto;
  padding: 10px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  background-color: rgba(255, 159, 63, 0.26);
  border-radius: 10px;
}

.subscribe__container input {
  width: 100%;
  padding-inline: 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-family: poppins;
  color: var(--black);
  background-color: transparent;
}

.subscribe__container input::placeholder {
  color: rgba(255, 159, 63, 0.993);
}

footer {
  background-color: #eee;
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__logo {
  margin-bottom: 2rem;
}

.footer__logo a {
  font-size: 40px;
  font-weight: 500;
  color: var(--primary-color);
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--black);
  line-height: 1.75rem;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__socials a {
  padding: 6px;
  font-size: 20px;
  color: var(--black);
  background-color: transparent;
  border-radius: 100%;
}

.footer__socials a:hover {
  color: var(--primary-color);
}

.footer__col h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  color: var(--black);
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__links span {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2rem;
}

.footer__col__flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__col__flex img {
  max-width: 75px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.footer__bar {
  padding: 1rem;
  color: var(--black);
  text-align: center;
}


@media (width > 540px) {
  .client__content {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-left: 2rem;
    width: 75%;
  }

  .client__btns {
    margin-top: 2rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
  nav {
    position: fixed;
    top: 0;
    width: 100vw; /* Ensures full viewport width */
    padding: 25px 80px;
    /* Remove this line:
    max-width: var(--max-width); */
    margin-inline: 0; /* Ensure no horizontal margins */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    /* box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.1); */
    background-color: var(--white);
    z-index: 99999999999990;
  }



  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }

  .nav__logo a {
    font-size: 1.5rem;
    color: var(--text-dark);
  }

  .nav__logo a span {
    color: var(--primary-color);
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    width: fit-content;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none !important;
  }

  .nav__links a {
    color: var(--text-dark);
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__btns {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .header__container {
    padding-top: 2rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    isolation: isolate;
  }

  .header__content {
    position: relative;
    padding-bottom: 10rem;
  }

  .header__content :is(h1, .section__description) {
    text-align: left;
  }

  .header__content form {
    position: absolute;
    width: max-content;
    padding: 1.5rem;
    margin: 0;
    bottom: 0;
    border-radius: 1.5rem;
    backdrop-filter: blur(5px);
    z-index: 10;
  }

  .choose__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .explore__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .explore__content {
    grid-area: 1/1/2/2;
  }

  .client__btns {
    position: absolute;
    top: 15rem;
    right: 1rem;
    margin-top: 0;
  }

  .footer__container {
    grid-template-columns: repeat(7, 1fr);
  }

  footer {
    font-size: 14px;
  }

  .footer__col:nth-child(1) {
    grid-column: 1/3;
  }

  .footer__col:nth-child(2) {
    grid-column: 3/4;
  }

  .footer__col:nth-child(3) {
    grid-column: 4/6;
  }

  .footer__col:nth-child(4) {
    grid-column: 6/8;
  }
}

@media (width > 1024px) {
  .header__image {
    gap: 1.5rem;
    grid-auto-rows: 90px;
  }
}
