@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Noto Sans", sans-serif;
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  color: #fff;
  line-height: 1.4;
  background-color: #000;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  padding-bottom: 40px;
}

.nav-bar {
  background-color: transparent;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  transition: all 0.3 ease-in;
}

.nav-head {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.nav-link {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.nav-link a {
  color: #ffffffcc;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
}

.nav-link a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.title1 {
  padding: 80px 40px;
  margin-left: 20px;
}

main {
  padding: 0 40px;
}
.title2 {
  font-size: 40px;
}
.title3 {
  margin-top: 10px;
  font-size: 20px;
  color: #eee;
}

.title4 {
  padding-top: 20px;
}

.section-1 {
  padding: 24px 40px;
  margin-top: 100px;
}

.section-1 h3 {
  margin-bottom: 12px;
}

.auto-scroll-wrapper {
  overflow: hidden;
  background: #222;
  border-radius: 6px;
  padding: 10px 14px;
  max-width: 100%;
}

.auto-scroll {
  display: inline-block;
  white-space: nowrap;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  transform: translateX(100%);
  animation: scroll-left linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.auto-scroll-wrapper:hover .auto-scroll,
.auto-scroll-wrapper:focus-within .auto-scroll {
  animation-play-state: paused;
}

@media (max-width: 420px) {
  .auto-scroll {
    font-size: 16px;
  }
  .title1 {
    padding: 40px 20px;
  }
}

.btn {
  display: inline-block;
  margin-top: 50px;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background-color: #333;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-right: 10px;
}

.btn:hover {
  background-color: #555;
}

/* Consolidated About Section */
#about,
.about-section {
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
}

#about h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

#about p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.project-section {
  padding: 40px 0;
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background-color: rgba(0, 0, 0, 0.7);
}

.project-section h2 {
  padding-bottom: 40px;
  text-align: center;
}

.project-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.box-11 {
  border: 2px solid lightslategray;
  border-radius: 6px;
  width: 100%;
  max-width: 400px;
  min-height: 450px; /* Ensure consistent height */
  text-align: center;
  position: relative;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box-11 h4 {
  margin-bottom: 15px;
  min-height: 50px; /* Align titles */
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-11 img.whatsapp {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.box-11 p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 60px; /* Space for the button */
}

/* Github Link Button */
.box-11 .github-link {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  transition: transform 0.2s ease;
}

.box-11 .github-link:hover {
  transform: translateX(-50%) scale(1.1);
}

.github {
  width: 40px;
  height: 40px;
  filter: invert(1); 
}

.shopping {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.bookstore {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}