@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
/* Track */
::-webkit-scrollbar {
  width: 12px;
}

/* Thumb */
::-webkit-scrollbar-thumb {
  background-color: #F6F5ED;
  border-radius: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Spartan", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/********** Global Styles ************/

.logo {
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 3.125rem;
  line-height: 4rem;
  color: #222;
}

h2 {
  font-size: 2.875rem;
  line-height: 3.375rem;
  color: #222;
}

h4 {
  font-size: 1.5rem;
  color: #222;
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

p {
  font-size: 16px;
  color: #000000;
  margin: 15px 0 20px 0;
}

.section-sp1 {
  padding: 0px 80px;
}


.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 30px;
  color: #000;
  background-color: #fff;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

button.white {
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  color: #ffffff;
  background-color: transparent;
  cursor: pointer;
  border: 1px solid white;
  outline: none;
  transition: all 0.3s ease;
}

body {
  width: 100%;
}


/* **************** Header Start  **************** */

/* **************** Header Start  **************** */
#Header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 80px;
  background-color: #F6F5ED;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 100;
  top: 0;
  left: 0;
}

#navbar {
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

#navbar li a {
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  transition: 0.3s ease;
}

.head-Cart {
  font-size: 1.3rem;
}

#navbar li a:hover,
#navbar li a.active {
  color: #d69c26;
}

#navbar li a:hover::after,
#navbar li a.active::after {
  content: "";
  width: 30%;
  height: 2px;
  background-color: #d69c26;
  position: absolute;
  bottom: -4px;
  left: 20px;
}



/* ************* Home-Page ******************** */

#img-slider{
  height: 90vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#img-slider .slide{
  z-index: 1;
  position: absolute;
  width: 100%;
  clip-path: circle(0% at 0 50%);
}

#img-slider .slide.active{
  clip-path: circle(150% at 0 50%);
  transition: 2s;
  transition-property: clip-path;
}

#img-slider .slide img{
  z-index: 1;
  width: 100vw;
  height: 110vh;
  border-radius: 5px;
  object-fit: cover;
  position: relative;
  object-fit: cover; 
  object-position: top 25% right ;
  margin-top: 100px;
}


#img-slider .slide .info {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: absolute;
  object-position: cover;
  top: 50%; 
  transform: translateY(-50%);
  padding: 0 80px;
}

.select-none{
  user-select: none;
}

#img-slider .slide .info h4 {
  padding-bottom: 15px;
}

#img-slider .slide .info h1 {
  color: #000000;
}

#img-slider .slide .info button {
  background-color: transparent;
  color: #000000;
  border: 0;
  padding: 14px 80px 14px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

#img-slider .slide-navigation{
  z-index: 99;
  position: absolute;
  display: flex;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

#img-slider .slide-navigation .btn{
  background: #1c1c1cba;
  width: 12px;
  height: 12px;
  margin: 10px;
  border-radius: 50%;
  cursor: pointer;
}

#img-slider .slide-navigation .btn.active{
  background: #d69c26;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}


/* *************** Feature-Section *************** */
#feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#feature .fe-box {
  width: 180px;
  text-align: center;
  padding: 25px 15px;
  box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
  border: 1px solid #cce7d0;
  border-radius: 4px;
  margin: 15px 0;
  cursor: pointer;
}

#feature .fe-box:hover {
  box-shadow: 10px 10px 54px rgba(70, 62, 221, 0.1);
}

#feature .fe-box img {
  width: 100%;
  margin-bottom: 10px;
}

.fe-box h6 {
  display: inline-block;
  padding: 9px 8px 6px 8px;
  line-height: 1;
  border-radius: 4px;
  color: #088178;
  background-color: #fddde4;
}

#feature .fe-box:nth-child(2) h6 {
  background-color: #cdebbc;
}

#feature .fe-box:nth-child(3) h6 {
  background-color: #d1e8f2;
}

#feature .fe-box:nth-child(4) h6 {
  background-color: #f6dbf6;
}

#feature .fe-box:nth-child(5) h6 {
  background-color: #cdd4f8;
}

#feature .fe-box:nth-child(6) h6 {
  background-color: #fff2e5;
}


/* *********** Product 1 **************/

#product1 {
  text-align: center;
}

#product1 .pro-container {
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

#product1 .pro {
  width: 23%;
  min-width: 250px;
  padding: 10px 12px;
  border: 1px solid #cce7d0;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
  margin: 15px 0;
  transition: all 0.3s ease;
  position: relative;
}


#product1 .pro:hover {
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}

#product1 .pro img {
  width: 100%;
  border-radius: 20px;
}

#product1 .pro .des {
  text-align: start;
  padding: 10px 0;
}

#product1 .pro .des span {
  color: #606063;
  font-size: 12px;
}

#product1 .pro .des h5 {
  padding-top: 7px;
  color: #1a1a1a;
  font-size: 14px;
}

#product1 .pro .des i {
  font-size: 12px;
  color: rgb(243, 181, 25);
}

#product1 .pro .des h4 {
  padding-top: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #088178;
}

#product1 .pro .cart {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50px;
  background-color: #e8f6ea;
  font-weight: 500;
  color: #088178;
  position: absolute;
  bottom: 20px;
  right: 15px;
}


/* *************** Call to Action **************** */
#banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url(../img/banner/b2.jpg);
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
}

#banner h4 {
  color: white;
  font-size: 16px;
}

#banner h2 {
  color: white;
  font-size: 30px;
  padding: 10px 0;
}

#banner h2 span {
  color: #ef3636;
}

#banner button:hover {
  background-color: #088178;
  color: #fff;
}

/* ********** Small Banner************ */
#sm-banner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

#sm-banner .bannner-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: url(../img/yarn5.jpg);
  min-width: 47%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  padding: 30px;
}

#sm-banner .bannner-box h4 {
  color: white;
  font-size: 20px;
  font-weight: 300;
}

#sm-banner .bannner-box h2 {
  color: white;
  font-size: 28px;
  font-weight: 800;
}

#sm-banner span {
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 15px;
}

#sm-banner .bannner-box:hover button {
  background-color: #088178;
  border: 1px solid #088178;
}

#sm-banner .bannner-box:nth-child(2) {
  background: url(../img/banner/b10.jpg);
}

/* *********** Feature Banner **************  */
#banner3 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 80px;
}

#banner3 .banner-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: url(../img/banner/b7.jpg);
  min-width: 30%;
  height: 30vh;
  background-size: cover;
  background-position: center;
  padding: 20px;
  margin-bottom: 20px;
}

#banner3 h4 {
  color: white;
  font-weight: 900;
  font-size: 22px;
}

#banner3 h3 {
  color: #ec544e;
  font-weight: 800;
  font-size: 15px;
}

#banner3 .banner-box:nth-child(2) {
  background:  url(../img/banner/b4.jpg);
  background-size: cover;
  background-position: center;
}

#banner3 .banner-box:nth-child(3) {
  background: url(../img/banner/b18.jpg);
  background-size: cover;
  background-position: center;
}
#banner3 .banner-box:nth-child(1):hover {
  background: linear-gradient(rgba(159, 158, 158, 0.114),  rgba(231, 229, 229, 0.147))  ,url(../img/banner/b7.jpg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 7px #9f9e9e;
}

#banner3 .banner-box:nth-child(2):hover {
  background: linear-gradient(rgba(159, 158, 158, 0.114),  rgba(231, 229, 229, 0.147)) ,url(../img/banner/b4.jpg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 7px #9f9e9e;
}

#banner3 .banner-box:nth-child(3):hover {
  background: linear-gradient(rgba(159, 158, 158, 0.114),  rgba(231, 229, 229, 0.147)) ,url(../img/banner/b18.jpg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 7px #9f9e9e;
}


/* ************* NewsLetter **************** */
#newsletter {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  /* background-repeat: no-repeat; */
  background-position: 20% 30%;
  background-color: #041e42;
  padding: 40px 110px;
}

#newsletter h4 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

#newsletter p {
  font-size: 14px;
  font-weight: 600;
  color: #818ea0;
}

#newsletter p span {
  color: #ffbd27;
}

#newsletter input {
  height: 3.125rem;
  padding: 0 1.25em;
  font-size: 14px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 5px;
  outline: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#newsletter a button {
  background-color: #c5a76a;
  color: white;
  white-space: nowrap;
  height: 3.125rem;
  border-radius: 5px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


#newsletter .form {
  display: flex;
  flex-direction: row;
  width: 40%;
}


/* ************ Footer **************** */


.footer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 50px 20px;
    gap: 60px;
    background-color: #2c3e50;
    color: #ecf0f1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-col {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

footer .logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-details {
    line-height: 1.6;
}

.footer-details p {
    margin: 15px 0;
    font-size: 15px;
    color: #ffffff;
}

.footer-details strong {
    color: #f39c12;
}

.footer-details h3 {
    color: #f39c12;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-details h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #f39c12;
}

.footer-details i {
    margin-right: 10px;
    color: #f39c12;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-details h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
/* **************** Product categories  **************** */

.product-categories {
  text-align: center;
  background-color: #c49a6c;
  padding: 40px 0;
}

.product-categories h2 {
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  margin-bottom: 40px;
}

.categories {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
  flex-wrap: wrap;
}

.category {
  text-align: center;
  flex: 1;
  max-width: 220px;
  min-width: 150px;
  margin: 15px 0;
  padding: 0 10px;
}

.category img {
  width: 100%;
  max-width: 150px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

.category h3 {
  font-size: 1.6rem;
  color: white;
  margin: 15px 0;
  font-weight: bold;
}

.read-more {
  display: inline-block;
  color: black;
  font-size: 1.5rem;
  text-decoration: none;
}

.separator {
  width: 1px;
  height: 180px;
  background-color: white;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
}

.search-bar input {
  width: 50%;
  max-width: 500px;
  padding: 12px;
  border: none;
  font-size: 1rem;
  border-radius: 3px 0 0 3px;
}

.search-bar button {
  background-color: #b2855b;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 0 3px 3px 0;
}

.search-bar i {
  color: white;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .categories {
    width: 95%;
  }
  
  .category {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .product-categories h2 {
    font-size: 2rem;
  }
  
  .categories {
    justify-content: center;
  }
  
  .category {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    margin: 10px;
  }
  
  .separator {
    display: none;
  }
  
  .search-bar input {
    width: 70%;
  }
}

@media (max-width: 480px) {
  .product-categories {
    padding: 30px 0;
  }
  
  .product-categories h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .category {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 10px 0;
  }
  
  .category h3 {
    font-size: 1.4rem;
  }
  
  .read-more {
    font-size: 1.3rem;
  }
  
  .search-bar {
    margin-top: 30px;
  }
  
  .search-bar input {
    width: 80%;
    padding: 10px;
  }
  
  .search-bar button {
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .search-bar input {
    width: 90%;
  }
}

/* **************** Home products  **************** */


#yarn-collection {
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

/* Container to fit full width */
.yarn-container {
  display: flex;
  width: 100%;
  max-width: 1400px; /* Adjust max-width as needed */
  justify-content: space-between;
  gap: 20px;
}

/* Each yarn box should be equal in width */
.yarn-box {
  background: #977251; /* Dark brown */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 33.33%; /* Each box takes 1/3 of the screen */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Image should have a fixed height and fit inside each box */
.yarn-box img {
  width: 100%;
  height: 450px; /* Fixed height */
  object-fit: cover; /* Ensure image fills the space */
  border-radius: 10px;
}

/* Text Styling */
.yarn-box h2 {
  font-size: 22px;
  margin: 15px 0;
  color: white;
}

.yarn-box p {
  font-size: 16px;
  line-height: 1.5;
  color: #e3dac9;
}

/* Button Styling */
.yarn-box button {
  background: #c5a76a;
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 15px;
  transition: background 0.3s ease-in-out;
}

.yarn-box button:hover {
  background: #a6885b;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .yarn-container {
      flex-direction: column;
      align-items: center;
  }

  .yarn-box {
      width: 80%; /* Make them stack on smaller screens */
  }
}

/* **************** Enquiry  **************** */

.enquiry-btn {
  display: inline-block;
  padding: 8px 15px;
  background-color: #c5a76a;
  color: white;
  border: none; /* Removes the border */
  outline: none; /* Removes the border */

  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.enquiry-btn:hover {
  background-color: #d69c26;
}

.des {
  text-align: left;
}
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.popup-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  width: 70%;
  text-align: center;
  position: relative;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}

.input-group {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
}

.input-group .icon {
  margin-right: 10px;
  color: #888;
}

.input-group input, 
.input-group textarea {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
}

.full-width {
  width: 100%;
  margin-bottom: 15px;
}

.submit-btn {
  background: #b58e5b;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

.submit-btn:hover {
  background: #a07a4b;
}

.terms {
  margin-top: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
  justify-content: center;
}

.terms input {
  margin-right: 5px;
}

.terms a {
  text-decoration: none;
  color: #b58e5b;
}

@media screen and (max-width: 768px) {
  .popup-content {
      width: 90%; /* Increase width on smaller screens */
      padding: 20px;
  }

  .form-row {
      flex-direction: column; /* Stack inputs vertically */
  }

  .submit-btn {
      font-size: 14px;
      padding: 10px;
  }
}

.popup-content button {
  background: #b58e5b; /* Matching button color */
  color: white;
  padding: 12px 20px;
  outline: none; /* Prevents outline on focus */
  border-radius: 5px;
  border: none; /* Removes the border */
  cursor: pointer;
  font-size: 16px;
}

.popup-content button:hover {
  background: #a07a4b; /* Darker shade on hover */
}

/* **************** About section container  **************** */

#aboutSection {
  display: flex;
  justify-content: space-between;
  align-items: center;
padding: 50px 0px 0 0px;
}

.about-container {
  display: flex;
  max-width: 1200px;
  margin: auto;
  gap: 50px;
}

.about-left {
  flex: 1;
  text-align: justify;
}

.about-left h4 {
  font-size: 16px;
  letter-spacing: 1px;
  color: #666;
}

.about-left h2 {
  font-size: 40px;
  font-weight: bold;
  margin: 15px 0;
}

.about-right {
  flex: 1.5;
  text-align: left;
  color: #666;
  font-size: 18px;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .about-container {
    gap: 30px;
  }
  
  .about-left h2 {
    font-size: 34px;
  margin: 10px 0;
  }
  
  .about-right {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  #aboutSection {
    padding: 40px 30px;
  }
  
  .about-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .about-left, 
  .about-right {
    flex: 1 1 100%;
  }
  
  .about-left h2 {
    font-size: 30px;
  }
  
  .about-right {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #aboutSection {
    padding: 30px 20px;
  }
  
  .about-left h4 {
    font-size: 14px;
  }
  
  .about-left h2 {
    font-size: 26px;
  }
  
  .about-right {
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 360px) {
  #aboutSection {
    padding: 25px 15px;
  }
  
  .about-left h2 {
    font-size: 24px;
  }
  
  .about-right {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: #d69c26;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #000000;
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, #d69c26, transparent 20%);
  color: #966604;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}


/* Header positioning - crucial for absolute menu positioning */


.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  z-index: 101;
}

.mobile-menu-button span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.4s;
}
