 /* product css starts here */

 .cart-icon {
  position: relative;
  cursor: pointer;
}

.cart-icon img {
  width: 30px;
  height: 30px;
}

#cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
}

.deals-section {
  width: 90%;
  margin: 20px auto;
  background-color: #e9eaeb;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #053969;
  padding-bottom: 10px;
}

.header h2 {
  margin: 0;
  color: #053969;
}

.header .see-all {
  text-decoration: none;
  color: #007bff;
}

.deals-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.deal-item {
  width: 100%;
  max-width: 300px; 
  background-color: #fff;
  padding: 10px;
  border: 0.1px solid #ddd;
  position: relative;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.deal-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
}

.deal-item img {
  max-width: 100%;
  height: auto;
}

.deal-item .discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #572ca7;
  color: white;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
}

.deal-item .title {
  font-size: 16px;
  margin: 10px 0;
  font-weight: 600;
  color: #007bff;
}

.deal-item .price {
  font-size: 18px;
  color: rgba(197, 5, 5, 0.877);
}

.deal-item .old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

#popup-title {
  color: #0056b3;
  font-size: 20px;
  font-weight: 500;
}

.popup-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  max-height: 90%; /* Ensure the pop-up does not exceed 90% of the viewport height */
  overflow-y: auto; /* Add vertical scroll if content exceeds max-height */
  position: relative;
  display: flex;
  flex-direction: column; /* Use flexbox for better layout */
  align-items: center; /* Center align items */
}

.popup-body {
  display: flex;
  width: 100%;
  margin-bottom: 20px; /* Space between content and add to cart button */
}

.popup-body img {
  max-width: 50%; /* Set a max width for the image */
  max-height: 50vh; /* Constrain image height to 50% of viewport height */
  height: auto;
  margin-right: 20px; /* Space between image and details */
}

.popup-details {
  display: flex;
  flex-direction: column;
  flex: 1; /* Take up the remaining space */
}

.popup-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.popup-content .close:hover,
.popup-content .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.version-selection {
  margin: 20px 0;
}

.version-selection input {
  margin-right: 10px;
}

.popup-content .add-to-cart {
  background-color: #572ca7;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.popup-content .add-to-cart:hover {
  background-color: #4b1aa5;
}

.promotions {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.cart-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.cart-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
}

.cart-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.cart-content .close:hover,
.cart-content .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px; /* Space between items */
}

.cart-item img {
  max-width: 100px; /* Set a max width for the image */
  height: auto;
  margin-right: 20px; /* Space between image and details */
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  flex: 1; /* Take up the remaining space */
}

.cart-item-details p {
  margin: 5px 0; /* Space between details */
}

.cart-item button {
  background-color: #d9534f;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  width: 100px;
}

.cart-item button:hover {
  background-color: #c9302c;
}

.cart-content .checkout {
  background-color: #572ca7;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.cart-content .checkout:hover {
  background-color: #4816a5;
}

/*notification*/
.notification {
  display: none;
  position: fixed;
  top: 20px;
  right: 500px;
  background-color: #4caf50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 1001;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.notification.show {
  display: block;
}

/*Payment popup*/


.payment-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.payment-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column; /* Use flexbox for better layout */
  align-items: center; /* Center align items */
}

.payment-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.payment-content .close:hover,
.payment-content .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.payment-content input {
  margin: 20px 0;
  padding: 10px;
  width: 100%;
  max-width: 300px;
}

.payment-content .submit-payment {
  background-color: #5cb85c;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.payment-content .submit-payment:hover {
  background-color: #4cae4c;
}

/*Section separator*/
.separator {
  margin-bottom: 20px;
}


/* @media screen and (max-width: 768px) {
  .deal-item {
    width: calc(40% - 20px);
    
  }

  .title {
    font-size: 12px;
  }
}
@media screen and (max-width: 340px) {
  .deal-item {
    width: calc(80% - 20px);
    
  }
 
} */



/* Responsive Design */
@media screen and (max-width: 768px) {
  .deals-container {
    justify-content: center;
  }

  .deal-item {
    width: calc(45% - 20px); /* Adjust to 45% to maintain gap */
  }

  .popup-body {
    flex-direction: column;
    align-items: center;
  }

  .popup-body img {
    max-width: 100%;
    max-height: 30vh;
    margin: 0 0 20px 0;
  }

  .popup-details {
    align-items: center;
  }

 .deal-item .title {

    font-size: 10px;
    font-weight: 600;
    
  }

  .deal-item .price {
    font-size: 10px;
    font-weight: 400;
  }
}

@media screen and (max-width: 340px) {
  .deals-container {
    justify-content: center;
  }

  .deal-item {
    width: calc(90% - 20px); /* Adjust to 90% to fit small screens */
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header h2, .header .see-all {
    margin-bottom: 10px;
  }

  .cart-item {
    flex-direction: column;
    align-items: center;
  }

  .cart-item img {
    margin: 0 0 20px 0;
  }

  .cart-item button {
    width: auto;
  }

  .popup-body img {
    max-width: 100%;
    max-height: 20vh;
  }

  .popup-content {
    width: 90%;
  }

  .deal-item .price {
    font-size: 10px;
    font-weight: 400;
  }
}

   
   /* products css ends here */
  
  
  

  
  
  
    /*** Features Start ***/
  .features {
    width: 100%;
    background: linear-gradient(rgba(94, 12, 162, 0.5), rgba(255, 255, 255, 0.3)), url('images/features-background.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  /*** Features End ***/
  
  
  /* single gig css starts here */
  
  
  .job-container {
    padding: 20px;
}
.company-logo {
    border: 5px solid #f8f9fa;
}
.card {
    border-radius: 15px;
}
.theme-color {
    color: #007bff; 
}
.theme-bg {
    background-color: #007bff; 
    color: #fff;
}
.theme-border {
    border: 1px solid #007bff; 
}
.apply-btn {
    background-color: #007bff; 
    border: none;
}
.apply-btn:hover {
    background-color: #0056b3; 
}
  
  /* single gig css ends here */
  
  
  
  
  