/* General Reset and Flexbox Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Row and Columns */
  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Ensures even spacing between form elements */
    margin-left: 25px;
    align-items: center; /* Vertically align form elements */
  }
  
  /* Column Widths */
  .col-md-4, .col-md-5 {
    flex: 0 0 30%; /* Adjusts width of the columns */
    padding: 0 15px;
    box-sizing: border-box;
  }
  /* Column Widths */
  .col-md-4{
    margin-right: 150px;
  }
  @media (max-width: 768px) {
    .col-md-4, .col-md-5 {
      flex: 0 0 100%; /* Stacks items vertically on small screens */
    }
  }
  
  /* Form Labels */
  .form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #010626;
    font-size: 1rem;
  }
  
  /* Select and Input Fields */
  .form-select, .form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #212529;
  }
  
  .form-select:focus, .form-control:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  }
  
  /* Button */
  .btn {
    padding: 10px 16px;
    font-size: 1rem;
    color: #010626;
    background-color: #9cf5ff;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    outline: none;
    margin-right: 165px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  }
  
  .btn-primary:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }
  
  .mt-3 {
    margin-top: 1rem;
  }
  
  .mt-5 {
    margin-top: 3rem;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem;
  }
  
  .g-3 {
    gap: 1rem;
  }
  
  /* Flexbox Parent */
  .form-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem; /* Controls the gap between form elements */
    padding: 1rem 0;
  }
  
  .form-container > .form-label {
    width: auto;
  }
  
  .form-container > .form-select, .form-container > .form-control {
    flex-grow: 1;
  }
  
  .form-container > .btn {
    flex-shrink: 0;
  }
  
  h2 {
    text-align: center;
    color: #010626 ;
    margin-bottom: 50px;
    margin-top: 50px;
  
  }
  #card-text, #card-text-main, #card-text-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Agency FB' !important;

    text-align: center;
  }
  #card-text-name  {
    position: absolute;
    top: 15%; 
    right: 52%;
    transform: translate(50%,-50%);
    text-transform: uppercase;
    font-family: 'Agency FB' !important;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: #010626;
    
    white-space: nowrap; /* Prevents line break */
  
    text-shadow: 
    1px 8px 6px rgba(16,16,16,0.4),
    6px 20px 60px rgba(16,16,16,0.4)
  }
  
  #click {
      cursor: pointer;
  }
  
  #clickk {
    color: #0b0b0b;
    font-size: 1.1em;
  }
  #card-text {
    color: #0b0b0b;
    margin: 90px;
    font-size: 1.45em;
    font-family: 'Agency FB' !important;

  }
  
  .click {
    color: rgb(0, 0, 0); /* Set the link color to white */
    text-decoration: none; /* Remove the underline from the link */
    border: 2px solid #010626 ;
    border-radius: 100vw;
    padding: 10px 16px;
    width: 350px; /* Set a fixed width for consistency */
    position: absolute;
    bottom: 40px; /* Adjust this value to move the link up/down */
    left: 50%;
    transform: translateX(-50%);
  }
  
  
  #card-text-main {
    color: #010626 ;
    font-size: 1.2em;
    margin: 20px;
  }
  
  #card-text-name {
    font-size: 2em;
    font-weight: bold;
    color: #010626 ;
    margin-bottom: 10px;
  }
  
  #link {
    color: rgb(255, 255, 255); /* Set the link color to white */
    text-decoration: none; /* Remove the underline from the link */
    width: 350px; /* Set a fixed width for consistency */
    position: absolute;
    bottom: 110px; /* Adjust this value to move the link up/down */
    left: 50%;
    transform: translateX(-50%);
  }
  
  #link a {
    text-decoration: none;
  
  }
  
  
  .link {
    font-size: 1.1em;
    color: #010626 ;
    text-align: center;
    justify-content: center;
  
  }
  #card-text-Id{
    color: #010626 ;
    
    }
  
  
    .main {
      font-weight: bold;
      color: #010626 ;
      align-items: center;
      justify-content: center;
      align-content: center;
    
    }
    /* Styling for other labels */
  .labell {
    font-size: 1.1em;
    color: #000;
    text-align: center;
  justify-content: center;
  }
  
  body, h1, h2,h3, h4 p {
    font-family: 'Agency FB' !important;
  }
  
  
  .label {
      color: #252525;
    text-align: center;
    justify-content: center;
    line-height: 1.5;
    font-size: 1.1em ;
    font-weight: 550;
  
  }
  
  
  /* Container styling */
  .container {
    max-width: 1700px;
    margin: auto;
    padding: 20px;
    justify-content: space-evenly; /* Horizontally center children */
    align-items: space-evenly; /* Vertically center children */
  
  }
  
  /* Header styling */
  h1 {
    text-align: center;
    color: #010626 ;
  }
  
  .header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
  }
  
  .header p {
    font-size: 1em;
    color: #ccc;
    margin-bottom: 50px;
    font-family: 'Agency FB' !important;

  }
  
  /* Product list styling */
  #productList {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-evenly;
    align-items: space-evenly; /* Vertically center children */
  
  }
  
  
  /* Product card styling */
  .product {
    flex: 1 1 calc(33.333% - 90px);
    max-width: calc(33.333% - 90px);
    margin-bottom: 50px;
    background-color: transparent;
    perspective: 9000px; /* Perspective for the 3D effect */
    margin: 20px auto; /* Center the card with some spacing */
    display: flex; /* Ensure that the card is centered within its parent container */
    justify-content: center; /* Center the card content horizontally */
    align-items: center; /* Center the card content vertically */
  }
  
  .product-card {
    display: flex;
    flex-direction: column; /* Ensure vertical layout */
    justify-content: space-between; /* Space between elements to push the link to the bottom */
    align-items: center; /* Center all items horizontally */
    padding: 20px;
    width: 100%;
    height: 320px; /* Fixed height to ensure all cards are the same size */ 
    position: relative;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    margin: 20px auto;
  }
  
  
  
  /* Product card flip effect
  .product-card:hover {
    transform: rotateY(180deg);
  } */
  .product-card.flip {
    transform: rotateY(180deg);
  }
  /* Front and back of the product card */
  .product-front,
  .product-back {
      position: absolute;
      width: 115%;
      height: 105%;
      backface-visibility: hidden;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-start; /* Align items at the top initially */
      align-items: stretch; /* Stretch items to fill the space */
      padding: 20px;
      box-sizing: border-box;
      border-radius: 20px;
      background: linear-gradient(0deg,#f9f9f9 10%, rgba(156,245,255,1) 72%);
      backdrop-filter: blur(150px);  /* Apply blur effect */
  
    border: 1px solid #cdcdcd;
  
  }
  
  
  
  .product-back {
    transform: scale(1.05);
    box-shadow: 0 20px 10px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(108px); /* Blur only the background */ 
     transform: rotateY(180deg);
    color: #f5f5f5;
    text-align: left; /* Ensure text is aligned left */
  }
  
  
  .product-front {
    backdrop-filter: opacity(28px); /* Blur only the background */
  
    box-shadow: 0 20px 10px rgba(0, 0, 0, 0.7);
    text-align: center; /* Ensure text is aligned left */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  
    
  }
  
  
  /* Product content styling */
  /* Styling for the product card front content */
  .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space evenly */
    align-items: center;
    height: 150px; /* Adjust this height according to your design */
    text-align: center;
  } 
  
  .product-content p {
    font-size: 1.2em;
    color: #010626 ;
    margin: 0;
  }
  
  /* Align text to the left on the back of the card */
  .product-content-back {
    text-align: left;
    padding: 0px; /* Add some padding for better spacing */
  }
  
  .product-content-back p {
    margin-bottom: 0px; /* Add some space between paragraphs */
    font-size: 1.4 em;
  }
  
  /* Ensure the product card front is centered horizontally */
  .product-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center; /* Ensure text is centered */
    
  }
  
  
  
  @media (max-width: 768px) {
    .product {
      flex: 1 1 calc(50% - 10px);
      max-width: calc(50% - 20px);
    }
  }
  
  @media (max-width: 768px) {
    .product {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }
  
  /* Background styling */
  .background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  /* Search bar styling */
  .search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
    margin-top: 55px;
  }
  
  .search-bar {
    width: 1000px;
    height: 55px;
    padding: 10px;
    border-radius: 25px;
    font-size: 16px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
  }
  
  .search-bar:focus {
    outline: none;
    border-color: #00e5ff;
    box-shadow: 0 0 5px #00e5ff;
  }
  
  .search-button {
    padding: 20px;
    border: 0.5px solid #ccc;
    border-radius: 25px;
    background-color: #1f1f2b;
    color: white;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
  }
  
  .search-button:hover {
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.7), 0px 0 20px #00e5ff;
  }
  
  /* Filter container styling */
  /* Filter container styling */
  /* Filter container styling */
  .filter-container {
    display: flex;
    align-items: center; /* Align items vertically in the center */
    margin-bottom: 30px;
    gap: 20px; /* Space between the filter button and the filter options */
  }
  
  .filter-button {
    padding: 10px 20px;
    border: 2px solid #ccc;
    border-radius: 25px;
    background-color: #1f1f2b;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
  .filter-button:hover {
    background-color: #2b2b3b;
    border-color: #00e5ff;
  }
  
  .filter-options {
    display: flex; /* Flex container to align filters horizontally */
    flex-wrap: wrap; /* Allow filters to wrap if necessary */
    gap: 20px; /* Space between filters */
  }
  
  .filter {
    opacity: 0; /* Start hidden */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; /* Add transition for opacity and transform */
    transform: translateX(-20px); /* Start with a slight offset to the left */
  }
  
  .filter.show {
    opacity: 1; /* Make it visible */
    transform: translateX(0); /* Move to the original position */
  }
  
  .filter label {
    color: #010626 ;
    margin-right: 10px;
    font-size: 16px;
  }
  
  .filter-dropdown {
    padding: 10px;
    border-radius: 10px;
    border: 2px solid transparent;
    background-color: #1f1f2b;
    color: #010626 ;
    font-size: 16px;
    transition: border-color 0.3s ease;
    cursor: pointer;
  }
  
  .filter-dropdown:focus {
    outline: none;
    border-color: #00e5ff;
    box-shadow: 0 0 10px #00e5ff;
  }
  
  /* Hover effect for dropdowns */
  .filter-dropdown:hover {
    border-color: #00e5ff;
  }
  
  /* Additional styling for responsiveness */
  @media (max-width: 768px) {
    .product {
      flex: 1 1 calc(50% - 10px);
      max-width: calc(50% - 20px);
    }
    .product-back {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 20px);
      }
      .product-front {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 20px);
      }
  }
  
  @media (max-width: 768px) {
    .product {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }
  