/* --- Global Resets and Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif; /* Elegant body font */
    line-height: 1.7;
    color: #444; /* Slightly softer than pure black */
    background-color: #fdfdfd; /* Very light grey background */
}

.container {
    max-width: 960px; /* Comfortable reading width */
    margin: 0 auto; /* Center content */
    padding: 0 20px; /* Padding on sides */
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Modern heading font */
    font-weight: 700;
    color: #2c3e50; /* Dark blue-grey for headings */
    margin-bottom: 0.8em;
    line-height: 1.3;
}

h1 {
    font-size: 2.8em;
    color: #1abc9c; /* Teal accent color */
}

h2 {
    font-size: 2em;
    border-bottom: 2px solid #ecf0f1; /* Subtle separator */
    padding-bottom: 10px;
    margin-bottom: 1.2em;
}

h3 {
    font-size: 1.5em;
    color: #34495e; /* Slightly lighter heading color */
    margin-top: 1.5em;
    margin-bottom: 1em;
}

p {
    margin-bottom: 1.2em;
}

a {
    color: #1abc9c; /* Teal accent for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Header --- */
header {
    background-color: #2c3e50; /* Dark blue-grey background */
    color: #ecf0f1; /* Light text color */
    padding: 40px 0 30px 0;
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    margin-bottom: 0.1em;
    color: #1abc9c; /* Teal accent */
}

header h2 {
    font-size: 1.2em;
    font-weight: 400;
    color: #bdc3c7; /* Lighter grey for subtitle */
    border: none; /* Remove border from header h2 */
    margin-bottom: 0;
    padding-bottom: 0;
}

/* --- Main Content Sections --- */
main {
    padding-bottom: 30px; /* Space before footer */
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #ffffff; /* White background for content sections */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    border-radius: 5px; /* Slightly rounded corners */
}

/* --- Pricing Section & Tables --- */
#pricing h2 {
    margin-bottom: 0.8em;
}

#pricing p {
    margin-bottom: 2em;
    color: #555;
}

.pricing-table-container {
    margin-bottom: 30px;
}

/* Wrapper to handle table overflow on small screens */
.table-wrapper {
    overflow-x: auto; /* Enable horizontal scroll if needed */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

table {
    width: 100%;
    border-collapse: collapse; /* Clean table lines */
    margin-top: 10px; /* Space below the H3 */
}

thead {
    background-color: #ecf0f1; /* Light grey header */
    color: #34495e; /* Darker text for header */
}

th, td {
    padding: 15px; /* Comfortable cell padding */
    text-align: left;
    border: 1px solid #e0e0e0; /* Subtle cell borders */
}

th {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Subtle row striping */
}

tbody tr:hover {
    background-color: #f1f1f1; /* Hover effect */
}

td:last-child {
    font-weight: 700; /* Make price stand out */
    text-align: right; /* Align price to the right */
    color: #2c3e50;
    min-width: 100px; /* Prevent price from wrapping too soon */
}

/* --- Contact Section --- */
#contact {
    background-color: #1abc9c; /* Use accent color for contact CTA */
    color: #ffffff;
    text-align: center;
}

#contact h2 {
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

#contact p {
    font-size: 1.1em;
}

#contact .contact-info {
    margin-top: 1.5em;
    font-weight: 700;
}

#contact .contact-info a {
    color: #ffffff;
    text-decoration: underline;
}
#contact .contact-info em {
    display: block;
    font-size: 0.9em;
    font-weight: normal;
    margin-top: 10px;
    opacity: 0.8;
}


/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 25px 0;
    border-top: 1px solid #e0e0e0; /* Separator line */
    font-size: 0.9em;
    color: #777;
}

/* --- Responsive Design --- */

/* Adjustments for smaller tablets and large phones */
@media (max-width: 768px) {
    h1 {
        font-size: 2.4em;
    }

    h2 {
        font-size: 1.8em;
    }

    .container {
        padding: 0 15px;
    }

    header {
        padding: 30px 0 20px 0;
    }
}

/* Adjustments for smaller phones */
@media (max-width: 480px) {
    body {
        line-height: 1.6; /* Slightly tighter line height */
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.3em;
    }

    th, td {
        padding: 12px 10px; /* Reduce padding slightly */
        font-size: 0.95em; /* Slightly smaller font in tables */
    }

    td:last-child {
        min-width: 80px; /* Adjust min-width for price */
    }

    section {
        padding: 15px;
    }

    #contact p {
        font-size: 1em;
    }
}