:root {
    --sky-blue: #68B6D9;
    --spring-green: #B0D989;
    --lavender: #B788E2;
    --soft-yellow: #F3E5AD;
    --warm-pink: #F899A4;
    --text: #444;
}

body {
    font-family: 'Quicksand', sans-serif;
    margin: 0;
    color: var(--text);
    line-height: 1.6;
    background: #fdfdfd;
}

/* Navigation */
nav {
    background: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { height: 60px; }

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--sky-blue); }

/* Layout Containers */
.container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

h1, h2 { color: var(--sky-blue); }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-primary { background: var(--sky-blue); color: white; }
.btn-accent { background: var(--spring-green); color: white; }

/* Forms */
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* NEW NEW NEW NEW */
/* Improved Navigation for Mobile */
nav {
    flex-direction: column; /* Stacks logo above links on mobile */
    padding: 10px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap; /* Allows links to flow to a second line if needed */
    justify-content: center;
    gap: 15px; /* Consistent gap between links */
    margin-top: 15px;
    width: 100%;
}

.nav-links a {
    margin: 0; /* Remove old left margins */
    font-size: 14px;
    padding: 5px 10px;
    background: #f0f9ff; /* Light blue bubble for better touch targets */
    border-radius: 15px;
}

/* Desktop override */
@media (min-width: 768px) {
    nav {
        flex-direction: row;
        padding: 15px 5%;
    }
    .nav-links {
        width: auto;
        margin-top: 0;
        gap: 0;
    }
    .nav-links a {
        background: transparent;
        margin-left: 25px;
        font-size: 16px;
    }
}

/* NEXT NEW */
/* Mobile Form Fix */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack vertically by default */
    gap: 30px;
}

/* Desktop: side-by-side layout */
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Ensure inputs never overflow their container */
input, textarea, select {
    box-sizing: border-box; /* Includes padding in the width calculation */
    max-width: 100%;
}

footer {
    background: #f8f8f8;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
    color: var(--text);
    border-top: 1px solid #ddd;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}