/* CSS Reset */
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  color: var(--secondary-color);
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

:root {
  --primary-color: #2e2c2a;
  --secondary-color: white;
  --orangetone-color: #fdb365;
  /* --dark-color: #262422; */
  --dark-color: #222221;
  --gray-color: #3a3a3a;
  --background-color: #45484849;
  --bordergray-color: #ffffff85;
  --text-muted: rgb(192, 192, 192);
  --heading: 2.58rem;
  --btn-text: 0.8125rem;
  --btn-padding: 10px 18px;
  --font-size: 1.05rem;
  --font-sm: 1.82rem;
  --font-md: 2.2rem;
  --font-lg: 3.5rem;
}

/* Navigation Bar */
#navbar {
  width: 100%;
  padding-top: 16px;
  position: absolute;
  z-index: 2;
}

/* Navigation Bar: Logo */
#navbar #logo img {
  height: 35px;
}

/* Navigation Bar: style list */
#navbar ul {
  list-style: none;
}

#navbar li {
  margin: 0px 16px;
}

#navbar li a {
  text-decoration: none;
  color: var(--secondary-color);
  font-size: var(--font-size);
}

#navbar li a::after {
  content: "";
  width: 0;
  height: 3px;
  margin: auto;
  display: block;
  background-color: var(--orangetone-color);
  transition: width 0.2s linear;
}

#navbar li a:hover::after {
  width: 90%;
  border-radius: 20px;
  transition: width 0.2s linear;
}

/* Home Section */
#home {
  height: 100vh;
  position: relative;
}

#home::before {
  content: "";
  height: 100%;
  width: 100%;
  background-image: url(images/bg.png);

  background-position: center;
  background-size: cover;
  position: absolute;
  z-index: -1;

  filter: brightness(80%);
}

.home-content {
  margin-bottom: 0px;
}

.home-content h1 {
  font-size: var(--font-lg);
}

.home-content p {
  font-weight: 300;
  margin: 6px 0px 40px 0px;
}

/* About & Registration Page */
.ar-container {
  background: var(--primary-color);
  padding: 60px 0;
}

.ar-container .container-space {
  gap: 2rem;
}

#about-us {
  width: 50%;
  background-color: var(--dark-color);
  font-size: var(--font-size);
  font-weight: 300;
  padding: 50px;
  border-radius: 16px;
}

.about-content {
  text-align: center;
}

#about-us h3 {
  font-weight: 600;
  font-size: var(--font-sm);
  margin-bottom: 20px;
}

#about-us h3::after {
  content: "";
  width: 20%;
  margin-inline: auto;
  margin-top: 10px;
  height: 4px;
  display: block;
  background-color: var(--orangetone-color);
  border-radius: 10px;
}

#registration {
  width: 50%;
  padding: 50px;
  background-color: var(--dark-color);
  border-radius: 16px;
}

#registration h3 {
  font-weight: 600;
  font-size: var(--font-sm);
  margin-bottom: 20px;
}

#registration h3::after {
  content: "";
  width: 50%;
  margin-inline: auto;
  margin-top: 10px;
  height: 4px;
  display: block;
  background-color: var(--orangetone-color);
  border-radius: 10px;
}

#registration p,
#about-us p {
  width: 75%;
  margin: auto;
  font-size: 0.86rem;
  font-weight: 300;
}

#registration p:nth-child(3) {
  margin-bottom: 30px;
}

/* Workshop & Event Page */
/* Workshop & Event Page: Content */
#main-content {
  background-color: var(--primary-color);
  padding-block: 100px;
}

#main-content .container-space,
#second-content .container-space {
  gap: 3rem;
}

#second-content {
  background-color: var(--dark-color);
  padding: 100px 0;
}

#main-content .content h2,
#second-content .content h2 {
  font-weight: 700;
  font-size: var(--font-lg);
  line-height: 1.2;
  margin-bottom: 30px;
}

#main-content .content h2::after,
#second-content .content h2::after {
  content: "";
  width: 18%;
  height: 4px;
  display: block;
  background-color: var(--orangetone-color);
  border-radius: 10px;
  margin-top: 6px;
}

#main-content .content,
#second-content .content {
  width: 60%;
}

#second-content .content {
  order: 1;
}

#main-content .content p,
#second-content .content p {
  font-weight: 300;
  margin-bottom: 50px;
}

/* Workshop & Event Page: images*/
#main-content .content-image,
#second-content .content-image {
  width: 40%;
}

#main-content .content-image img,
#second-content .content-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Products List */
#products-list {
  padding: 100px 0;
  background-color: var(--primary-color);
}

#products-list .product-content {
  width: 60%;
  margin-inline: auto;
}

#products-list .product-content h3 {
  font-weight: 600;
  font-size: var(--heading);
  display: inline-block;
  margin-bottom: 20px;
}

#products-list .product-content h3::after {
  content: "";
  width: 60%;
  height: 4px;
  display: block;
  background-color: var(--orangetone-color);
  border-radius: 10px;
  margin-inline: auto;
}

#products-list .product-content p {
  font-size: 0.92rem;
  font-size: var(--font-size);
  font-weight: 300;
  margin-bottom: 40px;
}

/* Products List: Items */
#products-list .items-group {
  gap: 2rem;
}

#products-list .cards {
  width: 20%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
}

#products-list .card-image {
  width: 100%;
  margin: 0px auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Target */
.image-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #00000070;
  border-radius: 8px;
  transition: all 0.28s;
  opacity: 0;
}

.image-overlay:hover {
  opacity: 1;
  transition: all 0.28s;
}

.image-overlay h3 {
  color: var(--secondary-color);
  background-color: var(--orangetone-color);
  padding: 8px 14px;
  font-size: 0.83rem;
  font-weight: 300;
  border-radius: 4px;
  opacity: 90%;
  cursor: pointer;
  letter-spacing: 0.04rem;
  transform: translateY(15px);
  transition: 0.3s;
}

.image-overlay > * {
  transform: translateY(15px);
  transition: 0.3s;
}
.image-overlay:hover > * {
  transform: translateY(0);
}

#products-list .card-image img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

#products-list .card-content h3 {
  font-size: calc(var(--font-sm) / 1.5);
  font-weight: 400;
  letter-spacing: 0.05rem;
}

#products-list .card-content p {
  font-size: var(--font-size);
  font-weight: 300;
  color: var(--orangetone-color);
}

/* Message Section */
#msge-container {
  background-color: var(--gray-color);
}

#msge-container .container-space {
  width: calc(100%);
}

/* Message Section: Content */
#msge-container .msge-content {
  width: 50%;
  padding: 0px 30px;
}

#msge-container .msge-content .next,
#msge-container .msge-content .previous {
  border: 2px solid var(--orangetone-color);
  border-radius: 4px;
  transition: all 0.28s ease-in;

  & path {
    transition: all 0.28s ease-in;
    stroke: white;
  }
}

#msge-container .msge-content .next:hover,
#msge-container .msge-content .previous:hover {
  background-color: var(--orangetone-color);
  border: 2px solid var(--orangetone-color);
  border-radius: 4px;

  & path {
    stroke: var(--primary-color);
  }
}

#msge-container .msge-content h2 {
  font-weight: 600;
  font-size: 2.63rem;
  margin-bottom: 25px;
}

#msge-container .msge-content h2::after {
  content: "";
  width: 20%;
  height: 4px;
  display: block;
  background-color: var(--orangetone-color);
  border-radius: 10px;
}

#msge-container .msge-content p {
  font-weight: 300;
  margin: 10px 0px 25px;
}

span {
  text-align: end;
  font-size: 1.4rem;
  font-weight: 500;
}

/* Message Section: Image */
#msge-container .msge-image {
  width: 50%;
}

#msge-container .msge-image img {
  width: 100%;
  object-fit: cover;
}

/* Subscribe */
.subscribe {
  background-color: var(--dark-color);
  padding: 100px 0px;
}

/* Footer: Heading Section */
.subscribe-heading {
  width: 70%;
  margin-inline: auto;
  margin-bottom: 50px;
}

.subscribe-heading h3 {
  font-weight: 600;
  font-size: var(--heading);
  display: inline-block;
  margin-bottom: 20px;
}

.subscribe-heading h3::after {
  content: "";
  width: 60%;
  height: 4px;
  display: block;
  background-color: var(--orangetone-color);
  border-radius: 10px;
  margin-inline: auto;
}

.subscribe-heading p {
  font-weight: 300;
}

/* Footer: Heading Form */
.subscribe-form {
  width: 40%;
  border: 1px solid var(--bordergray-color);
  border-radius: 8px;
  margin: 0px auto;
  padding: 5px 5px;
}

#email {
  background-color: transparent;
  border: none;
  padding: 10px;
  outline: none;
  /* flex: 1; */
}

/* Icons */
.subscribe .icon-group {
  margin-top: 40px;
  gap: 1rem;
}

.subscribe .icon-group .icon svg path {
  color: var(--secondary-color);
  transition: all 0.28s ease-in;
}

.subscribe .icon-group .icon a:hover svg path {
  color: var(--orangetone-color);
  transition: all 0.28s ease-in;
}

/* Footer */
footer {
  background-color: var(--gray-color);
  padding: 40px 0 20px;
}

footer .logo-details {
  width: 30%;

  & img {
    width: 28px;
    margin-bottom: 3px;
  }

  & h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 10px;
  }

  & p {
    font-size: 0.9rem;
    font-weight: 200;
  }
}

footer .footer-links {
  display: flex;
  gap: 7rem;
  justify-content: end;
  & .group-1,
  & .group-2 {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;

    &>h2{
      margin-bottom: 5px;
    }

    & p {
      font-size: .9rem;
      font-weight: 300;
    }
  }
}

footer .footer-links .group-2{
  width: 45%;

  & .icons-links{
    gap: .5rem;
  }
}

footer .footer-links .icon-link{
  display: flex;
  align-items: start;
  gap: .4rem;
}
footer .footer-links .icon-link i{
  padding-top: 4px;
}


footer .footer-links .icons-links{
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.line {
  margin-block: 60px 20px;
}

.copy-right {
  font-size: 0.9rem;
  font-weight: 300;
}

@media (max-width: 1000px) {
  body {
    background-color: black;
  }

  .container-space {
    width: calc(100% - 50px);
  }

  #navbar #logo img {
    height: 1.9rem;
  }

  #navbar ul {
    display: none;
  }

  #home .container-space {
    width: calc(100% - 30px);
  }

  .home-content {
    text-align: center;
  }

  .home-content h1 {
    font-size: calc(var(--font-lg) / 1.8);
  }

  .home-content p {
    font-size: calc(var(--font-size) / 1.2);
  }

  .ar-container > .d-flex {
    flex-direction: column;
  }

  #about-us,
  #registration {
    width: 100%;
    font-size: calc(var(--font-size) / 1.2);
    padding: 40px 24px;
  }

  #about-us h3,
  #registration h3 {
    font-size: calc(var(--font-sm) / 1.2);
  }

  #about-us h3::after {
    width: 30%;
  }

  #about-us h3::after,
  #registration h3::after {
    margin-top: 4px;
  }

  #about-us p,
  #registration p {
    font-size: calc(var(--font-size) / 1.2);
    width: 100%;
    margin: 0;
  }

  #main-content .content-container,
  #second-content .container-space {
    flex-direction: column;
    gap: 2rem;
  }

  #main-content .content,
  #second-content .content {
    width: 100%;
  }

  #second-content .content {
    order: 0;
  }

  #main-content .content h2,
  #second-content .content h2 {
    font-size: calc(var(--font-lg) / 1.4);
    margin-bottom: 20px;
  }

  #main-content .content h2::after,
  #second-content .content h2::after {
    width: 35%;
  }

  #main-content .content p,
  #second-content .content p {
    font-size: calc(var(--font-size) / 1.2);
    margin-bottom: 30px;
  }

  #main-content .content-image,
  #second-content .content-image {
    width: 100%;
  }

  #products-list .product-content {
    width: 100%;
  }

  #products-list .product-content h3 {
    font-size: calc(var(--heading) / 1.4);
  }

  #products-list .product-content p {
    font-size: calc(var(--font-size) / 1.2);
  }

  #products-list .items-group {
    flex-wrap: wrap;
    gap: 0;
  }

  #products-list .cards {
    width: 80%;
    margin-bottom: 20px;
  }

  #msge-container .container-space {
    flex-wrap: wrap;
  }

  #msge-container .msge-content,
  #msge-container .msge-image {
    width: 100%;
  }

  #msge-container {
    text-align: center;
    padding: 30px;
  }

  #msge-container .msge-content h2 {
    font-size: calc(var(--heading) / 1.4);
    margin-bottom: 10px;
  }

  #msge-container .msge-content h2::after {
    width: 30%;
    margin-inline: auto;
  }

  #msge-container .msge-content p {
    font-size: calc(var(--font-size) / 1.2);
  }

  #msge-container .msge-content .testimonial-slider{
    justify-content: center;
    margin-block: 20px;
  }


  .subscribe-heading {
    width: 100%;
    margin-bottom: 30px;
  }

  .subscribe-heading h3 {
    font-size: calc(var(--heading) / 1.4);
  }

  .subscribe-heading p {
    font-size: calc(var(--font-size) / 1.2);
  }

  .subscribe-form {
    width: 100%;
  }

  #email {
    width: 50%;
    flex: 1;
    padding: 6px;
  }

  footer .footer-content {
    flex-direction: column;
  }

  footer .logo-details {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-links {
    width: 100%;
    flex-direction: column;
  }

  footer .footer-links .group-1{
    text-align: center;
  }

  footer .footer-links .group-2,
  footer .footer-links .group-3 {
    display: none;
  }

  .copy-right{
    font-size: .9rem;
    text-align: center;
  }
}
