/* Global Styles */
/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@500;600;700&display=swap");


:root{
  --primary-color:#121c2e;
  --secondary-color :#1ed6c7;
  --clicked-color : #1e9aca;
  --background:linear-gradient(to right,#1ed6c7,#1e77ca);
  --font-small: .813rem;
  --font-medium: .938rem;
  --font-large: 1rem;;
  --smaller-font-size: .813rem;
  --container-size: 150px;
  --nav-img-size: 25px;
  --title-font-size: .813rem;
  --font: 'Raleway', sans-serif;
  
    /*========== Font weight ==========*/
    --font-medium-weight: 500;
    --font-semi-bold-weight: 600;
    

    --container-Height-size:260px;
    --container-width-size:160px;

}

@media screen and (min-width: 768px) {
  :root {
    --smaller-font-size: .813rem;
    --font-small: 1.3rem;
    --smaller-font-size: 1rem;
    --font-medium: 1.2rem;
    --font-large: 1.5rem;;
    --container-size: 140px;
    --nav-img-size: 30px;
    --title-font-size: 1rem;
    --container-Height-size:300px;
    --container-width-size:200px;
   

  }
 
}

@media screen and (max-width: 480px) {
  :root {
 
    --font-small: .813rem;
    --smaller-font-size: .713rem;
    --font-medium: .788rem;
    --font-large: .888rem;;
    --container-size: 90px;
    --nav-img-size: 25px;
    --title-font-size: 1rem;
    --container-Height-size:200px;
    --container-width-size:250px;
   
   

  }
 
}
.swiper-slide {
    width: 25%; /* Adjust the width to achieve the desired grid layout */
    margin-bottom: 20px; /* Add a margin to create space between rows */
  }
  
  @media (max-width: 480px) {
    .swiper-slide {
      width: 50%; /* Adjust the width for smaller screen sizes */
    }
  }
  
  @media (max-width: 768px) {
    .swiper-slide {
      width: 33.33%; /* Adjust the width for medium screen sizes */
    }
  }

  


/*=============== DISCOVER ===============*/
.discover__card {
    margin-right: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Add this to prevent image overflow */
  }
  
  .discover__container {
    width: 100%;
    display: flex;
    margin: 0;
    color: white;
    flex-direction: column;
   
  }
  .section__title{
    color: #fff;
    font-size: var(--font-large);
    font-weight: var(--font-medium-weight);


  }
  .discover-section{
    width: 100%;
    margin-top: 60px;

  }
  
  .discover__img {
    width: 100%;
    height: var(--container-size); /* Increased height for better image display */
    object-fit: cover;
    transition: var(--img-transition);
  }
  
  .discover__data {
    padding: 10px;

  }
  
  .discover__title,
  .discover__description {
   
    color: var(--first-color);
  }
  
  .discover__title {
    font-size: var(--font-large);
    font-weight: var(--font-semi-bold-weight);
    margin-bottom: var(--mb-0-25);
  }
  
  .discover__description {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -moz-box-orient: vertical;
    text-overflow: ellipsis;
    font-size: var(--smaller-font-size);
  }
  
  .price {
    font-weight: var(--font-medium-weight);
    font-size: var(--font-large);
    color: var(--secondary-color);
   
  }
  
  .discover__img:hover {
    transform: var(--img-scale);
  }
  
  
  .swiper-container-3d .swiper-slide-shadow-left,
  .swiper-container-3d .swiper-slide-shadow-right {
    background-image: none;
  }
  
  #discover-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    
  }
  
  @media (max-width: 768px) {
    #discover-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 480px) {
    #discover-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .grid-item {
    font-family: var(--font);
    background-color: var(--primary-color);
    padding: 20px;
    
   
   
  }
  .grid-item:hover{
    border: 1px solid #ddd;
    padding: 18px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);

  }
  /*progressbar */
.circular-progress {
  width: 100px;
  height: 100px;
  align-items: center;
  display: flex;
  flex-direction: column;
 


  position:absolute;
}


.progress-circle {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-image: url('../img/gear_icon.webp');
  background-size: cover;
  animation: spin 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;

}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



  