:root{
--navy:#000066;
--ocean:#2f6690;
--gold:#d9b44a;
--light:#f7f9fc;
--beige;#F5F5DC;
--text:#2d3748;
--white:#F5F5DC;
--shadow:0 3px 12px rgba(0,0,0,.08);
}

*{
box-sizing:border-box;
}

body{
margin:0;
font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
line-height:1.6;
}

.container{
width:min(95%,1400px);
margin:auto;

}

header{
background:var(--navy);
color:beige;
position:sticky;
top:0;
z-index:100;
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding: 10px;

}

.logo{
font-size:1.5rem;
font-weight:700;
}

nav ul{
display:flex;
list-style:none;
gap:1.5rem;
margin:0;
padding:0;
}

nav a{
color:beige;
text-decoration:none;
font-weight:500;
}

.hero{
background:
linear-gradient(rgba(22,50,79,.7),
rgba(22,50,79,.7)),
url('map_nf_1775-crop.jpg')
center/cover;
//url('https://images.unsplash.com/photo-1506744038136-46273834b3fb')
//url('part_map_1778_trinity_conception_bay.jpg')

color:white;
text-align:center;
padding:5rem 1rem;
}

.hero h1{
font-size:clamp(2rem,4vw,4rem);
color: beige;
margin-bottom:1rem;
}

.hero p{
max-width:800px;
margin:auto;
color: beige;
font-size:1.2rem;
}

.buttons{
margin-top:2rem;
}

.btn{
display:inline-block;
padding:.9rem 1.5rem;
border-radius:8px;
text-decoration:none;
margin:.5rem;
font-weight:600;
}

.btn-primary{
background:var(--gold);
color:black;
}

.btn-secondary{
background:beige;
color:var(--navy);
}

.search-section{
margin-top:-40px;
background-color: pow;
}

.search-box{
background:white;
padding:2rem;
border-radius:12px;
box-shadow:var(--shadow);
}

.search-box form{
display:flex;
gap:1rem;
flex-wrap:wrap;
}

.search-box input{
flex:1;
min-width:250px;
padding:1rem;
font-size:1rem;
}

.search-box button{
background:var(--gold);
color:black;
border:none;
padding:1.25rem 2rem;
cursor:pointer;
}

section{
padding:4rem 0;
background-color: powderblue;
}

.section-title{
text-align:center;
margin-bottom:2rem;
color: beige;
background-color: navy;
}

.grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));
gap:1.5rem;
background-color: powderblue;
}

.card{
background:beige;
padding:1.5rem;
border-radius:12px;
box-shadow:var(--shadow);
transition:.2s;
}

.card:hover{
transform:translateY(-4px);
}

.card h3{
margin-top:0;
color:var(--navy);
}

.stats{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(200px,1fr));
gap:1rem;
text-align:center;
}

.stat{
background:beige;
padding:2rem;
border-radius:12px;
box-shadow:var(--shadow);
}

.stat-number{
font-size:2rem;
font-weight:bold;
color:var(--navy);
}

.districts{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(180px,1fr));
background-color: powderblue;
gap:1rem;
}

.district{
background:beige;
text-align:center;
padding:1rem;
border-radius:10px;
box-shadow:var(--shadow);
text-decoration:none;
color:var(--text);
font-weight:600;
}

.contribute{
background:var(--navy);
color:white;
text-align:center;
border-radius:16px;
padding:3rem;
}

footer{
background: var(--navy);
//background:#111827;
color:white;
padding:3rem 0;
}

.footer-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));
gap:2rem;
}

footer a{
color:#d1d5db;
text-decoration:none;
}

.copyright{
text-align:center;
margin-top:2rem;
border-top:1px solid #374151;
padding-top:1rem;
}

@media(max-width:768px){

nav ul{
flex-wrap:wrap;
justify-content:center;
}

.navbar{
flex-direction:column;
margin: 0;


}

.hero{
padding:1.5rem 1rem;
}
}

.dropdown-container {
	position: relative;
	display: inline-block;
	margin: 0;

}

.dropdown-content::before {
	content: "";
	position: absolute;
	top: -15px;
	left: 0;
	right: 0;
	height: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 0;

  background-color: var(--navy);	// #f9f9f9;
  color: var(--white);
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;

}
.dropdown:hover .dropdown-content {
  display: block;
  margin: 0;
}


