:root {
    --primary-dark: #222;
    --accent-color: #4a7a9c; /* A more muted, professional blue */
    --light-background: #fff;
    --text-color: #333;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545; /* Red for errors */
    --info-color: #17a2b8;  /* Blue-ish for info */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: var(--light-background);
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: auto;
    overflow: hidden;
}

section {
    animation: fadeIn 0.75s ease-out;
    padding: 60px 0;
}

/* Header Styles */
header {
    background: var(--primary-dark);
    color: #fff;
    padding: 20px 0;
    border-bottom: 3px solid var(--accent-color);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

header .logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
    color: #fff;
}

/* Main Content Styles */
main {
    padding-top: 0; /* Remove top padding as it's now on sections */
    padding-bottom: 0;
}

h2 {
    color: var(--primary-dark);
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px;
    font-size: 2.2em;
    font-weight: 600;
}

/* About Section */
#about {
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    color: #555;
}

/* Services Section */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service {
    background: var(--light-background);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center; /* Center align service content */
}

.service:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 1.4em;
    font-weight: 600;
}

.service p {
    font-size: 1em;
    margin: 0;
    color: #666;
}

/* CTA Button */
.cta-container {
    text-align: center;
    margin-top: 50px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #3a6a8c; /* Darker shade of accent color */
    transform: translateY(-2px);
}

/* Location Section */
#location {
    background: #f9f9f9;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

#location h2 {
    margin-bottom: 20px;
}

#location p {
    font-size: 1.2em;
    color: var(--primary-dark);
    margin: 0;
}

/* Contact Page Styles */
.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #555;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group label i {
    margin-right: 8px;
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box; /* Important for padding and width */
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.success-message {
    text-align: center;
    color: var(--success-color);
    background-color: #e9f7ef;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--success-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Message Reader Styles */
#message-reader {
    text-align: center;
}

.message-list {
    margin-top: 40px;
}

.message-item {
    background: var(--light-background);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.message-item p {
    margin: 5px 0;
    color: var(--text-color);
}

.message-item strong {
    color: var(--primary-dark);
}

.error-message {
    text-align: center;
    color: var(--error-color);
    background-color: #f8d7da;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--error-color);
    max-width: 700px;
    margin: 20px auto;
}

.info-message {
    text-align: center;
    color: var(--info-color);
    background-color: #d1ecf1;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--info-color);
    max-width: 700px;
    margin: 20px auto;
}

/* Footer Styles */
footer {
    background: var(--primary-dark);
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
    font-size: 0.9em;
}