/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 7px;
}

/* Insurance Section */
.insurance-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f8f8;
}

.insurance-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}

.insurance-section p {
    font-size: 1em;
    color: #555;
    margin-bottom: 30px;
}

.insurance-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.insurance-logos img {
    max-width: 100px;
    height: auto;
}

/* Policy Cards */
.policy-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.policy-card {
    width: calc(33.33% - 20px);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.policy-card:hover {
    transform: translateY(-5px);
}

.policy-card h3 {
    font-size: 1.5em;
    color: #333;
    margin: 10px 0;
}

.policy-card p {
    color: #666;
    font-size: 1em;
    margin: 10px 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.modal-content h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.modal-content button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.modal-content button:hover {
    background-color: #0056b3;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    color: #555;
    cursor: pointer;
}

/* Contact Form */
.contact-form {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

.contact-form h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form label {
    font-size: 1em;
    color: #333;
    margin: 10px 0 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .policy-card {
        width: calc(50% - 20px);
    }

    #banner h1 {
        font-size: 2em;
    }

    #banner p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    nav a {
        margin: 0 10px;
        font-size: 0.9em;
    }

    #banner {
        padding: 30px 10px;
    }

    #banner h1 {
        font-size: 1.8em;
    }

    #banner p {
        font-size: 0.9em;
    }

    .policy-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-form h2 {
        font-size: 1.5em;
    }

    .contact-form form {
        padding: 0 15px;
    }
}