* {
  margin: 0;
  font-family: sans-serif;
  box-sizing: border-box;
}

.navbar {
  height: 47px;
  background-color: #000000;
}

.login {
  color: white;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 15px;
  margin-right: 5%;
}

.admin {
  margin-right: 8px;
}

/* ---------------- MAIN NAV ---------------- */
.main-nav {
  height: 100px;
  background-color: #ffcd00;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  flex-wrap: wrap;
}

.img1 {
  height: 80px;
  width: 80px;
  background-image: url(img4.png);
  background-size: cover;
}

.img1:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}

.mini-nav ul {
  display: flex;
  gap: 20px;
  list-style-type: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.mini-nav li {
  padding: 8px 12px;
  transition: 0.3s ease;
  cursor: pointer;
  font-size: 18px;
}

.mini-nav li a {
  color: black;
  text-decoration: none;
}

.mini-nav li:hover {
  background-color: white;
  color: black;
}

/* ---------------- HERO IMAGE ---------------- */
.bg-img {
  background-image: url(img18.jpg);
  background-size: cover;
  background-position: center;
  height: 500px;
  width: 100%;
}

/* ---------------- MID SECTION ---------------- */
.mid-nav {
  padding: 40px 10px;
  background-color: #000000;
  text-align: center;
}

.paragraph1 {
  color: #ffffff;
  font-weight: bold;
}
.paragraph1 h1 {
  margin-bottom: 20px;
}
.paragraph1 p {
  margin-top: 15px;
}

/* ---------------- SCROLL TEXT ---------------- */
.container {
  position: relative;
  width: 100%;
  height: 250px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-x: hidden;
}

.background-text {
  position: absolute;
  top: 10%;
  left: 0;
  white-space: nowrap;
  font-size: 15vw;
  color: rgba(0, 0, 0, 0.05);
  font-weight: bold;
  animation: scrollText 40s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  font-size: 1.2em;
  color: #000;
  margin-top: 40px;
}

/* ---------------- GRID GALLERY ---------------- */
.page-wrapper {
  padding: 20px;
  text-align: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  justify-items: center;
}

.img-box {
  width: 150px;
  height: 200px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* ---------------- 3 BOXES ---------------- */
.three-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px auto;
  justify-content: center;
  padding: 0 20px;
}

.box {
  flex: 1 1 300px;
  max-width: 350px;
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: 0.3s ease;
}

.box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background-size: 110%;
}

.box1 { background-image: url('img7.jpg'); }
.box2 { background-image: url('img7.jpg'); }
.box3 { background-image: url('img7.jpg'); }

.box-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #ffcd00;
  text-align: center;
  padding: 12px 0;
  font-size: 18px;
  font-weight: bold;
  color: black;
}

/* ---------------- FOOTER ---------------- */
.footer {
  background-color: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  padding: 40px 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column {
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.footer h3 {
  color: #ffc107;
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin: 8px;
}

.footer ul li:hover {
  color: #ffc107;
  cursor: pointer;
}

.logo-circle {
  width: 100px;
  height: 100px;
  background-color: #ffc107;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 22px;
  color: black;
  transition: all 0.3s ease;
  margin: auto;
}

.logo-circle:hover {
  transform: scale(1.2);
}

/* ---------------- LAST FOOTER ---------------- */
.last-foot {
  background-color: #000;
  color: #fff;
  padding: 20px;
  border-top: 1px solid #fff;
  text-align: center;
  font-size: 14px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }

  .img1 {
    margin: 10px 0;
  }

  .mini-nav ul {
    justify-content: center;
  }

  .three-boxes {
    flex-direction: column;
    align-items: center;
  }

  .box {
    width: 90%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .content {
    font-size: 1em;
  }

  .img-box {
    width: 120px;
    height: 160px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .logo-circle {
    width: 80px;
    height: 80px;
    font-size: 18px;
  }
}
