* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    background-color: #0077cc;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0 0.5rem;
}

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

button {
    background-color: #007BFF;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition-duration: 0.4s;
}

button:hover {
    background-color: #0056B3;
    color: white;
}

.search-section {
    background-color: #f1f1f1;
    padding: 2rem;
}

.search-section h2 {
    margin-bottom: 1rem;
}

#search-input {
    display: block;
    width: 100%;
    padding: 0.5rem;
    font-size: 18px;
}

#autocomplete-container {
    position: absolute;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1;
}

.autocomplete-item {
    padding: 0.5rem;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: #e9e9e9;
}

#search-results {
    padding: 2rem;
}

.hidden {
    display: none;
}

#results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.result-card {
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 4px;
}

.result-card h3 {
    margin-bottom: 0.5rem;
}

#ads-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.ad {
    width: 300px;
    height: 250px;
    background-color: #ccc;
    text-align: center;
    padding-top: 1rem;
    font-size: 18px;
}

footer {
    background-color: #0077cc;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Additional CSS to make the page responsive */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f2f2f2;
}

.faq-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}
       .faq-container {
            padding: 20px;
            font-family: Arial, sans-serif;
        }

        .faq-container h1 {
            text-align: center;
            color: #333;
            margin-bottom: 40px;
        }

        .faq-container dt {
            font-size: 1.2em;
            font-weight: bold;
            margin-top: 20px;
            color: #444;
        }

        .faq-container dd {
            margin-left: 20px;
            margin-bottom: 10px;
            line-height: 1.6;
            color: #666;
        }

.main-content {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.form-frame {
    width: 100%;
    max-width: 540px;
    height: 480px;
    border: none;
    margin: 0;
}

.menu {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
}
