: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: url("images/Bg_Image.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #222;
  -webkit-font-smoothing: antialiased;
}
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;
}
main {
  max-width: 1080px;
  margin: 28px auto;
  padding: 0 18px 60px;
}
.hero {
  display: flex;
  gap: 24px;
  align-items: center;
  text-align: left;
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  /* margin-top: 150px; */
}
.hero h1 {
  margin: 0;
  color: var(--maroon);
  font-size: 28px;
}
.hero p {
  margin: 10px 0 0;
  color: var(--muted);
}
.cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}
.btn-primary {
  background: var(--maroon);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}
.btn-ghost {
  background: transparent;
  border: 2px solid var(--maroon);
  color: var(--maroon);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}
.card {
  background: var(--card);
  padding: 16px;
  border-radius: 12px;
  margin-top: 18px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
h2 {
  color: var(--maroon);
  margin-top: 0;
}
h3 {
  color: var(--maroon);
}
footer {
  background: maroon;
  text-align: center;
  padding: 22px;
  /* color: var(--muted); */
  color: #ccc;
  font-size: 13px;
  margin-top: 26px;
}

.stats-section {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #6b1f1f;
}

.stat-number {
  font-size: 38px;
  font-weight: 700;
  color: #6b1f1f;
}

.stat-label {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
}

@media (max-width: 820px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

.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;
}

@media (max-width: 768px) {
  .banner {
    height: 180px; /* smaller height for mobile */
  }
}
.banner.active {
  opacity: 1;
}

/* pause on hover */
.updates-scroll-wrapper:hover #updates-scroll {
  animation-play-state: paused;
}

.updates-section {
  padding: 20px;
}

.updates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.update-card {
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 12px;
  flex-shrink: 0;
}

.update-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.update-card h4 {
  margin: 8px 0 4px;
}

.update-card p {
  font-size: 14px;
  color: #555;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  width: 320px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.updates-wrapper {
  overflow: hidden;
  width: 100%;
  margin-top: 20px;
}

.updates-track {
  display: flex;
  gap: 16px;
}

.update-card {
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.update-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.updates-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 15px 5px;
}

.updates-scroll::-webkit-scrollbar {
  height: 8px;
}

.updates-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.update-card {
  min-width: 260px;
  max-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 12px;
  flex-shrink: 0;
}

.update-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.update-card h4 {
  margin: 8px 0 4px;
}

.update-card p {
  font-size: 14px;
  color: #555;
}

#updateFormBox {
  margin: 15px 0;
  padding: 15px;
  background: #f7f7f7;
  border-radius: 10px;
}

#updateFormBox input,
#updateFormBox textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 8px;
}

.updates-section {
  padding: 20px;
}

.updates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.updates-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 15px 0;
}

.update-card {
  min-width: 260px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 12px;
}

.update-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  width: 320px;
  border-radius: 10px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin-bottom: 10px;
}

footer a {
  color: #f7f7f7;
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero {
    padding: 20px;
  }

  .banner-slider {
    height: 180px;
  }

  .updates-scroll {
    padding: 10px;
  }

  .update-card {
    min-width: 220px;
  }
}

/* =========================
   MOBILE FRIENDLY HEADER
   ========================= */
@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: 10px;
  }

  header a {
    margin: 0;
    padding: 6px 10px;
    font-size: 14px;
  }

  .loginBtn {
    width: 100%;
    max-width: 220px;
    margin-top: 6px;
  }
}
