/* General Reset */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
    padding: 0;
}

/* Header Styling */
.header-top {
    background: #222;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.header-main {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-main a.nav-link {
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
}

.header-main a.nav-link:hover {
    color: #0d6efd;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #0088ff, #0033cc);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.banner h1 {
    font-size: 48px;
    font-weight: 700;
}

.banner p {
    font-size: 20px;
    margin: 15px 0;
}

.banner .btn {
    background-color: #fff;
    color: #0033cc;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 25px;
    transition: 0.3s;
}

.banner .btn:hover {
    background-color: #e6e6e6;
}

/* Feature Section */
.features {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.features .icon-box {
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.features .icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.features i {
    font-size: 32px;
    color: #0d6efd;
    margin-bottom: 15px;
}

/* Product Cards */
.product-card {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s;
    background-color: #fff;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card .btn {
    border-radius: 30px;
    font-size: 14px;
    padding: 8px 20px;
}

/* Footer */
footer {
    background-color: #111;
    color: #ccc;
    padding: 40px 20px;
}

footer h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

footer ul li a:hover {
    color: #fff;
}
footer p, footer a {
    color: #d0d0d0 !important;
}

footer .copy {
    border-top: 1px solid #444;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 13px;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeInUp 0.8s ease-in-out;
}
/* GENERAL RESET & BASE */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  margin: 0;
  padding: 0;
}

/* PRODUCT IMAGE RESPONSIVE */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* PRODUCT INFO TABLE */
.table-borderless th,
.table-borderless td {
  padding: 0.5rem;
}

/* BUTTONS */
.btn {
  border-radius: 4px;
  font-size: 0.95rem;
}

/* LOGIN & REGISTER FORMS SIDE BY SIDE ON DESKTOP */
.auth-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.auth-container > div {
  flex: 1 1 300px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* CARD STYLING */
.card {
  border-radius: 8px;
  overflow: hidden;
}
.card img {
  border-radius: 8px 8px 0 0;
}

/* TAB CONTENT */
.nav-tabs .nav-link.active {
  background-color: #e9ecef;
  font-weight: bold;
}

/* THANK YOU PAGE */
.thank-you {
  text-align: center;
  padding: 2rem 1rem;
}
.thank-you h2 {
  font-size: 1.8rem;
}
.thank-you p {
  font-size: 1rem;
}

/* DASHBOARD UL */
.dashboard ul {
  padding: 0;
  list-style: none;
}
.dashboard ul li {
  margin: 10px 0;
}
.dashboard a {
  text-decoration: none;
  color: #007bff;
}

/* MEDIA QUERIES FOR MOBILE */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.9rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .auth-container {
    flex-direction: column;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .table-sm td,
  .table-sm th {
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .related-products,
  .more-products {
    flex-direction: column;
  }

  .nav-tabs .nav-link {
    font-size: 0.95rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
