body,
html {
  margin: 0;
  background: #eee;
  font-family: "Oswald", sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.hero-section {
  background-image: url(bg/main.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mission-block {
  background-image: url(bg/bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1000px;
}

.vision-block {
  background-image: url(bg/all.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1000px;
}

.hero-section {
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px; /* Offset for navbar */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: brightness(0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  font-size: 2rem;
}

.hero-text h1 {
  font-size: 5rem;
  margin: 0;
  letter-spacing: 3px;
}

.hero-text .highlight {
  display: block;
  font-size: 4rem;
  font-weight: 300;
}

.hero-text p {
  margin-top: 10px;
  font-size: 1rem;
  letter-spacing: 1px;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-btn {
  border: 1px solid white;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.9rem;
  width: 200px; /* ✅ Same width for all buttons */
  text-align: center; /* ✅ Center text inside */
  border-radius: 8px; /* ✅ Slight curve on edges */

  background-color: rgba(255, 255, 255, 0.1); /* Light transparent */
  -webkit-backdrop-filter: blur(10px); /* Blur effect */
  backdrop-filter: blur(5px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Optional subtle border */
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: white;
  color: #00bcd4;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Keeps it responsive */
  gap: 40px;
  padding: 0 40px;
}

.hero-buttons.side {
  flex-direction: column;
  align-items: flex-start;
  position: static;
  transform: none;
}

.card {
  background: rgba(0, 0, 0, 0.1); /* Glass-like transparency */
  -webkit-backdrop-filter: blur(1px); /* Frosted glass blur */
  backdrop-filter: blur(2px); /* Safari support */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin: 60px auto;
  margin-bottom: 500px;
  max-width: 1200px;
  padding: 40px 60px;
  color: white;
  position: relative;
  overflow: hidden;
  font-family: "Lato", sans-serif; /* Use a clean, readable font */
  font-size: 1.25rem; /* Increase base font size */
  text-align: center;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: 20px;
}

.card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: "Oswald", sans-serif;
}
.card p {
  font-size: 1.25rem;
}

.content-block {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-arrow {
  font-size: 2rem;
  color: white;
  text-decoration: none;
  margin-bottom: 40px;
  animation: bounce 1.5s infinite;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
}

/*Equipment list*/
iframe {
  width: 100%;
  height: 100vh;
  border: none;
  margin-top: 60px;
}

.navbar.scrolled .nav-left span,
.navbar.scrolled .nav-right > .nav-item,
.navbar.scrolled .nav-right > .nav-item > a {
  color: white !important;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
