:root {
    --bg: #0f1720;
    --card: #0b1220;
    --accent: #10b981;
    --muted: #9aa5b1;
    --glass: rgba(255, 255, 255, 0.04);
    --radius: 16px;
    --max-width: 1100px;
    --gap: 24px;
}

* {
    box-sizing: border-box
}

/* FIX: BASE BODY STYLES (Enables scrolling and adds content padding) */
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: linear-gradient(120deg, #103147, #0f1720);
    color: #e6eef3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 100px;
    padding-bottom: 40px;
    transition: background 0.2s ease-out;
}

/* FIX: Ensure the wrap content is centered horizontally now */
.wrap {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    /* Add some horizontal padding */
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 6%;
    background: transparent;
    z-index: 1000;
}

/* NEW: Logo Styling */
#logo-img {
    width: 130px;
    /* Base size */
    height: auto;
    display: block;
}

.nav-links {
    text-align: right;
}

.nav-links ul {
    margin: 0;
    padding: 0;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #8fa3aa;
    display: block;
    margin: auto;
    transition: 0.5s;

}

.nav-links ul li:hover::after {
    width: 100%;
}



nav .fa {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}



/* --- Grid and Card Styles --- */

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    align-items: start
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 6px 30px rgba(2, 6, 23, 0.7);
}

.contact-info h1 {
    margin: 0 0 6px 0;
    font-size: 28px
}

.contact-info p.lead {
    margin: 0 0 18px 0;
    color: var(--muted)
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.info-item {
    display: flex;
    gap: 14px;
    align-items: center
}

.icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--glass);
    display: grid;
    place-items: center;
    color: var(--accent);
    font-weight: 700
}

.meta {
    line-height: 1
}

.meta b {
    display: block
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 18px
}

.socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--glass);
    color: var(--accent);
    text-decoration: none;
    font-size: 18px;
    transition: background 0.2s
}

.socials a:hover {
    background: rgba(16, 185, 129, 0.15)
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.row {
    display: flex;
    gap: 12px
}

.col {
    flex: 1
}

label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--muted)
}

input[type=text],
input[type=email],
textarea,
select {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: inherit;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: box-shadow 120ms, border-color 120ms;
}

input:focus,
textarea:focus {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.7)
}

textarea {
    min-height: 140px;
    resize: vertical
}

.small {
    font-size: 13px;
    color: var(--muted)
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px
}

button.primary {
    background: linear-gradient(90deg, var(--accent), #06b6d4);
    border: none;
    color: #021018;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600
}

button.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer
}

.note {
    font-size: 13px;
    color: var(--muted)
}

.map {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

iframe {
    width: 100%;
    height: 100%;
    border: 0
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #022;
    color: #bfffe6;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 6px 30px rgba(2, 6, 23, 0.6);
    transform: translateY(20px);
    opacity: 0;
    transition: all 260ms;
}

.toast.show {
    transform: none;
    opacity: 1
}

.map-colo {
    color: #fff;
}

/* --- Mobile Fixes --- */
@media (max-width: 900px) {

    /* Grid switches to single column */
    .grid {
        grid-template-columns: 1fr;
    }

    .map {
        height: 220px
    }
}

@media(max-width: 700px) {

    /* FIX: Reduce Logo size on mobile */
    #logo-img {
        width: 100px;
    }

    /* FIX: Reduce padding on fixed nav bar for smaller screens */
    nav {
        padding: 15px 4%;
    }

    /* Show mobile menu icon */
    nav .fa {
        display: block;
        color: #FFF;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    /* Mobile Nav Panel Setup */
    .nav-links {
        position: fixed;
        /* Ensures panel stays in place when scrolling */
        background: #103147;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        /* Hidden off-screen by default */
        text-align: left;
        transition: 0.5s;
        z-index: 1001;
    }

    .nav-links ul {
        padding: 30px;
    }

    .nav-links ul li {
        display: block;
        margin: 15px 0;
        /* Add vertical spacing to links */
    }

    /* Stack form inputs on small screens */
    .row {
        flex-direction: column;
        gap: 0;
    }

    .row .col:first-child {
        margin-bottom: 12px;
        /* Space between stacked inputs */
    }
}