:root {
  --maroon: #6b1f1f;
  --gold: #d4a017;
  --muted: #6b6b6b;
  --card: #fff;
  --bg: #fffaf5;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, Arial;
  background-color: #f6f6f6;
  background: url("images/Bg_Image.jpg") no-repeat center center fixed;
  background-size: cover;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
/* header {
        background: lightgoldenrodyellow;
        padding: 15px 20px;
        border-radius: 12px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
        margin-bottom: 25px; space below the header box */
/* text-align: center;
      }
      .brand {
        display: flex;
        gap: 12px;
        align-items: center;
      }
      .logo {
        width: 56px;
        height: 56px;
        border-radius: 10px;
        background: linear-gradient(135deg, #fff2cc, #ffefc0);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--maroon);
        font-weight: 800;
        font-size: 20px;
      } */
header {
  background: linear-gradient(90deg, var(--maroon), #8f2b2b);
  color: #fff;
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h2 {
  text-align: justify;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff2cc, #ffefc0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-weight: 800;
  font-size: 20px;
}
.title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
header a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

header a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffd166; /* soft gold on hover */
}
.tag {
  margin: 0;
  font-size: 13px;
  opacity: 0.92;
}
nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
}
.loginBtn {
  background: #fff;
  color: var(--maroon);
  border-radius: 10px;
  padding: 8px 12px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  margin-left: 12px;
}
h1 {
  text-align: center;
  margin-bottom: 20px;
  color: red;
}
h2 {
  text-align: center;
  margin-bottom: 20px;
}
h3 {
  text-align: center;
  margin-bottom: 20px;
}
h4 {
  text-align: center;
  margin-bottom: 40px;
}
h1,
h2,
h3 {
  margin: 0;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}
.item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

.title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px;
}
.desc {
  color: #555;
}

.fee,
.late-fee,
.item-code {
  color: #333;
  font-size: 14px;
  margin: 4px 0;
}

a.back {
  display: block;
  text-align: center;
  margin-top: 25px;
  text-decoration: none;
  color: white;
  background: #ff6600;
  padding: 12px;
  border-radius: 8px;
}
footer {
  background: maroon;
  text-align: center;
  padding: 22px;
  /* color: var(--muted); */
  color: #ccc;
  font-size: 13px;
  margin-top: 26px;
}
footer a {
  color: #f7f7f7;
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.banner-slider {
  width: 100vw;
  height: 400px;
  overflow: hidden;
  position: relative;
  background: #feef9e70;
  z-index: 1;
  left: 0;
  display: flex;
}
.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* FULL SCREEN */
  height: 100%;
  /* object-fit: contain;  FULL IMAGE, NO CROP */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.single-banner {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: flex;
}

.single-banner img {
  width: 100%;
  /* height: 100%; */

  /* display: flex; */
  /* object-fit: cover; fills screen nicely */
}

.banner.active {
  opacity: 1;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .single-banner {
    max-height: 180px;
    border-radius: 10px;
  }
}

.navbar {
  /* width: 100%; */
  background: maroon;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* margin-bottom: 20px; */
}

/* LEFT */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-left img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
}

/* CENTER */
.nav-center {
  text-align: center;
  flex: 1;
}

.nav-center h1 {
  margin: 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
}

.nav-center p {
  margin: 2px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 6px;
  }

  .nav-center h1 {
    font-size: 18px;
  }

  .nav-center p {
    font-size: 13px;
  }
}

/* ===============================
   GLOBAL MOBILE FIXES
   =============================== */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  h1 {
    font-size: 22px;
  }
  h2 {
    font-size: 18px;
  }
  h3 {
    font-size: 16px;
  }
  h4 {
    font-size: 14px;
  }
}

/* ===============================
   HEADER MOBILE FIX
   =============================== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-align: center;
  }

  .brand {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .logo {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .title {
    font-size: 16px;
  }

  .tag {
    font-size: 12px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  header a {
    margin: 0;
    padding: 6px 10px;
    font-size: 14px;
  }

  .loginBtn {
    width: 100%;
    max-width: 220px;
    margin-top: 6px;
  }
}

/* ===============================
   NAVBAR MOBILE FIX
   =============================== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }

  .nav-left {
    justify-content: center;
  }

  .nav-center h1 {
    font-size: 18px;
  }

  .nav-center p {
    font-size: 13px;
  }
}

/* ===============================
   BANNER MOBILE FIX
   =============================== */
@media (max-width: 768px) {
  .banner-slider {
    height: 180px;
  }

  .single-banner {
    max-height: 180px;
    border-radius: 10px;
  }

  .single-banner img {
    object-fit: contain;
  }
}

/* ===============================
   GRID / CARDS MOBILE FIX
   =============================== */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .item img {
    height: 150px;
  }
}

/* ===============================
   FOOTER MOBILE FIX
   =============================== */
@media (max-width: 768px) {
  footer {
    font-size: 12px;
    padding: 16px;
  }
}
