* { 
    box-sizing: border-box;
    margin: 0; 
    padding: 0; 
}
    
body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    background: #fff; 
    color: #333; 
}

h1 {
    color:#fff;
    font-size:4vw;
}
    
header, footer, section { 
    padding: 40px 20px; 
}
    
nav { 
    display: flex; 
    justify-content: space-evenly; 
    align-items: center; 
    flex-direction: row;
    padding: 20px; 
    width:100vw;
}

.nav-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo-area{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:18px;
  color:white;
  text-decoration:none;
}

.logo-area img{
  height:40px;
}

nav a{
  margin-left:20px;
  text-decoration:none;
  color:white;
  font-weight: 600; 
    padding:0;
    transition: padding 0.5s ease;
}

.nav-join{
  background:#f4b400;
  padding:8px 14px;
  border-radius:6px;
  color:#000000;
}

.navbar{
background:#1f2937;
color:white;
padding:12px 30px;
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
max-width:1200px;
margin:auto;
}

.logo-area{
display:flex;
align-items:center;
gap:10px;
color:white;
text-decoration:none;
font-weight:600;
}

.logo-area img{
height:40px;
}

/* Desktop nav */
nav{
  display:flex;
  gap:25px;
}

/* hamburger button */
.hamburger{
display:none;
flex-direction:column;
cursor:pointer;
gap:5px;
}

.hamburger span{
width:25px;
height:3px;
background:white;
display:block;
}

nav ul { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
}
    
.officer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    gap:40px;
    max-width:1100px;
    margin:auto;
}


.officer-card{
    background:white;
    border-radius:12px;
    padding:20px;
    text-align:center;
    cursor:pointer;
    transition:all 0.35s ease;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.officer-card img{
    width:100%;
    max-width:140px;
    aspect-ratio:1/1;
    border-radius:50%;
    object-fit:cover;
    display:block;
    margin:0 auto;
}

.officer-card h3{
    margin-top:10px;
}
.officers h1{
    align-self: center;
    justify-self:center;
}

.role{
    color:#777;
}

/* Hidden bio */
.officer-bio{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.35s ease;
    margin-top:10px;
}

/* Expanded card */
.officer-card.active{
    transform:scale(1.08);
    z-index:2;
}

.officer-card.active .officer-bio{
    max-height:200px;
}

/* background overlay */
.officer-modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:0.3s;
}

/* when active */
.officer-modal.active{
    opacity:1;
    visibility:visible;
}

/* profile card */
.modal-content{
    background:white;
    max-width:600px;
    width:90%;
    padding:40px;

    border-radius:12px;
    text-align:center;

    animation:popIn 0.3s ease;
}

.modal-content img{
    width:160px;
    height:160px;
    border-radius:50%;
    object-fit:cover;
}

.modal-content h2{
    margin-top:15px;
}

.modal-content h4{
    color:#777;
    margin-bottom:15px;
}

.close-btn{
    position:absolute;
    top:30px;
    right:40px;
    font-size:32px;
    color:white;
    cursor:pointer;
}

@keyframes popIn{
    from{
        transform:scale(0.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.hero-content{
  max-width:700px;
}

.hero h1{
  font-size:48px;
  margin-bottom:20px;
}

.hero p{
  font-size:18px;
  margin-bottom:30px;
}

.primary-btn{
  background:#f4b400;
  padding:12px 20px;
  border-radius:8px;
  color:black;
  text-decoration:none;
  font-weight:600;
}

.secondary-btn{
  border:2px solid white;
  padding:12px 20px;
  border-radius:8px;
  color:white;
  text-decoration:none;
  margin-left:10px;
}


@media (max-width:768px){

nav{
  position:absolute;
  top:63px;
  left:0;
  width:100%;
  background:#1f2937;

  flex-direction:column;
  align-items:center;

  max-height:0;
  overflow:hidden;

  transition:max-height 0.3s ease;
}

/* show menu when active */
nav.active{
  max-height:500px;
}

/* links styling */
nav a{
  padding:15px;
  width:100%;
  text-align:center;
  margin:0;
}

/* keep join button styled but centered */
.nav-join{
  width:auto;
  margin:10px auto 20px auto;
  color:#000000;
}

/* show hamburger */
.hamburger{
display:flex;
}

}
    
.hero, .join-us, .events, .benefits, .community, .newsletter, .faq, .testimonials { 
    text-align: center; 
}

.hero{
  height:70vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.6)
    );
  background-size:cover;
  background-position:center;
  color:white;
  background-color:#758CB5
}

.events {
    display:flex;
    align-items: center;
    background-color:#b3caf1;
}

.join-us {
    display:flex;
    align-items: center;
    background-color:#b3caf1;
}

.half {
    width:50%;
}

.third {
    width:100vw/3vw
}

.column {
    width:100%;
    display:flex;
    flex-direction: column;
}

.row {
    width:100%;
    display:flex;
    flex-direction: row;
}
    
.hero img, .events img, .benefits img, .community img { 
    max-width: 100%; 
    border-radius: 10px; 
}
    
.section-title { 
    margin-bottom: 20px; 
    font-weight: 700; 
}

nav div {
    position:absolute;
}

.nav-button {
    background: #ffffff; 
    color: #000000; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    text-decoration: none; 
    position:absolute;
    right:3vw;
    top:1vw;
}
    
.button { 
    background: #ffffff; 
    color: #000000; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    text-decoration: none; 
    margin:1vw;
    transition: 0.45s ease;
}

.button2 {
    background: #839dcc;  
    color: #ffffff; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    text-decoration: none; 
    margin:1vw;
    transition: 0.45s ease;
}
.button2:hover {
    background: #99b7ef;
}

.event-button {
    background: #b4b4b35f; 
    color: #000000; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    text-decoration: none; 
    margin:1vw;
    transition: 0.45s ease;
}

.event-button2{
    background: #ffffff; 
    color: #000000; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    text-decoration: none; 
    margin:1vw;
    transition: 0.45s ease;
}

.event-button:hover {
    background: #b4b4b3; 
}

.event-button2:hover, .button:hover{
    background: #d5d5d5; 
}

p {
    padding-bottom: 2vw;
}
    
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-top: 20px; 
}

.grid .eventp, .column p {
    margin:2vw 2vw;
}
    
footer { 
    background: #1f2937; 
    color: #fff; 
    font-size: 14px; 
}
    
footer a { 
    color: #fff; 
    text-decoration: underline; 
}
    
.contact-info { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}
    
.faq-question { 
    font-weight: 600; 
    margin: 10px 0; 
    cursor: pointer; 
}
    
.faq-answer { 
    margin-bottom: 20px; 
    display: none; 
    transition:ease 0.6s;
}

.logo {
    position: absolute;
    left: 5vw;
    width: 100px;
    top: 0.5vw;
}

.head-img {
    width:90%;
}

 nav ul li a:hover {
    color:#ffffff;
    padding:1vw;
    border-radius: 25%;
    background-color: #305eae10;
}

/* Slideshow container */
.slide-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  .prev {
    left:0;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  /* .active, .dot:hover {
    background-color: #717171;
  } */
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  .Slide {
    display: none;
}
/* dropdown for nav menu */
.dropdown {
  position: relative;
  display: none;
  padding: 30px 0vw;
}

.dropDownBtn {
  font-size: 16px;
  background-color:#f2f2f2;
  padding:1vw 5vw;
  border-radius: 5px;
}
.dropDownBtn:hover {
    animation-duration: 50ms;
    background-color:#cdcdcd;
}

.drop_content {
    display:none;
    position:absolute;
    flex-direction: column;
    width: 80px;
    height: auto;
    justify-content: right;
    z-index: 1;
    top: calc(39px + 1vw );
    right:-4vw;
    background: transparent;
    border-radius: 10px;
}

.drop_content a {
    color:black;
    text-decoration: none;
    display:block;
    text-align:left;
    padding:1vw;
    background:#99b0db;
}

.drop_content a:hover {
    color:#ffffff;
    background: #4d596eeb;
    padding:1.5vw 1vw;
}

.drop_content :first-child {
    border-radius: 5px 5px 0px 0px;
}
.drop_content :last-child {
    border-radius: 0px 0px 5px 5px;
}

.half-photo {
        width: 80%;
    height: 100%;
    justify-self: center;
    align-self: center;
    border-radius: 10px;
}

.show {
    display:block;
}

.showFlex{
    display:flex;
}

.dropDownSection {
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* Color coding */
.pink {
  background-color: #f9d5e5;
  border-color: #e17ca1;
}

.blue {
  background-color: #d5e9f9;
  border-color: #7caee1;
}

.familiesList iframe {
  width:80vw;
  height:75vh;
  align-self:center;
  border-radius: 3vw;
}

.familiesList div h1 {
  color:#333
}

footer div div ul li a {
  text-decoration: none;
  font-style:none;
}
footer div div ul {
  display:flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  height:100%;
  width:100%;
}
.officers h1, .officers p {
  color:#333;
}
.officers div {
    width:80%;
    align-self:center;
    align-content: center;
    justify-content: center;
}

/* mobile for main parts */
@media screen and (max-width: 542px) {
    .join-us .half p {
        display:none;
    }
}

@media screen and (max-width: 830px) {

    footer .grid {
        display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
        gap: 20px; 
        margin-top: 20px; 
    }

    .grid {
        display:flex;
        flex-direction: column;
        align-items:center;
        justify-content: center;
    }
    .events, .benefits, .hero{
        flex-direction: column;
    }
    .officers .row{
        flex-direction: column;
    }
    .officers div .half {
        align-items: center;
        width:100%;
        justify-content:space-evenly;
    }
    .calender iframe, .fp-page{
        width:90%;
        height:90vw;
    }
    blockquote {
        width:90%;
    }
    .head-img {
        width:80vw;
    }
    .button-rows {
        flex-direction: row;
        align-items: center;
        justify-content:center;
    }
    .drop_content a:hover {
    color:#ffffff;
    background: #4d596eeb;
    padding:1.5vw 1vw;
}



}




/* more mobile functions and features */

@media screen and (max-width: 1080px) {
    
    nav {
        padding: 2vw 7vw 2vw 2vw;
    }
    .social-grid .grid {
        display:flex;
        flex-direction: column;
        align-items:center;
        justify-content: center;
    }
}
/* true mobile for the rest of the way */
@media screen and (max-width: 1000px) {

    nav ul{
        display:none;
    }
    .dropdown, .drp_btn {
        display:inline-block;
    }
    .nav-button {
        display:none;
    }
    nav div {
        position:relative;
    }
    nav {
        justify-content: end;
    }
    .dropdown button {
        background: #ffffff; 
    color: #000000; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    text-decoration: none; 
    position:absolute;
    right:-4vw;
    top:1vw;
    }
    .license {
        display:none;
    }
}