@import url('utilitty.css');

:root {
  --header_footer_bg: #5f5814;
  --sidebartext: #fff;
  --card-bg-w: #fff;
  --sidenav:rgba(255, 255, 255, 0.5);
  --sidenavhover: rgba(255, 255, 255, 0.4);
  --notice_bg:#832272d6;
  --notice_color:#fff;
}
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

 
 header {
  background-color: var(--header_footer_bg);
  color: white;
  height: 80px;
  box-shadow: 2px 1px 4px 6px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  
}
nav{
  display: flex;
  justify-content: space-between;
  justify-items: center;
  align-items: center;;
}
header nav ul li a {
  color: white;
  gap: 20px;
  text-decoration: none;
  padding: 15px;
  font-size: 20px;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s;
}
header nav ul{
  list-style: none;
  padding: 0;
  gap:1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.login a {
  color: white;
  text-decoration: none;
  padding: 10px;
  font-size: 20px;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s;
}

header nav ul li a:hover {
  border-bottom: 2px solid white;
}

.login a:hover {
  border-bottom: 2px solid white;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

.login_header {
  background-color: #9082e3;
  color: white;
  padding: 10px 0;
  text-align: center;
  box-shadow: 0 0 10px rgba(204, 185, 185, 0.65);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.admin_login_header {
  background-color: #35424a;
  color: white;
  padding: 10px 0;
  text-align: center;
  box-shadow: 0 0 10px rgba(204, 185, 185, 0.65);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
/* HAMBURGER ICON */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 28px;
  cursor: pointer;
  margin-right: 15px;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: 0.3s;
}

/* SIDE NAV */
.side-nav {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background-color: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  padding: 80px 20px;
  transition: right 0.4s ease;
  z-index: 9999;
}

.side-nav.active {
  right: 0;
}

.side-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 0;
}

.side-nav ul li a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
}

.side-nav ul li a:hover {
  color: #ffcc00;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  border: none;
  cursor: pointer;
}

.close-btn img {
  width: 24px;
  height: 24px;
}

/* RESPONSIVE NAVBAR */
/* @media (max-width: 900px) {
  nav ul, .login {
    display: none;
  }
  .hamburger {
    display: flex;
  }
} */

main {
  padding: 20px;
}
form {
  background: white;
  padding: 20px;
  /* padding: 3px; */
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: auto;
}
label {
  display: block;
  margin-bottom: 8px;
}
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
input[type="submit"] {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
}
input[type="submit"]:hover {
  background-color: #45a049;
}
table {
  width: 80%;
  border-collapse: collapse;
  margin: 20px auto;
}
th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
th {
  background-color: #f2f2f2;
}
.text-center {
  text-align: center;
}
/* index page */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
  align-items: center;
  margin-top: 70px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.grid-container img {
  width: 100%;
  /* height: 400px; */
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  object-fit: cover;
}

.text_color_white {
  color: white;
}
/* a span{
            color: white;
        } */

.product-grid {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}
.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: 20px 20px; */
  box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
}
.product-card-img {
  width: 200px;
  height: 200px;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}
/* #department .card-dept, */
h3,
p,
button {
 
  margin: 5px;
  

}
.strikethrough-text {
  text-decoration: line-through;
}

.section_title {
  text-align: center;
  margin: 34px 0;
}
.btn {
  background-color: #35424a;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: auto;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) all 0.3s;
}
.btn:hover {
  background-color: #45a049;
  transform: scale(1.05);
} 
.padding_from{
  padding: 0px 0;
}
.margin_t_20{
  margin-top: 20px;
}
.margin_b_20{
  margin-bottom: 20px;
} 

.product-image_V img {
  display: block;
  margin: 23px auto;
  max-width: 100%;
  height: auto;
}
.product-image_V{
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
  
/* INDEX NOTICE*/
.notice-bar {
    width: 100%;
    overflow: hidden;
    background: var(--notice_bg);
    height: 30px;
    display: flex;
    align-items: center;
    color:var(--notice_color);
    font-weight: bold;
    font-size: 16px;
  
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

/* Pause animation on hover */
.notice-bar:hover .scroll-text {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}


footer {
  background-color: var(--header_footer_bg);
  color: white;
  padding: 60px 20px 40px;
  clip-path: polygon(0 0, 30% 10%, 70% 10%, 100% 0, 100% 100%, 0 100%);
  margin-top: 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: auto;
}

/* Title */
footer .footer-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

/* Content Layout */
.footer-content {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  text-align: left;
}

/* Each Column */
.footer-column h3 {
  margin-bottom: 14px;
  font-size: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px
 
}

.footer-column ul li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* Links */
footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  text-decoration: underline;
  color: #e6e6e6;
}

/* Bottom Text */
.footer-bottom {
  text-align: right;
  font-size: 15px;
  line-height: 1.5;
  margin-right: 40px;
}

.footer-bottom strong {
  color: #fff;
  font-weight: 600;
}

/* Responsive */



