:root {
    --background: #0d1117;
    --text: #c9d1d9;
    --text-muted: #8b949e;
    --accent: #007a33; /* Algonquin Green */
    --accent-2: #00b368; /* Lighter Algonquin Green */
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(13, 17, 23, 0.6);
    --header-height: 70px;
}

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

html,
body {
    background-image: url('../assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* --- Landmarks & Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header & Navigation --- */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: 26px;
}


.primary-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.primary-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    line-height: 1.5;
}

.primary-nav a:not(.button-style) {
    padding: 0.5rem 0.75rem;
    margin: -0.5rem 0;
}

.primary-nav a:not(.button-style)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.primary-nav a:not(.button-style):hover {
    color: white;
    transform: translateY(-2px);
}

.primary-nav a.active:not(.button-style)::after,
.primary-nav a:not(.button-style):hover::after {
    transform: scaleX(1);
}

.primary-nav a.button-style {
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    transition: all 0.2s ease;
}

.primary-nav a.button-style:hover {
    background-color: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.75rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.hero-logo {
    width: 160px;
    height: auto;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero .subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--text-muted);
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-2);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* --- Choice Cards Section --- */
.choices {
    padding: 2rem 0;
    padding-top: 0;
}

.choices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.choice-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Cool hover effect */
.choice-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Add a subtle light sweep animation */
.choice-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.choice-card:hover::after {
    left: 125%;
}

.choice-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.2s;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.social-links a:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* --- Responsive Design --- */
@media (max-width: 820px) {
    .menu-toggle {
        display: block;
    }
    .menu-toggle {
        position: relative;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }

    .menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

    .menu-toggle span:nth-child(1) {
        top: 0px;
    }

    .menu-toggle span:nth-child(2),
    .menu-toggle span:nth-child(3) {
        top: 10px;
    }

    .menu-toggle span:nth-child(4) {
        top: 20px;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        top: 10px;
        width: 0%;
        left: 50%;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(4) {
        top: 10px;
        width: 0%;
        left: 50%;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        align-items: flex-end;
        padding: 1.5rem 1.5rem 2rem 0;
        transition: right 0.3s ease-in-out;
        display: flex;
        z-index: 999;
    }

    .primary-nav::before {
        content: '';
        position: absolute;
        top: 0; right: 0; bottom: 0; left: 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: -1; /* Behind the links */
    }

    /* Fallback for browsers that don't support backdrop-filter */
    @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
      .primary-nav {
        background: rgba(13, 17, 23, 0.95);
      }
    }
    
    /* Prevent horizontal scroll from the off-screen menu */
    body {
        overflow-x: hidden;
    }

    .primary-nav.show {
        right: 0;
    }

    .primary-nav a {
        width: auto;
        text-align: right;
        padding: 0.75rem 1.5rem;
        margin: 0.25rem 0;
        transition: all 0.2s ease;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: white;
        text-decoration: none;
        position: relative;
        border-radius: 4px;
        z-index: 2; /* In front of the background */
    }
    
    .primary-nav a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    .choices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .choices-grid {
        grid-template-columns: 1fr;
    }
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.4s ease;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 8px;
}

.social-links a:hover {
    background-color: rgba(200, 200, 200, 0.2);
    border-color: rgba(200, 200, 200, 0.6);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);  
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.4s ease; /* icon animation */
}

.social-links a:hover img {
    transform: scale(1.1); /* smooth zoom only */
}

