@font-face {
    font-family: regfont;
    src: url("Nexa-ExtraLight.ttf");
  }
  
  .navbar {
    background-color: #0000008c;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    backdrop-filter: blur(25px);
  }
  
  .navbar-links {
    list-style: none;
    display: flex;
    gap: 30px;
    font-family: regfont;
    align-items: center;
    white-space: nowrap;
  }
  
  .navbar-links a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 6px 4px;
    display: inline-block;
    font-family: regfont;
    line-height: 1;
  }
  
  .navbar-links a:hover {
    color: #aac1e6;
  }
  
  /* Navbar responsive */
  @media (max-width: 450px) {
    .navbar-links {
      gap: 16px;
    }
    .navbar-links a {
      font-size: 0.7rem;
      padding: 6px 2px;
    }
  }
  
  
  /* whole page container*/
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* hero */
.volunteer-hero {
    background: url("forestlake.avif") center/cover; /*change image */
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* button */
.primary-btn {
    background: #2f5f9e;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    width: auto;
}

.primary-btn:hover {
    background: #244c80;
}

/* search area */
.search-section {
    background: #f5f7fa;
    padding: 60px 0;
    text-align: center;
}

.search-grid {
    margin-top: 25px;
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(180px,1fr));*/
    gap: 15px;
}

.search-grid input,
.search-grid select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* cards featured oppurtunity */
.volunteer-list {
    padding: 70px 0;
    text-align: center;
}

.card-container {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
    gap: 25px;
    margin-top: 30px;
}

.vol-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: left;
    transition: 0.25s ease;
}

.vol-card:hover { /*change this */ 
    transform: translateY(-6px);
}

.location {
    display: block;
    margin: 10px 0 15px;
    color: #555;
}


.how-it-works {
    background: #eef2f7;
    padding: 70px 0;
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.steps div {
    max-width: 250px;
}


.cta {
    text-align: center;
    padding: 70px 0;
}
