:root{
--green:#1f4f3a;
--dark:#0f2a1f;
--gold:#e9a735;
--bg:#f7f6f3;
}

/* RESET */
*, *::before, *::after {
box-sizing:border-box;
margin:0;
padding:0;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Inter',sans-serif;
background:var(--bg);
color:#1b1b1b;
line-height:1.6;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* NAVBAR */

header{
background:white;
padding:18px 0;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
position:sticky;
top:0;
z-index:10;
}

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

.logo{
font-weight:700;
font-size:22px;
}

.logo span{
color:var(--gold);
}

nav a{
margin-left:20px;
text-decoration:none;
color:#333;
font-weight:500;
}

.btn-primary{
background:var(--gold);
border:none;
padding:14px 24px;
border-radius:8px;
color:white;
font-weight:600;
cursor:pointer;
transition:all 0.2s ease;
}

.btn-primary:hover{
transform:translateY(-2px);
box-shadow:0 6px 20px rgba(0,0,0,0.15);
}

.btn-primary:active{
transform:scale(0.98);
}

/* HERO */

.hero{
height:90vh;
display:flex;
align-items:center;
justify-content:center;

background:
linear-gradient(rgba(15,42,31,0.75),
rgba(15,42,31,0.75)),
url("/images/market.jpg");

background-size:cover;
background-position:center;
text-align:center;
color:white;
padding:20px;
}

.hero h1{
font-size:clamp(32px,5vw,60px);
line-height:1.1;
max-width:800px;
margin:auto;
}

.hero span{
color:var(--gold);
}

.hero p{
margin-top:20px;
font-size:18px;
max-width:600px;
margin-left:auto;
margin-right:auto;
}

.hero-buttons{
margin-top:30px;
}

.hero-buttons button{
margin:10px;
}

/* METRICS */

.metrics{
background:white;
padding:70px 0;
text-align:center;
}

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

.metric h3{
font-size:36px;
color:var(--green);
margin:0;
}

/* SECTIONS */

.section{
padding:100px 20px;
text-align:center;
}

.section h2{
font-size:38px;
margin-bottom:20px;
}

.section span{
color:var(--gold);
}

.section p{
max-width:700px;
margin:1.5rem auto;
}

/* CARDS */

.cards{
margin-top:50px;
}

.card{
background:white;
padding:30px;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:all 0.25s ease;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

/* GREEN SECTION */

.green{
background:var(--green);
color:white;
}

.green .card{
background:#2b6b4c;
color:white;
}

/* CTA */

.cta{
background:var(--dark);
color:white;
text-align:center;
padding:90px 20px;
}

.cta span{
color:var(--gold);
}

.cta p,h2{
margin-bottom: 1.5rem;
}

/* REGISTRATION FORM */

#registerForm{
display:flex;
flex-direction:column;
gap:14px;
max-width:400px;
margin:30px auto;
}

#registerForm input{
padding:14px;
border:1px solid #ddd;
border-radius:8px;
font-size:15px;
transition:all 0.2s ease;
}

#registerForm input:focus{
outline:none;
border-color:var(--gold);
box-shadow:0 0 0 2px rgba(233,167,53,0.2);
}

#responseMessage{
font-size:14px;
margin-top:10px;
min-height:20px;
}

/* FOOTER */

footer{
background:#08150f;
color:white;
text-align:center;
padding:40px;
}

footer span{
color:var(--gold);
}

/* MOBILE */

/* MENU TOGGLE */
.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
}

/* MOBILE */
@media (max-width:768px){

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

/* show hamburger */
.menu-toggle{
display:block;
}

/* hide menu initially */
#mainNav{
position:absolute;
top:70px;
left:0;
width:100%;
background:white;

display:flex;
flex-direction:column;
align-items:center;
gap:20px;

padding:0; /* 🔥 IMPORTANT */
box-shadow:0 10px 30px rgba(0,0,0,0.1);

/* hidden state */
opacity:0;
visibility:hidden;
transform:translateY(-10px);
transition:all 0.3s ease;
}

/* show menu */
#mainNav.active{
padding:20px 0; /* restore padding */
opacity:1;
visibility:visible;
transform:translateY(0);
}

/* fix spacing */
#mainNav a{
margin:0;
}

/* button full width */
#mainNav .btn-primary{
width:90%;
}

}



/* LOCATION SELECT */

#registerForm select{
    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
    font-family:'Inter', sans-serif;
    background:white;
    cursor:pointer;
    transition:all 0.2s ease;

    /* remove default browser styling */
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    /* custom dropdown arrow */
    background-image:url("data:image/svg+xml;utf8,<svg fill='%23999' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5H5z'/></svg>");
    background-repeat:no-repeat;
    background-position:right 12px center;
    background-size:16px;

    padding-right:40px;
}

#registerForm select:focus{
    outline:none;
    border-color:var(--gold);
    box-shadow:0 0 0 2px rgba(233,167,53,0.2);
}

/* Placeholder style */
#registerForm select:invalid{
    color:#888;
}




