:root {
    --primary-color: #0d3b66; /* A deep, trustworthy blue */
    --secondary-color: #fafafa; /* A very light grey for backgrounds */
    --accent-color: #2a7a8c;  /* A slightly brighter blue for accents */
    --text-color: #333333;
    --text-light: #f4f4f4;
    --border-radius: 8px;
    --container-width: 1100px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* A modern CSS reset to ensure consistency across browsers */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    background-color: var(--secondary-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.main-header {
    background-color: #fff;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Style for the active page link */
.main-nav a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* General Section Styling */
section {
    padding: 60px 0;
}

.page-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 60px 20px;
}

.page-title {
    font-size: 2.8rem;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

/* About Page Specifics */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: var(--shadow);
    border: 5px solid #fff;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#philosophy {
    background-color: #fff;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.principle {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.principle h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Services Page Specifics */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-block {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.service-block h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-block ul {
    list-style-position: inside;
    padding-left: 10px;
}

.service-block li {
    margin-bottom: 0.5rem;
}

.service-block strong {
    color: var(--accent-color);
}

/* Contact Page Specifics */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-details {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}
.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.contact-details a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.map-container img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Footer (shared styles from original file) */
.main-footer {
    background: #333;
    color: var(--text-light);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-content a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 20px;
    opacity: 0.7;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 250px 1fr;
        text-align: left;
    }
    .about-image {
        margin: 0;
    }
    .principles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-content {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}

