/* Basic reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f7f8fa;
    color: #0f3252;
    line-height: 1.6;
}

/* Header styling */
header {
    background-color: white;
    color: #004080;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .logo img {
    max-width: 150px;
    transition: transform 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    gap: 15px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #004080;
    font-weight: bold;
}

/* Form Styling */
.cost-basis-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cost-basis-form input {
    width: calc(100% - 10px);
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #003060;
}

/* Table Styling */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

table th {
    background-color: #004080;
    color: white;
}

/* Editable Cells */
td[contenteditable="true"] {
    background-color: #eaf4fc;
    border: 1px solid #007bff;
}

td[contenteditable="true"]:focus {
    outline: 2px solid #0056b3;
}

/* Footer styling */
footer {
    background: white;
    color: #004080;
    padding: 50px 0;
    text-align: center;
    font-size: 0.95rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-links a {
    color: #004080;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.address {
    margin-top: 30px;
}

.note {
    color: #666;
    font-size: 0.9rem;
}

@media only screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    main {
        padding: 30px;
    }

.service-block h2,
.service-block h3 {
        font-size: 1.5rem;
    }

    .service-block ul li {
        font-size: 1rem;
    }

    footer {
        font-size: 0.85rem;
    }
}