/* Custom Typography for Modern Look */

/* Main heading - using Poppins for modern, clean look */
.masthead h1, .masthead .h1 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 3rem;
  line-height: 1.2;
}

/* Subheading */
.masthead h2, .masthead .h2 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Responsive sizing */
@media (min-width: 768px) {
  .masthead h1, .masthead .h1 {
    font-size: 4.5rem;
    line-height: 1.1;
  }
}

@media (min-width: 992px) {
  .masthead h1, .masthead .h1 {
    font-size: 5.5rem;
  }
}

@media (min-width: 1200px) {
  .masthead h1, .masthead .h1 {
    font-size: 6rem;
  }
}

/* Optional: Apply Poppins to navigation for consistency */
.navbar-brand {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600;
}

/* Glassmorphic Navigation Bar */
#mainNav {
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  background: rgba(0, 0, 0, 0.3) !important;
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease-in-out;
}

/* When scrolled/shrunk */
#mainNav.navbar-shrink {
  backdrop-filter: blur(12px) saturate(200%);
  -webkit-backdrop-filter: blur(12px) saturate(200%);
  background: rgba(0, 0, 0, 0.75) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Ensure text is visible on glass effect */
#mainNav .navbar-brand,
#mainNav .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link:focus {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mobile menu glass effect */
@media (max-width: 992px) {
  #mainNav .navbar-collapse {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 0 0 10px 10px;
    margin-top: 10px;
    padding: 1rem;
  }
}

/* Optional: Section headings */
h2.text-white, h2.text-black {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.02em;
}