﻿


    /* SEARCH BAR */
    .search-box{
      flex:1;
      max-width:550px;
      margin:0 40px;
      position:relative;
    }

    .search-box input{
      width:100%;
      padding:12px 20px 12px 45px;
      border:1px solid #ddd;
      border-radius:30px;
      outline:none;
      font-size:15px;
      background:#fafafa;
    }

    .search-box i{
      position:absolute;
      left:18px;
      top:50%;
      transform:translateY(-50%);
      color:#777;
      font-size:15px;
    }

    /* RIGHT MENU */
    .header-right{
      display:flex;
      align-items:center;
      gap:25px;
    }

    .menu-item{
      display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    border: 1px solid #ddd;
    padding: 2px 10px;
    border-radius: 10px;
    }

   .menu-item:hover{
      display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    border: 1px solid #5aa3ef;
    padding: 2px 10px;
    border-radius: 10px;
    }

    .menu-item i{
      font-size:18px;
    }

    /* BADGE */
    .badge{
      position:absolute;
      top:-8px;
      right:-10px;
      background:red;
      color:#fff;
      font-size:10px;
      width:16px;
      height:16px;
      border-radius:50%;
      display:flex;
      align-items:center;
      justify-content:center;
    }

    .cart-badge{
      background:#0066ff;
    }

    /* RESPONSIVE */
    @media(max-width:768px){

      .header{
        flex-wrap:wrap;
        gap:15px;
        padding:15px 20px;
      }

      .search-box{
        order:3;
        width:100%;
        max-width:100%;
        margin:0;
      }

      .header-right{
        gap:15px;
      }

      .menu-item span{
        display:none;
      }
    }
 
 
 
 /* =========================
   PROJECT SECTION
========================= */


.projects {
    background-color: #ffffff;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    padding: 20px;
}

/* Section Header Layout */
.products-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.heading-container {
    text-align: center;
    margin-bottom: 40px;
}

.heading-container h2 {
    font-size: 2rem;
    color: #0f1e36;
    font-weight: 700;
    margin-bottom: 8px;
}

.heading-container p {
    color: #6c7a89;
    font-size: 1rem;
}

.blue-line {
    width: 40px;
    height: 3px;
    background-color: #2563eb;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* Slider Component Layout */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 40px; /* Space for the floating arrows */
}

.slider-container {
    width: 100%;
    overflow: hidden; /* Hides cards outside the visible frame */
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

/* Product Card Styling */
.product-card {
    flex: 0 0 calc(25% - 15px); /* Shows exactly 4 cards by default */
    min-width: 25%;
    display: flex;
    flex-direction: column;
}

.image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f3f4f6;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    font-size: 1.1rem;
    color: #0f1e36;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-card p {
    font-size: 0.9rem;
    color: #6c7a89;
}

/* Navigation Arrow Controls */
.nav-btn {
    position: absolute;
    top: 35%; /* Centers visually relative to the images */
    transform: translateY(-50%);
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 calc(33.333% - 14px); /* Shows 3 cards */
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 calc(50% - 10px); /* Shows 2 cards */
    }
    .slider-wrapper {
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 100%; /* Shows 1 card */
    }
    .slider-wrapper {
        padding: 0 20px;
    }
}