body {
    margin: 0;
    padding: 3px;
    font-family: Arial, sans-serif;
    <!-- background-color: #f2ffe6; -->
    color: #333;
    max-width: 100%;
    overflow-x: hidden;
}

.a {
    background: grey;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.full-width {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.hero {
    width: 100%;
    height: 60vh;
    background-image: url("https://billsblueprints.com/images/mich1.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
}

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0057b8;
    color: white;
    text-decoration: none;
    margin-top: 10px;
}
/* hamb styles */
.menu-icon {
    cursor: pointer;
    display: inline-block;
    padding: 10px; /* makes larger clickable area */
}

.bar {
    width: 35px;
    height: 5px;
    background-color: #808080;
    margin: 6px 0;
    transition: 0.4s;
}


/* NAV BAR CONTAINER old color #111 */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #b3b3b3;
    z-index: 1000;
}

/* CENTER CONTENT AND ALIGN HORIZONTALLY */
.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo img {
    height: 50px;
    width: auto;
    display: block;
    padding: 20;
}

/* NAV LINKS */
.nav-links {
    display: none;
    list-style: none;
    display: flex;          /* KEY LINE */
    gap: 5px;              /* spacing between items */
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;  /* keeps items horizontal */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Navigation (mobile: stacked) */
/*  nav {
    display: flex;
    flex-direction: column;
    background-color: #0056b3;
} */

nav a {
    color: black;
    padding: 0.75rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

nav a:hover {
    background-color: #003d80;
}

/* Cards/Grid layout for content */
.cards {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    padding-left: 5px;
    gap: 1rem;
}

.card {
    background: #fff;  /* was white */
    padding-left: 5px;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden; /* added 2/2 */
    max-width: 320px; /* added 2/2 */
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    margin: 0 0 10px;
}

.card-content p {
    color: #555;
    font-size: 14px;
}

.content {
    padding: 20px;
    height: 2000px;
    background: linear-gradient(white, lightgray);
}


/* Tablet and larger screens */
@media (min-width: 600px) {
    nav {
        flex-direction: row;
        justify-content: center;
    }
    nav a {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
    nav a:last-child {
        border-right: none;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
    }
}


/* Desktop and larger */
@media (min-width: 900px) {
    .cards {
        grid-template-columns: repeat(3, 1fr); /* Three columns */
    }
}

/* side menu start */
/* hamb button */
.menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    cursor: pointer;
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    height: 4px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

/* hidden checkbox for control */
#menu-checkbox {
    display: none;
}

/* menu styles */
.side-menu {
    position: fixed;
    top: 0;
    left: -250px; /* hidden */
    width: 250px;
    height: 50%;
    background: #b3b3b3;
    color: white;
    padding-top: 60px;
    transition: left 0.3s ease;
    border-radius: 12px;
    z-index: 1000;
}

.side-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.side-menu a:hover {
    background: #444;
}
#menu-checkbox:checked ~ .side-menu {
    left: 0;
}

#menu-checkbox:checked + .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-checkbox:checked + .menu-toggle span:nth-child(2) {
    opacity: 0;
}
#menu-checkbox:checked + .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* end of side menu */
/* Footer */
footer {
    background-color: #e6ffe6;
    color: black;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
}

.title1 {
    text-align: center;
}

