body{
    background-color: #f4f9fd;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

#header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 60px;
    background-color: #f4f9fd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
    height: 75px;
}

#header a img{
    width: 250px;
    height: 75px;
}

/* NAVBAR */
#navbar {
    display: flex;
    justify-content: center;
    list-style: none;
    align-items: center;
    gap: 5px;
    position: relative;
}

#navbar li {
    list-style: none;
    position: relative;
    padding: 0; 
}

#navbar li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 200;
    color: #4ab2a8;
    transition: 0.3s ease;
    padding: 12px 20px;
    display: block;
}

/* Hover & Active Styles */
#navbar li a:hover,
#navbar li a.active {
    color: #1d71b8 !important;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: '';
    width: 30%;
    height: 2px;
    background-color: #1d71b8 !important;
    position: absolute;
    bottom: 6px;
    left: 20px;
}

/* Mobile nav + spacing classes */
#mobile {
    display: none;
    align-items: center;
}

#close {
    display: none;
}

.margin {
    margin: 30px 0px;
}

footer{
    background-color: #f4f9fd;
    color: #000000;
    display: flex;
    flex-direction: column; /* Change from row to column to stack items */
    align-items: center; /* Center everything horizontally */
    height: 100px;
}

footer .columns {
    display: flex; /* Display the columns in a row */
    justify-content: space-between; /* Space between columns */
    width: 100%; /* Full width or keep it as needed */
    max-width: 960px;
    text-align: center;
}

footer .columns > div {
    flex: 1; /* Equal width for all columns */
}

footer .col{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

footer .follow{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

footer .col h4{
    font-size: 14px;
    font-weight: 300;
    padding-bottom: 7px;
    text-transform: uppercase;
}

footer .follow h4{
    font-size: 14px;
    font-weight: 300;
    padding-bottom: 7px;
    text-transform: uppercase;
}

footer .col p{
    font-size: 13px;
    padding-bottom: 10px;
    margin: 0 0 0 0;
}

footer .col a{
    font-size: 13px;
    color: #000000;
    text-decoration: none;
    padding-bottom: 10px;
}


footer .col a:hover{
    color: #1827f3;
    cursor: pointer;
    text-decoration: underline;
}

footer .copyright{
    text-align: center;
    font-size: 0.8rem;
    color: #000;
}

footer .follow a{
     font-size: 15px;
    color: #000000;
    text-decoration: none;
    padding-bottom: 10px;
}

footer .follow a:hover{
    color: #1827f3;
    cursor: pointer;
    text-decoration: underline;
}

.product-detail-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  }

  /* Slider wrapper (unchanged) */
.slider-wrapper {
    position: relative;
    flex: 1 1 450px;
    max-width: 450px;
    margin: 0 auto;
    background-color: transparent;
}

.slider{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: none;
    border-radius: 0.5rem;
    scrollbar-width: none;         /* Firefox */
    -ms-overflow-style: none;      /* IE 10+ */
}

.slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.slider img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: contain;
    width: 100%;
    height: auto;
    max-height: 350px;
    padding: 0; /* Remove padding here */
    display: block;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a{ 
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #000;
    opacity: 0.75;
    transition: opacity ease 250ms;
    border: 1px solid #fff;
}

.slider-nav a:hover{
    opacity: 1;
    background-color: #1d71b8;
}

  /* Details column */
  .product-details {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #222;
    font-family: 'Open Sans', sans-serif;
  }

  .product-details h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 10px;
    color: #003366;
  }

  .product-price {
    font-size: 1.6rem;
    color: #007BFF;
    font-weight: 700;
    margin: 12px;
  }

  /* NEW: Clean section containers */
  .product-info-section {
    margin: 10px;
  }

  .product-info-section h4 {
    font-size: 1.3rem;
    margin-top: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
    border-bottom: 2px solid #007BFF;
    display: inline-block;
    padding-bottom: 4px;
  }

  /* Basic info (Used, Location) */
  .basic-info {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #000000;
  }

  /* Description list */
  .product-description-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px;
    color: #000000;
    font-size: 1.1rem;
  }

  /* Contact info box */
  .contact-info {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 10px;
    background-color: #f0f8ff;
    border-radius: 8px;
    max-width: fit-content;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.1);
  }

.btn-primary {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary:hover {
  background-color: #0056b3;
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.3);
}



  /* Responsive tweaks */
  @media (max-width: 768px) {
    .product-detail-container {
      flex-direction: column;
      max-width: 90%;
      margin: 20px auto;
    }
    .slider-wrapper {
      max-width: 100%;
      margin-bottom: 20px;
    }
  }
  @media screen and (max-width: 768px) {
    footer {
        padding: 20px;
    }

    footer .columns {
        flex-direction: column; 
        align-items: center;
        width: 100%;
    }

    footer .col, 
    footer .follow {
        width: 100%;
        margin-bottom: 15px; 
    }

    footer .col h4,
    footer .follow h4 {
        font-size: 16px;
    }

    footer .col p,
    footer .col a {
        font-size: 14px;
    }

    footer .follow i {
        font-size: 28px;
    }

    footer .copyright {
        font-size: 0.75rem;
    }

    body {
        font-size: 14px;
    }
    
    footer .follow a{
     font-size: 10px;
}

    #header{
        padding: 10px 20px; 
        flex-direction: row;
        justify-content: space-between;
    }
    

    #header a img {
        width: 200px; 
        height: auto;
    }
    
    #header-bus{
        padding: 10px 20px !important; 
        flex-direction: row;
        justify-content: space-between !important;
    }
    
    #header-bus a img{
        width: 200px !important; 
        height: auto !important;
    }
    
    
    #navbar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #F5FAFF;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.8s ease-out;
        z-index: 1000;
        margin: 0;
    }

    #navbar.active {
        display: flex;
        transform: translateX(0);
    }

    #navbar li a {
        color: #000000;
        font-size: 18px;
        padding: 15px 0;
    }

    #navbar li a:hover,
    #navbar li a.active {
        color: #299efd;
    }

    #navbar li a.active::after,
    #navbar li a:hover::after {
        background-color: #ffffff;
        left: 0;
    }


    #mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    #mobile i {
        font-size: 15px;
        color: #000000;
    }

    #close {
        display: block;
        font-size: 24px;
        color: #000000;
        cursor: pointer;
        position: absolute;
        top: 100px;
        left: 30px;
    }
}