/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --forest: #1b4332;
    --emerald: #2d6a4f;
    --mint: #d8f3dc;    
    --sage: #95d5b2;
    --white: #ffffff;
    --off-white: #eaf7f0;
    --dark: #081c15;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--off-white);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; }

/* =========================================
   2. NAVBAR (Used on all pages)
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInOnly 1.5s ease;
}

.logo { font-size: 1.4rem; font-weight: 800; color: var(--forest); }

.logo a { 
    text-decoration: none; 
    color: var(--forest); 
    display: flex; 
    align-items: center;
    transition: transform 0.3s ease;  
}

.logo:hover a{
    transform: scale(1.1); 
}



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

.web-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
}


.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 2.5rem;
}

/* Applies a smooth color transition to all standard links in the navbar */
.nav-links a { 
    text-decoration: none; 
    color: var(--forest); 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--emerald); /* Keeps it visible and on-brand */
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 2px solid #eee;
    padding-left: 1.5rem;
}

@media (max-width: 700px) {
    .navbar { padding: 1rem 5%; gap: 1rem; flex-wrap: wrap; }
    .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
    .nav-auth { gap: .75rem; padding-left: .75rem; }
    .logo { font-size: 1.1rem; }
    .web-logo { width: 32px; height: 32px; margin-right: 6px; }
}

/* =========================================
   3. GLOBAL BUTTONS
   ========================================= */
.btn-nav {
    background: var(--forest);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-nav:hover { 
    background: var(--emerald);
    transform: translateY(-2px);
}

.btn-solid {
    background: var(--forest);
    color: white;
    border: none;
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat';
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; 
}

.btn-solid:hover {
    background: var(--emerald);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2); /* Adds a soft shadow drop */
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--forest);
    color: var(--forest);
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat';
    transition: all 0.3s ease;
    text-decoration: none; 
}

.btn-outline:hover {
    background: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}


@keyframes fadeInOnly {
    from { opacity: 0; }
    to { opacity: 1; }
}