/* ========================
           VARIABLES & RESET
           ======================== */
        :root {
            --color-background: #fff;
            --color-text: #2c3e50;
            --color-primary: #e74c3c; /* Red */
            --color-secondary: #3498db; /* Blue */
            --color-highlight-bg: #f2f5f7;
            --font-family-sans-serif: "Nunito", system-ui, -apple-system, sans-serif;
            --navbar-height: 80px;
            --navbar-padding: 1.5rem;
            --container-width: 1140px;
        }

        @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;700;800&family=Anonymous+Pro&display=swap');

        *, *::before, *::after { box-sizing: border-box; }

        body {
            margin: 0; 
            font-family: var(--font-family-sans-serif);
            color: var(--color-text); 
            background-color: var(--color-background);
            
            /* Background Pattern */
            background-image: 
                conic-gradient(from 90deg at 1px 1px, transparent 25%, gainsboro 0%),
                linear-gradient(45deg, transparent calc(50% - 0.5px), gainsboro 0 calc(50% + 0.5px), transparent 0),
                linear-gradient(-45deg, transparent calc(50% - 0.5px), gainsboro 0 calc(50% + 0.5px), transparent 0);
            background-position: -0.5px -0.5px, 0 0, 0 0;
            background-size: 1em 1em, 2em 2em, 2em 2em;
            
            /* Center vertical content for contact page */
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        ul { list-style: none; margin: 0; padding: 0; }
        a { text-decoration: none; color: inherit; }

        /* ========================
           NAVBAR STYLES
           ======================== */
        .navbar {
            height: var(--navbar-height); 
            display: flex; align-items: center;
            background-color: var(--color-background);
            border-bottom: 2px solid var(--color-highlight-bg);
            position: sticky; top: 0; z-index: 1000;
            width: 100%; /* Ensure full width */
        }

        .navbar__container {
            display: flex; justify-content: space-between; align-items: center;
            width: 100%; max-width: var(--container-width);
            margin: 0 auto; padding: 0 var(--navbar-padding);
        }

        .navbar__brand { font-size: 1.75rem; font-weight: 700; color: var(--color-primary); }

        .navbar__toggle { display: block; border: none; background: transparent; cursor: pointer; z-index: 1001; }
        .navbar__toggle .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--color-text); transition: 0.3s; }

        .navbar__menu { display: none; flex-direction: column; width: 100%; position: absolute; top: var(--navbar-height); left: 0; background: #fff; border-bottom: 2px solid #eee; }
        .navbar__menu.is-active { display: flex; }
        .navbar__item { text-align: center; }
        .navbar__link { display: block; padding: 1.5rem; font-weight: 700; }

        @media (min-width: 768px) {
            .navbar__toggle { display: none; }
            .navbar__menu { display: flex; flex-direction: row; position: static; width: auto; background: none; border: none; }
            .navbar__list { display: flex; align-items: center; gap: 0.5rem; }
            .navbar__link { padding: 0.5rem 1rem; position: relative; }

            .navbar__link:not(.navbar__link--cta)::after {
                content: ''; position: absolute; bottom: 0; left: 50%; width: 0;
                height: 3px; background-color: var(--color-secondary);
                transition: 0.3s ease; transform: translateX(-50%);
            }
            .navbar__link:not(.navbar__link--cta):hover::after { width: 100%; }

            /* CTA Button Styles (Recycled) */
            .navbar__item--cta { margin-left: 1rem; }
            .navbar__link--cta {
                padding: 0.75rem 1.5rem; border-radius: 50px; border: 2px solid var(--color-secondary);
                position: relative; overflow: hidden; z-index: 1; font-weight: 800; color: transparent;
                -webkit-text-stroke: 1px var(--color-secondary); transition: all 0.3s ease;
            }
            .navbar__link--cta::before {
                content: ""; width: 100%; height: 0%; position: absolute; left: 0; top: 0; 
                background-color: var(--color-secondary); z-index: -1; transition: all 0.4s cubic-bezier(0.64, 0.01, 0.07, 1.65);
            }
            .navbar__link--cta:hover { color: white; -webkit-text-stroke: 0px; border-color: var(--color-secondary); }
            .navbar__link--cta:hover::before { height: 100%; }
        }

        /* ========================
           CONTACT PAGE SPECIFIC
           ======================== */
        .main-content {
            flex: 1; /* Pushes content to fill space */
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }

        .contact-card {
            background: white;
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            text-align: center;
            max-width: 500px;
            width: 100%;
            border: 1px solid rgba(0,0,0,0.05);
            position: relative;
            overflow: hidden;
        }

        /* Decorative top bar for the card */
        .contact-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 6px;
            background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
        }

        .contact-avatar {
            width: 100px;
            height: 100px;
            background-color: var(--color-highlight-bg);
            border-radius: 50%;
            margin: 0 auto 1.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2.5rem;
            color: var(--color-secondary);
        }

        .contact-title {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            color: var(--color-text);
        }

        .contact-subtitle {
            color: #7f8c8d;
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }

        .info-group {
            margin-bottom: 1.5rem;
            text-align: left;
            padding: 1rem;
            background-color: var(--color-highlight-bg);
            border-radius: 10px;
            transition: transform 0.2s ease;
        }
        
        .info-group:hover {
            transform: translateX(5px);
            background-color: #ecf0f1;
        }

        .info-label {
            font-size: 0.85rem;
            color: #95a5a6;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 700;
            display: block;
            margin-bottom: 0.25rem;
        }

        .info-value {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--color-text);
        }

        /* The Email Me Button */
        .btn-email-me {
            display: inline-block;
            width: 100%;
            margin-top: 1rem;
            padding: 1rem 2rem;
            background-color: var(--color-secondary);
            color: white;
            font-weight: 800;
            font-size: 1.1rem;
            border-radius: 50px;
            box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn-email-me:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 25px rgba(52, 152, 219, 0.4);
            background-color: #2980b9;
        }

        .btn-email-me:active {
            transform: translateY(-1px);
        }

        /* Mobile Adjustments */
        @media (max-width: 600px) {
            .contact-card { padding: 2rem 1.5rem; }
            .contact-title { font-size: 1.75rem; }
        }
