/* =========================
   GLOBAL STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* =========================
   HEADER
========================= */

header {
    background-color: #222;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 32px;
}

/* =========================
   MAIN CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

/* =========================
   TOOLBAR
========================= */

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

/* =========================
   DROPDOWNS
========================= */

select {
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    min-width: 250px;
}

select:focus {
    outline: none;
    border-color: #0066cc;
}

/* =========================
   BUSINESS GRID
========================= */

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* =========================
   BUSINESS CARD
========================= */

.business-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.business-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.business-card h3 {
    margin-bottom: 10px;
    color: #222;
    font-size: 22px;
}

.business-card p {
    margin-bottom: 8px;
    color: #555;
}

.business-card a {
    display: inline-block;
    margin-top: 10px;
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.business-card a:hover {
    text-decoration: underline;
}

/* =========================
   BUTTONS
========================= */

button,
.btn {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

button:hover,
.btn:hover {
    background-color: #004999;
}

/* =========================
   FORMS
========================= */

form {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

form input,
form textarea,
form select {
    width: 100%;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

/* =========================
   THANK YOU MESSAGE
========================= */

.thank-you-message {
    text-align: center;
    padding: 50px;
    font-size: 28px;
    color: #28a745;
    font-weight: bold;
}

/* =========================
   FOOTER
========================= */

footer {
    margin-top: 40px;
    padding: 20px;
    background-color: #222;
    color: white;
    text-align: center;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    select {
        width: 100%;
    }

    header h1 {
        font-size: 26px;
    }

    .business-card {
        padding: 16px;
    }
}