/* Basic Reset & Body Styling */
body {
    font-family: sans-serif; /* Use a clean, modern font */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333; /* Dark grey text */
}

.container {
    max-width: 960px; /* Limit content width for readability */
    margin: 0 auto; /* Center the content */
    padding: 0 20px; /* Add some space on the sides */
}

/* Navigation Styling */
.main-nav {
    background-color: #333; /* Dark background for nav */
    padding: 10px 0;
}

.main-nav ul {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
    text-align: center; /* Center the nav links */
}

.main-nav li {
    display: inline-block; /* Display links horizontally */
    margin: 0 15px; /* Space between links */
}

.main-nav a {
    color: #fff; /* White text color */
    text-decoration: none; /* Remove underline */
    font-size: 1em;
    padding: 5px 0; /* Add a little vertical padding */
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #007bff; /* Blue hover color */
}

/* Adjust hero padding slightly since nav adds height */
.hero {
    /* Keep existing background-color, text-align, border */
    padding-top: 40px; /* Reduced top padding slightly */
    padding-bottom: 60px; /* Keep bottom padding */
}

/* Ensure container within nav doesn't have extra side padding */
.main-nav .container {
    padding: 0; /* Remove side padding for full-width nav background */
}

/* Styling for the active navigation link */
.main-nav a.active {
    font-weight: bold;
    color: #007bff; /* Use the blue color, same as hover */
    /* Or you could use a different color like yellow: color: #ffc107; */
}

/* Hero Section Styling */
.hero {
    background-color: #f4f4f4; /* Light grey background */
    padding: 60px 0; /* Vertical padding */
    text-align: center; /* Center align the text */
    border-bottom: 1px solid #ddd; /* Subtle bottom border */
}

.hero h1 {
    font-size: 2.5em; /* Large, prominent headline */
    margin-bottom: 20px;
    color: #1a2b3c; /* Dark blue color for headline */
}

.hero .intro-text {
    font-size: 1.1em;
    max-width: 700px; /* Limit width of intro text for readability */
    margin: 0 auto; /* Center the intro text */
    color: #555; /* Slightly lighter text color */
}

/* Add Responsive adjustments if needed later */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero .intro-text {
        font-size: 1em;
    }
}

/* Call to Action Section Styling */
.cta-section {
    margin-top: 30px; /* Space above the CTA */
}

.cta-section p {
    font-size: 1em;
    margin-bottom: 15px;
    color: #555;
}

.cta-button {
    display: inline-block; /* Allows padding and margins */
    background-color: #007bff; /* Professional blue background */
    color: #ffffff; /* White text */
    padding: 12px 25px; /* Button padding (top/bottom, left/right) */
    text-decoration: none; /* Remove underline */
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px; /* Slightly rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

/* Styling for About Page Headshot */
.headshot-image {
    float: right; /* Aligns the image to the right */
    width: 250px; /* Sets a fixed width */
    height: auto; /* Maintains aspect ratio */
    margin: 0 0 15px 20px; /* Adds space to the bottom and left */
    border-radius: 5px; /* Adds slightly rounded corners */
    border: 3px solid #eee; /* Adds a subtle light grey border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Adds a soft drop shadow */
}

/* Responsive adjustment for mobile */
@media (max-width: 600px) {
    .headshot-image {
        float: none; /* Disables float on small screens */
        display: block; /* Makes it a block element */
        width: 70%; /* Makes it responsive but not full width */
        max-width: 250px; /* Ensures it doesn't get too big */
        margin: 0 auto 20px; /* Centers the image with space below */
    }
}

.cta-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Remote Support Section Styling */
.support-section {
    padding: 40px 0; /* Vertical padding */
    text-align: center;
    background-color: #ffffff; /* White background */
    border-bottom: 1px solid #ddd;
}

.support-section h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

.support-section p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-button {
    display: inline-block;
    background-color: #28a745; /* Green background for action */
    color: #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.support-button:hover {
    background-color: #218838; /* Darker green on hover */
}

/* Services Overview Section Styling */
.services-overview {
    padding: 60px 0; /* Vertical padding */
    background-color: #ffffff; /* White background */
}

.services-overview h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    color: #333;
}

.services-overview .section-intro {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.service-items {
    display: grid; /* Use grid for layout */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 30px; /* Space between grid items */
}

.service-item {
    background-color: #f9f9f9; /* Very light grey background for each item */
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 5px;
    text-align: center; /* Center text within each item */
}

.service-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #007bff; /* Blue heading for services */
}

.service-item p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 0; /* Remove bottom margin if no link follows */
}

/* Optional styling comments removed for brevity, they were fine */

/* Footer Styling */
.site-footer {
    background-color: #333; /* Dark grey background */
    color: #ccc; /* Light grey text */
    padding: 20px 0; /* Vertical padding */
    text-align: center;
    font-size: 0.9em;
    margin-top: 40px; /* Space above the footer */
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #fff; /* White link color */
    text-decoration: none;
}

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

/* General Page Content Styling */
.page-content {
    padding: 40px 0; /* Vertical padding for main content area */
}

.page-content h1 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #1a2b3c; /* Dark blue */
}

.page-content .page-intro {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Detail Section Styling */
.service-detail {
    margin-bottom: 40px; /* Space between service sections */
    padding-bottom: 30px; /* Space below content */
    border-bottom: 1px solid #eee; /* Separator line */
}

.service-detail:last-of-type { /* Remove border from last section */
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


.service-detail h2 {
    font-size: 1.8em;
    color: #007bff; /* Blue heading */
    margin-bottom: 15px;
}

.service-detail p {
    font-size: 1em;
    line-height: 1.7; /* Slightly more line spacing for readability */
    color: #444;
}

/* Page CTA Styling (similar to homepage CTA) */
.page-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee; /* Separator line */
}

.page-cta p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

/* Footer Navigation Styling */
.footer-nav {
    margin-top: 10px; /* Space above the footer links */
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    display: inline-block;
    margin: 0 10px; /* Space between footer links */
}

.footer-nav a {
    color: #ccc; /* Light grey color, matching footer text */
    text-decoration: none;
    font-size: 0.9em;
}

.footer-nav a:hover {
    color: #fff; /* White hover color */
    text-decoration: underline;
}

/* Mini About Section Styling */
.mini-about {
    background-color: #f4f4f4; /* Same light grey as hero */
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.headshot-image-home {
    width: 150px; /* Smaller headshot for the homepage */
    height: 150px; /* Ensure it's square for a perfect circle */
    object-fit: cover; /* Prevents the image from stretching */
    border-radius: 50%; /* Makes the image circular */
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); /* Soft shadow */
    margin-bottom: 15px;
}

.mini-about h2 {
    font-size: 1.8em;
    color: #1a2b3c; /* Dark blue */
    margin-bottom: 10px;
}

.mini-about p {
    font-size: 1.1em;
    color: #555;
    max-width: 600px;
    margin: 0 auto 25px; /* Centers text and adds space below */
}

/* Style for the grey button */
.mini-about .cta-button:hover {
    background-color: #5a6268 !important; /* Darker grey on hover */
}
